cancel
Showing results for 
Search instead for 
Did you mean: 

BOOT0 Inquiry

lhidalgo
Associate
Posted on June 28, 2010 at 15:50

BOOT0 Inquiry

1 REPLY 1
chikos332
Associate II
Posted on May 17, 2011 at 13:56

Hi,

There is no such register/state. The Boot0 /1 pins state are sampled at the startup only. Then, once code is running you have no internal information about Boot0/1.

Notes:

 - Boot1 is a GPIO, so you can read its state like any other GPIO (This is not the case for Boot0 as far as I know).

 - The result of boot mapping is that the target memory (flash/RAM/System memory) is mapped to address 0, so if you know what is the first/second... data in your memory, you can guess in which mode you are..

For Example, the second data in system memory is always located int 0x1FFFFxxx, so reading this data you can know that you are in system memory mode ...