-
Notifications
You must be signed in to change notification settings - Fork 250
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
Flashing fails with this compiled version while 1.7 is doing fine. #96
Comments
1.7 supplied with Arduino 1.8.9 works just fine, but when I compile and run this version here it fails as below. The command given is like this: bossac --port=ttyACM0 -i -U -e -w -R -v .bin and the relevant part of the reply: Done in 0.740 seconds |
I have the same issue I think... I've compiled versions 1.7.0, 1.8 and 1.9.1 on a Raspberry Pi 3B+ which I use to program a SparkFun SAMD21 Mini Breakout board, (ie. an Arduino Zero clone). Both 1.8 and 1.9.1 fail in the same way, (see below), whereas 1.7.0 works? One thing I've noticed is that 1.7.0 successfully detects the USB port and connects at the higher speed, (Connected at 921600 baud), whereas the later versions don't:
I also find that I have to run the following command beforehand to ensure that bossac will work. (The SAMD21 board also occasionally needs to be unplugged and re-inserted).
If I don't do this I get the following error:
|
Did some bisecting and got this commit causing issues: commit ee5a651 (refs/bisect/bad)
|
This reverts commit 005cdc7. Revert back to 1.7 bossa as that version works, the appears to be a known issue with newer version not flashing: shumatech/BOSSA#96 Signed-off-by: Kumar Gala <[email protected]>
This reverts commit 005cdc7. Revert back to 1.7 bossa as that version works, the appears to be a known issue with newer version not flashing: shumatech/BOSSA#96 Signed-off-by: Kumar Gala <[email protected]>
This reverts commit 005cdc7. Revert back to 1.7 bossa as that version works, the appears to be a known issue with newer version not flashing: shumatech/BOSSA#96 Fixes: zephyrproject-rtos#59 Signed-off-by: Kumar Gala <[email protected]>
This reverts commit 005cdc7. Revert back to 1.7 bossa as that version works, the appears to be a known issue with newer version not flashing: shumatech/BOSSA#96 Fixes: #59 Signed-off-by: Kumar Gala <[email protected]>
@RatGit |
@RatGit re: the board needing to be unplugged and then plugged back in, I see the same due to a race between the 'stty' call, the board detaching, and Bossa attaching. If the board hasn't finished restarting then Linux puts the board on ttyACM1 instead of ttyACM0 |
I confirm zephyr's version is working fine on arduino_nano_33_ble I can provide some traces if it helps
Relate-to: https://gitlab.eclipse.org/eclipse/oniro-core/docs/-/issues/141#notes |
No description provided.
The text was updated successfully, but these errors were encountered: