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

  • wolfi

    Member
    November 7, 2022 at 8:54 am

    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.
  • adrienl

    Member
    December 11, 2022 at 9:21 pm

    Hi,

    I got the same problem,

    Does anyone knows how to fix it ?

    Thanks,

    AdrienL

    (System : Macbook Pro late 2013, MacOS 11.7, i5@2.4Ghz)

    • This reply was modified 2 years ago by  adrienl. Reason: Add system info
    • wolfi

      Member
      December 11, 2022 at 10:35 pm

      The only way to solve it for me was to roll back to the old Arduino Version.

      It kinda sucks, but it works.

      Wolfgang

  • Heico

    Member
    December 26, 2022 at 4:39 pm

    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

    • Lukas

      Member
      March 15, 2023 at 3:46 pm

      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

      • adrienl

        Member
        March 20, 2023 at 9:44 pm

        Hi Lukas,

        I would be glad to be informed of this update.

        Many thanks,

        Adrien

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now