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
You need to go to the ST site for help & support with their bootloader!
They do have documents & examples...
can the boot load be inter grated into the keil Ide?
Unfortunately your perceived urgency doesn't mow my lawn or paint my house. There seem to be a lot of contractors here, perhaps you can suggest a rate or price for your task.
The system loader protocol is well documented by ST. They have source code in the form of the "Flash Loader Demonstrator" app, which might be reasonably portable, or at least understandable to someone competent in C programming. There are also a couple of open source alternatives.
My desire to help fades. What's the reward for helping you? More hubris and poor spelling? Perhaps you should learn to read and code instead of wasting your time here asking others to do your work?
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.