Activity › Forums › Questions & Troubleshooting › After update to Arduino IDE 2.0.1, uload is no longer possible
-
After update to Arduino IDE 2.0.1, uload is no longer possible
-
I upgraded to IDE 2.0.1. It works on my Arduinos perfectly. However, the controllino script compiles, but does not upload:
Failed uploading: cannot execute upload tool: fork/exec /Users/wolfgang/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude: bad CPU type in executable
Yes, Controllino Maxi Automation is selected 😉
System used: Mac OS 13.0 on a Intel i7 MacBook Pro
Anyone knows how to overcome this?
thx, Wolfi
- This discussion was modified 2 years, 1 month ago by wolfi.
-
-
The only way to solve it for me was to roll back to the old Arduino Version.
It kinda sucks, but it works.
Wolfgang
-
-
Hallo Wolfi,
I have the same problem. My workaround is that I use the “avrdude/6.3.0-arduino17”
My “failing” command is “/Users/xxx/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude” “-C/Users/xxx/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf” -v -V -patmega2560 -cwiring “-P/dev/cu.usbmodem1411301” -b115200 -D “-Uflash:w:/private/var/folders/02/2m5xmk0j5bb19k5jt4lnh46h0000gq/T/arduino-sketch-B44509711192F6CF6691A744BF3E1B30/Lueftung.ino.hex:i”
(This is the copy from output window of the IDE, last line, all possible output enabled)
I open a terminal window and the I can load the hex file with:
“/Users/xxx/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude” “-C/Users/xxx/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf” -v -V -patmega2560 -cwiring “-P/dev/cu.usbmodem1411301” -b115200 -D “-Uflash:w:/private/var/folders/02/2m5xmk0j5bb19k5jt4lnh46h0000gq/T/arduino-sketch-B44509711192F6CF6691A744BF3E1B30/Lueftung.ino.hex:i”
Make sure that the Serial Monitor is not blocking the “serial line”
Does anyone have an idea how to fix this in the IDE?
Regards
Heico
-
Hi all,
we will try to fix this in the new release of the CONTROLLINO Library.
I hope it happens in the next two weeks.
Thanks,
Lukas
-
Hi Lukas,
I would be glad to be informed of this update.
Many thanks,
Adrien
-
-
Log in to reply.