2018-01-10 07:03 AM
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 #stm32l02018-01-10 07:16 AM
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.