-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Sketch upload fails on Nano 33 BLE Sense rev2 #59
Comments
Try double click again on NANO. Now try to upload a simple sketch like the example blink... |
The Nano only provides a serial port in recovery mode (double click, breathing LED), no other devices providing any ports are on the whole system. |
After you programmed the bootloader, did you do as I mentioned, to double click on the NANO Note: this is what the Readme file says:
Note: that last part, is somewhat true. If your sketch crashes, it will very likely take down the USB communications, and as such Also if you install a different version of the zephyr install, Or rebuild from sources... You will again need to reburn the boot loader. |
Short answer: Yes, it is definetly the right port. Without digging further though the code of this repo I'm pretty sure for now that the issue lies within the new bootloader I have on that nano, see here. I guess the code in this repo doesn't account for the changed adresses and/or the new bootloader doesn't want to write to the adresses the code in this repo is instructing it to do. |
Yes, that was it. The "new" bootloader for OpenMV & Softdevice usage isn't compatible with the Zephyr Core in the current stage. Maybe worth a short note in the Readme? |
Wanted to try the Zephyr Core on a Arduino Nano 33 BLE sense rev2.
Sketch upload fails with "SAM-BA operation failed" though bootloader installation went thru without any issues.
Tried with Arduino IDE 2.3.4 on MacOS and Windows 10, issue stays the same.
Even tried Zephyr 0.1.0 and 0.2.0, no difference.
Used sketch doesn't seem to matter, even an stub one with emtpy setup() and loop() functions produces the same error.
After upload failure the port is also gone and can only be recovered by double clicking reset.
If this is somethin obvious it totally eludes me, sorry for that.
Only thing that comes to my mind is the previous usage of this board for OpenMV, so it got flashed with the updated bootloader and softdevice previously.
Any hints?
Upload output:
Bootloader installation output:
The text was updated successfully, but these errors were encountered: