You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Arduino IDE on Linux is not an issue, everything seems to work good there.
It's pretty much similar to the issue here: #3495 except with the addition of extracurricular delays caused by outside influences unbeknownst to the Arduino IDE causing a timeout.
The 32u4 with it's special case of the delay way it connects to serial with the IDE seems to be the issue.
Maybe having definable delays as an option. If you know it takes X time for USB/IP and Services to reconnect. Instead of hardcoded wait timeouts.
I tried to recompile the IDE by manually changing the delays set, but then hit another error about the butterfly programmer failing as I wasn't really sure what I was doing to begin with... trial and error.
It found the port again though after massively increasing the hardcoded delays to 20000 maybe I increased another delay that dealt with how it picks up the butterfly programmer.
I edited these three values to 20,000 leagues under the sea.
The text was updated successfully, but these errors were encountered:
NonaSuomy
changed the title
Lenardo 32U4 Injecting extracurricular delays caused by outside influences unbeknownst to the Arduino IDE suffers timeout.
Leonardo 32U4: Injecting extracurricular delays caused by outside influences unbeknownst to the Arduino IDE suffers timeout.
Oct 25, 2019
Running Arduino IDE on Linux is not an issue, everything seems to work good there.
It's pretty much similar to the issue here: #3495 except with the addition of extracurricular delays caused by outside influences unbeknownst to the Arduino IDE causing a timeout.
I've yet to test a regular Arduino with the 2 methods here: http://nonasuomy.github.io/Arduino-Remote-Upload/
The 32u4 with it's special case of the delay way it connects to serial with the IDE seems to be the issue.
Maybe having definable delays as an option. If you know it takes X time for USB/IP and Services to reconnect. Instead of hardcoded wait timeouts.
I tried to recompile the IDE by manually changing the delays set, but then hit another error about the butterfly programmer failing as I wasn't really sure what I was doing to begin with... trial and error.
It found the port again though after massively increasing the hardcoded delays to 20000 maybe I increased another delay that dealt with how it picks up the butterfly programmer.
I edited these three values to 20,000 leagues under the sea.
https://github.com/arduino/Arduino/blob/master/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java#L213
https://github.com/arduino/Arduino/blob/master/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java#L232
https://github.com/arduino/Arduino/blob/master/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java#L269
Any suggestions in getting USBIP https://wiki.archlinux.org/index.php/USB/IP and or QEMU/Libvirt working with the Leonardo 32U4 are welcome!
Originally posted by @NonaSuomy in #3495 (comment)
The text was updated successfully, but these errors were encountered: