cancel
Showing results for 
Search instead for 
Did you mean: 

Where can we find reference example of ''Boot from Embedded SRAM mode'' with STM32F103 ?

Carter Lee
Associate III
Posted on December 29, 2017 at 05:27

Hi.

I'm trying to use 

'Boot from Embedded SRAM mode' in KEIL MDK.

Where can I find reference example of 'Boot from Embedded SRAM mode'  with STM32F103 ?

5 REPLIES 5
Posted on December 29, 2017 at 16:10

You probably won't 'find' an example, you should apply your knowledge of micro-processors and compilers/linkers to create one. Right now you're so far over your skis that you need to explain why this functionality is important for you to understand.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
chen zero
Associate II
Posted on December 29, 2017 at 16:14

Perhaps there are some code example to boot STM32 by UART in the tool smt32flash.

This tool will boot SMT32 from SRAM after flash code

It's open-source,

http://stm32flash.sourceforge.net

from its help, The communication protocol used by ST bootloader is documented in following ST application notes

       · AN3155: USART protocol used in the STM32(TM) bootloader

             

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fweb%2Fen%2Fresource%2Ftechnical%2Fdocument%2Fapplication_note%2FCD00264342.pdf

       · AN4221: I2C protocol used in the STM32 bootloader

             

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fweb%2Fen%2Fresource%2Ftechnical%2Fdocument%2Fapplication_note%2FDM00072315.pdf

HTH

Posted on December 29, 2017 at 16:21

I can't understand why everybody wants to know what why I have this question, I want to ask you vice-versa.

Posted on December 29, 2017 at 16:23

Thanks Chen.

Posted on December 29, 2017 at 16:30

After search, perhaps I got wrong because that tool is to boot STM32 from 'User Flash', 'boot from embedeed SRAM' is totally different thing. Please forget my post!