2019-06-24 01:26 AM
Hi All,
By default, we can easily program the evaluation board by dragging the .bin file into the Mass Storage Device of the evaluation board.
Unfortunately, my company has restricted the mass storage class. Therefore there is no way I can program the evaluation board. Or is there any alternative way to do so with the ST .bin file?
2019-06-24 01:42 AM
Silly me, This is the tool I should get if I can't use the Mass Storage Class to update the firmware.
STM32 ST-LINK Utility (STSW-LINK004) is a full-featured software interface for programming STM32 microcontrollers.
2019-06-24 01:45 AM
Most debuggers able to talk to the stlink can burn a bin file. I find pystlink https://github.com/UweBonnes/pystlink.git handy. "pystlink flash:erase:verify:***.bin" is the command line i use to flash the device. But most often I use gdb to burn and debug the elf file.