bootloader: fix SRAM comment
This commit is contained in:
parent
98a1f05ac6
commit
8498e4dc03
|
@ -72,8 +72,8 @@ void main(void)
|
||||||
/* the application starts with the vector table
|
/* the application starts with the vector table
|
||||||
* the first entry in the vector table is the initial stack pointer (SP) address
|
* the first entry in the vector table is the initial stack pointer (SP) address
|
||||||
* the stack will be placed in RAM
|
* the stack will be placed in RAM
|
||||||
* on STM32F1xx SRAM begins at 0x2000 0000, and on STM32F103x8 there is 20KB of RAM (0x5000).
|
* on STM32F1xx SRAM begins at 0x2000 0000, and on STM32F103xx there is up to 96 KB of RAM (0x18000).
|
||||||
* since the stack grown "downwards" it should start at the end of the RAM: 0x2000 5000
|
* since the stack grown "downwards" it should start at the end of the RAM: max 0x2001 8000
|
||||||
* if the SP is not in this range (e.g. flash has been erased) there is no valid application
|
* if the SP is not in this range (e.g. flash has been erased) there is no valid application
|
||||||
* the second entry in the vector table is the reset address, corresponding to the application start
|
* the second entry in the vector table is the reset address, corresponding to the application start
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue