Hi,
I want to program(flash program/user code) slave STM32f2 MCU with Master STM32f2 MCU using USART
It is same like MCU programming with flash utility at PC side.
So I like to design code same like flash utility in MASTER MCU.
So I am looking for the code example for first time flash programming of SLAVE MCU.
User code-->JTAG-->Master MCU(STM32)-->RUN Master-->USART-->Slave MCU(STM32)-->RUN Slave
Can any one help me for Code example for keil uV4/ MDK ? - Krunal
First save the slave boot loader into your master MCU flash or DDRAM and then reset the slave MCU and load the bootloader file using USART.(but you need to transfer the data withour corruption you need to follow one protocol like XMODEM).
At master side transmit function and At slave side receive function.