Skip to main content
zhiyongwoo
Associate III
June 24, 2019
Question

Programming Evaluation without ST-LINK? Possible?

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?

This topic has been closed for replies.

2 replies

zhiyongwoo
Associate III
June 24, 2019

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.

Uwe Bonnes
Chief
June 24, 2019

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.