Table 7. Boot modes
Boot mode selection pins Boot mode Aliasing
BOOT1 BOOT0
x 0 Main Flash memory Main Flash memory is selected as boot space
0 1 System memory System memory is selected as boot space
1 1 Embedded SRAM Embedded SRAM is selected as boot space
两引脚控制启式
般都用第种 选择flash启 我般都载flash
用JLINK线仿真 载SRAM 需要改启式 SRAM掉电程序消失 flash属于ROM类型存储器 掉电丢失