花了一晚上时间,已经可以正常擦除、编程、读取。
下面就要做flash_loader优化。
Info: stm32f2_xl found
Info: SWDID = 0x2BA01477
Info: AHB-AP_ID = 0x24770011
Info: ROM_ADDRESS = 0xE00FF003
Info: CFG = 0x00000000, Little-endian
Info: CORTEX-M3 r2p0 processor detected
Info: CPUID = 0x412FC230
Info: STM32F2 type: XL device
Info: STM32F2 revision: Y
Info: Chip-id read is 0x411.
Info: erasing flash
erasing flash |========================================%100| 15.28s used
Info: flash erased
Info: SWDID = 0x2BA01477
Info: AHB-AP_ID = 0x24770011
Info: ROM_ADDRESS = 0xE00FF003
Info: CFG = 0x00000000, Little-endian
Info: CORTEX-M3 r2p0 processor detected
Info: CPUID = 0x412FC230
Info: programming flash
writing flash |========================================%100| 24.11s used
Info: flash programmed for 31744bytes(1.29KB/s)
Info: SWDID = 0x2BA01477
Info: AHB-AP_ID = 0x24770011
Info: ROM_ADDRESS = 0xE00FF003
Info: CFG = 0x00000000, Little-endian
Info: CORTEX-M3 r2p0 processor detected
Info: CPUID = 0x412FC230
Info: verifying flash
reading flash |========================================%100| 0.47s used
Info: flash verified for 31744bytes(66.24KB/s) |