-
Notifications
You must be signed in to change notification settings - Fork 19
Consistent error seen when attempting to upload to JDB #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same thing happens when attempting to upload to the JewelBot (the actual device, not dev board) |
After reading more at https://github.com/NordicSemiconductor/pc-nrfutil, I believe this is a duplicate of #1, so I'm closing |
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. |
Also, this is a different issue, so I reopened. |
Ok, I was definitely not doing that, so let me give it a try |
The one labelled "Action Button"? Edit: Yes |
Ok, now I get this:
|
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. |
@SaraJo that's good news, but the example sketch doesn't seem to work. |
Okay, can you paste the sketch here? Sara J Chipps 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]
|
#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. |
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 These are all things I am adding to the README as we encounter them. Thanks Sara J Chipps 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]
|
👋🏼 Hey Sara (& everyone else), I noticed this thread dropped off. I'm having the issue in issue #1 with the 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. |
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. |
@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! |
That's a puzzler. Do you mind updating the firmware to see if that is the issue? Or, have you done that already? |
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. |
Okay, thank you! Much appreciated. |
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. |
@mbrewer These are (roughly) the steps I performed:
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! |
I'm filing this separately because I'm not sure if it's a dupe of #1. If it is, then just close this.
I tried this:
No luck!
The text was updated successfully, but these errors were encountered: