搞了好几天也没找到原因。我的版本是最新的7.20版,调试stm32f1没有任何问题,但f0却不行,错误信息如下:
这些错误的字面意思我倒是明白,可还是不知问题出在何处。 难道是.flash文件的问题,默认目录下也只有F05的flash文件,是不是需要f03的flash文件? 调试用的stlink,芯片也换了好几个。忘大叔们给想想办法,感激不尽
Tue Oct 28, 2014 20:09:52: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\debugger\ST\STM32F05xxx_06xxx.dmac
Tue Oct 28, 2014 20:09:52: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\flashloader\ST\FlashSTM32F05xx8.mac
Tue Oct 28, 2014 20:09:52: Selecting SWD as current target interface.
Tue Oct 28, 2014 20:09:52: Hardware reset with strategy 0 was performed
Tue Oct 28, 2014 20:09:52: Initial reset was performed
Tue Oct 28, 2014 20:09:52: -I- execUserFlashInit!
Tue Oct 28, 2014 20:09:52: 276 bytes downloaded and verified (3.46 Kbytes/sec)
Tue Oct 28, 2014 20:09:52: Warning: Verify error, failed to read memory at address 0x20001F0C - 0x20001FFF
Tue Oct 28, 2014 20:09:52: Warning:
Verify error at address 0x20001F0C, target byte: 0xB0, byte in file: 0x1C
Tue Oct 28, 2014 20:09:52: Warning:
Verify error at address 0x20001F0D, target byte: 0x02, byte in file: 0xB5
Tue Oct 28, 2014 20:09:52: Warning:
Verify error at address 0x20001F0E, target byte: 0x00, byte in file: 0x1C
Tue Oct 28, 2014 20:09:52: Warning:
Verify error at address 0x20001F0F, target byte: 0x20, byte in file: 0x4C
Tue Oct 28, 2014 20:09:52: Warning:
Verify error at address 0x20001F10, target byte: 0xB0, byte in file: 0x20
Tue Oct 28, 2014 20:09:52: Warning:
Verify error at address 0x20001F11, target byte: 0x02, byte in file: 0x00
Tue Oct 28, 2014 20:09:52: Warning:
Verify error at address 0x20001F12, target byte: 0x00, byte in file: 0x18
Tue Oct 28, 2014 20:09:52: Warning:
Verify error at address 0x20001FDE, target byte: 0x00, byte in file: 0x48
Tue Oct 28, 2014 20:09:52: Warning: Too many verify errors, only the first 200 are displayed
Tue Oct 28, 2014 20:09:54: Fatal error: There were warnings during download of FLASH loader, see Log Window Session aborted!
Tue Oct 28, 2014 20:09:54: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\flashloader\ST\FlashSTM32F05xxxRAM8K.out
Tue Oct 28, 2014 20:09:54: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\flashloader\ST\FlashSTM32F05xx4.flash
|
|