This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USART protocol used in STM32 bootloader

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

Parents
  • 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.

Reply
  • 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.

Children
No data