Page 1 of 1

Upload without Mass Storage enabled, STM32Cube?

Posted: Sun Dec 04, 2022 6:21 pm
by DrMN
After using stmlink to disable mass storage, the Arduino IDE fails to upload to the board.

In the menua upload method, the options are mass storage or three flavors of STM32CubeProgrammer.

What are these, and how do I add them to my Fedora Linux Arduino 1.8.19 environment?

Thank you

Re: Upload without Mass Storage enabled, STM32Cube?

Posted: Mon Dec 05, 2022 2:42 pm
by GonzoG
Those are hardware bootloader upload methods.
SWD - uses ST-Link programmer
Serial - as it says uses serial port (UART) and usually you need USB-TTL converter.
DFU - uses built-in USB interface, no additional hardware required, but only for MCUs that support it.
All of them use STM32CubeProgrammer to upload firmware, so you need to install STM32CubeProgrammer.

Re: Upload without Mass Storage enabled, STM32Cube?

Posted: Mon Dec 05, 2022 2:47 pm
by fpiSTM