MMU2-DIP icon indicating copy to clipboard operation
MMU2-DIP copied to clipboard

Flash firmware without a Windows PC

Open iShavgula opened this issue 4 years ago • 1 comments

Hello,

Is there a way to flash the firmware using an Unix system, maybe via a ST-Link ? What would the address be ?

Would be nice if there already was some documentation about this part.

Thanks

iShavgula avatar Jan 20 '21 22:01 iShavgula

Hello, Use next command to flash firmware with st-link v.2 in .pio/build/MMU2_F030C8 directory: openocd -f interface/stlink-v2.cfg -f target/stm32f0x.cfg -c "init; reset halt; stm32f0x unlock 0; reset halt; flash write_image erase firmware.hex; reset; exit"

timurey avatar Feb 12 '21 07:02 timurey