Showing results for 
Search instead for 
Did you mean: 

Using Discovery board as UART programmer for custom board

Associate II
Posted on January 10, 2018 at 16:03

How can I program my custom made STM32 board using an existing discovery board?

What if I connect my custom board with all BOOT configurations to the UART of my DISCOVERY board and and just send the entire .bin file over UART to custom board? Will that work?

If not, please suggest ways to program a custom board (except for ST's Flash Loader Demonstrator.. It is terrible



Unfortunately I don't have SWD programmer pins on the board for use.

Please help. Thanks

#stm32l0-stm32l0-discovery #flash-loader-demo #stm32l0
Posted on January 10, 2018 at 16:16

The System Loader protocol is documented, you could implement it on any platform you have familiarity with.

If you don't like the protocol for the bulk of the transfer you can download your own loader code in to RAM and execute that. ie create a small loader implementing X-MODEM, or something else, and use that to send/program the FLASH.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..