2010-06-28 06:50 AM
BOOT0 Inquiry
2011-05-17 04:56 AM
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 ...