Comments (21)
Same thing happens when attempting to upload to the JewelBot (the actual device, not dev board)
from arduino-library.
After reading more at https://github.com/NordicSemiconductor/pc-nrfutil, I believe this is a duplicate of #1, so I'm closing
from arduino-library.
Are you putting the device in upload mode? (we need a better way to phrase that)
You need to hold down the bottom button for two seconds and it will flash purple to indicate it is ready to upload code.
from arduino-library.
Also, this is a different issue, so I reopened.
from arduino-library.
You need to hold down the bottom button for two seconds and it will flash purple to indicate it is ready to upload code.
Ok, I was definitely not doing that, so let me give it a try
from arduino-library.
bottom button
The one labelled "Action Button"?
Edit: Yes
from arduino-library.
Ok, now I get this:
Upgrading target on /dev/cu.usbserial-DB00W8D4 with DFU package /private/var/folders/xz/k2lxgs3s43180_tjwn1v_kwc0000gn/T/arduino_build_939294/jewelbots_blink.ino.zip. Flow control is disabled.
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 19572
Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing.
Failed to execute script main
Sending DFU init packet
Sending firmware file
DFU upgrade took 17.2695930004s
Device programmed.
Failed to execute script main
from arduino-library.
You're good! That means it went through.
"failed to execute script main" is a bug listed here. #1
Very confusing for coding, I'd like to tackle that one ASAP.
from arduino-library.
@SaraJo that's good news, but the example sketch doesn't seem to work.
from arduino-library.
Okay, can you paste the sketch here?
Sara J Chipps
862.201.3065
http://SaraJChipps.com http://sarajchipps.com/
No trees were killed in sending this message but a large number of
electrons were terribly inconvenienced.
Pre-order your Jewelbots http://jewelbots.com/
On Wed, Nov 23, 2016 at 1:30 PM, Rick Waldron [email protected]
wrote:
@SaraJo https://github.com/SaraJo that's good news, but the example
sketch doesn't seem to work.β
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGuFXZA9bO_JgmNeOBLQ-O6gWUUzI7Qks5rBIY6gaJpZM4K5jBo
.
from arduino-library.
#include <Arduino.h>
LED led;
void setup() {
// Put your setup code here, to run once.
}
void loop() {
// Put your main code here, to run repeatedly:
led.on(1, "blue", 650000);
}
I see the rainbow display and then the D202 LED settles on green.
from arduino-library.
What happens when you unplug it? Same? or, is this on the dev board.
@sm_davison just updated the firmware to not go through the loop until
unplugged, if you have the most recent and the dev board doesn't have the
battery attached that may be hard to test.
These are all things I am adding to the README as we encounter them. Thanks
for being the first eyes.
Sara J Chipps
862.201.3065
http://SaraJChipps.com http://sarajchipps.com/
No trees were killed in sending this message but a large number of
electrons were terribly inconvenienced.
Pre-order your Jewelbots http://jewelbots.com/
On Wed, Nov 23, 2016 at 3:44 PM, Rick Waldron [email protected]
wrote:
#include <Arduino.h>
LED led;
void setup() {
// Put your setup code here, to run once.
}
void loop() {
// Put your main code here, to run repeatedly:
led.on(1, "blue", 650000);
}I see the rainbow display and then the D202 LED settles on green.
β
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGuFY-m9hG1v9_zTnS46eV4iqoVM7zLks5rBKW2gaJpZM4K5jBo
.
from arduino-library.
ππΌ Hey Sara (& everyone else),
I noticed this thread dropped off. I'm having the issue in issue #1 with the Failed to execute script main
while running the 'hello world' program (code same as pasted above in the thread).
The exception here is that I am booting the Jewelbot into coding mode before uploading. So in between those failure messages, the code seems to compile successfully. However, the light doesn't turn blue.
What might I be missing? I saw a link to the Python library pc-nrfutil, but it wasn't clear how we should make use of that, if at all.
from arduino-library.
Hi @mbrewer, have you unplugged your Jewelbot after coding?
the "Failed to execute script main" is a warning and shouldn't stop the device from accepting your sketch.
from arduino-library.
@SaraJo oopsβyes, I have! I've been 1) connecting it via USB, 2) booting into coding mode, 3) uploading the code, and 4) unplugging it from USB. And yet, no blue light!
from arduino-library.
That's a puzzler. Do you mind updating the firmware to see if that is the issue? Or, have you done that already?
from arduino-library.
I don't mind at all! However, I will have to pick this thread back up once I get home -- on my work machine right now w/o my Jewelbot.
from arduino-library.
Okay, thank you! Much appreciated.
from arduino-library.
So as far as having the firmware 'updated', I'm currently using what the docs recommended.
Is there something else I can update it to?
from arduino-library.
Still having an issue with this. I uploaded the above-listed version of the firmware to the Jewelbot (had a blank sketch open + hit 'upload' button). I got a success rainbow.
Booted into coding mode and uploaded the 'hello world' program. Still no blue LED.
from arduino-library.
@mbrewer These are (roughly) the steps I performed:
- Turn on the JB, it does a little rainbow dance and buzz to let me know it's alive.
- Connect up all the USB cables, start the Arduino IDE, place the JB into coding mode by holding The One Button down for two seconds. It should then do a "purple fade" when you let off the button.
- Create an empty sketch and stick the
LED led; led.on(1, "blue", 2000);
code in theloop()
function, exactly like the documentation says. - Upload the sketch, the Arduino IDE shouldn't barf any errors.
- Unplug the cable from the JB and the led should light up immediately.
I don't know why, but it took me a couple of tries to get this to work. I ended up adding code for ALL of the LEDs (0-3) while debugging and it seemed fine. Best of luck!
from arduino-library.
Related Issues (18)
- Compile Issue with Error Message HOT 7
- Delay code does not appear to be working HOT 10
- setup() function is not invoked HOT 2
- Error updating firmware on Ubuntu HOT 3
- Feature Request: Finer control of buzzer duration HOT 4
- Repo size discussion (Presently 797.52 MB) HOT 6
- Example from the main readme fails to compile HOT 2
- LED function parameters are misleadingly named HOT 1
- Feature Request: provide a millis function HOT 2
- error where JB locks up HOT 6
- Pull get_rand_int over to this board as well HOT 1
- Bring the new colors over to the breathing animation
- Add Bouncing Ball to Solo Board HOT 1
- Developer Guidance? HOT 4
- package_jwb_staging_index.json is a 404 HOT 1
- BLE services / characteristics HOT 9
- Board package URL in README.md is a 404 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-library.