-
Notifications
You must be signed in to change notification settings - Fork 132
Tiny 2040 reset before upload. #1353
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
I do think you found a bug in Sloeber |
First : With the workaround, the upload process works OK. However some further remarks from my investigation.
I leave this issue open, for you to close Edit : Checked with installing this board in Arduino IDE -> works OK without the workaround. |
It is Arduino who specifies the arduino framework and indeed the specification is not perfect.
After some investigation I found this is something I added to fix problems
Indeed: looking at https://arduino.github.io/arduino-cli/latest/platform-specification/#1200-bps-bootloader-reset I see your board states redundantly So in conclusion I will remove the force_reset_before_upload and only reset when use_1200bps_touch is true To show my confidence on this issue I'll qoute from the arduino framework description |
I think this is now fixed in the nightly |
Jantje,
I have a new board Tiny2040 and using the https://github.com/earlephilhower/arduino-pico Arduino Core for that.
During upload I see a reset for the device, both by Sloeber and also by the upload program
uf2conv.py
The reset makes the device go into bootmode, which is the device showing up as a
removable device
in windows.The actual upload is "just a copy" to the device.
What happens now is :
I am trying to get a complete understanding as this will fail as soon as there is a proper error checking in uf2conf.py.
The "serial exception line" comes from my patch to uf2conv.py for debugging.
Long story, but my basic question is :
When/How is the "Starting reset using DTR toggle process" initiated by sloeber and can the behavior of that be configured.
Cannot find that in the platform.txt or programmers.txt
Just to make this clear too : I am not saying that this is a sloeber issue.
The text was updated successfully, but these errors were encountered: