stm32duino / Arduino_Tools

Contains upload tools for STM32 based boards
Other
87 stars 63 forks source link

cp a bin fails on Catalina #65

Closed vsonneville-cherch closed 3 years ago

vsonneville-cherch commented 3 years ago

Hi,

Realised when uploading from Arduino IDE on Mac OS X (10.15 Catalina), using MassSotrage method, it fails, saying that the .ino.bin is a directory. Adding a -r to the cp command in tools/macosx/massStorageCopy.sh solved the issue, but I'm not sure it's the best way to do this.

Cheers

fpistm commented 3 years ago

Hi,

could you be more precise? Which Arduino IDE version? Core version? Log ? (enable all the verbose output in the Arduino IDE preferences)

Thanks.

VVESTM commented 3 years ago

Hi,

I have just made a test on macOS Catalina, Version 10.15.5 and latest versions (Arduino 1.8.13 and STM32core 1.9.0) with NucleoL476 board and mass storage upload method. Result is OK :

Screenshot 2020-08-03 at 16 14 51
vsonneville-cherch commented 3 years ago

Hi, I was on Arduino 1.8.12, STM32Core 1.9.0 with a Nucleo F091RC and mass storage upload method. I updated Arduino IDE to 1.8.13 and it fixed the issue. Rolled back to 1.8.12 with STM32Core 1.9.0 and I enclose the verbose output here : ErrorReport.txt Given that an update of Arduino IDE fixed the issue, I don't know if it is still relevant, though.

fpistm commented 3 years ago

Thanks for the quick feedback and tests. It is linked to Arduino IDE and how it deals some paths. I thinks it was solved in the 1.8.13 thanks https://github.com/arduino/arduino-cli/pull/690 I close this one as it is not relevant and not link to the tools.

Solution: Use the latest Arduino IDE 1.8.13