开发环境IAR,工具是使用JLink,芯片是STM32f107vct6,有的时候能下载,有的时候下载不进去,多数时候是下载不进去的,在网上搜寻了半天也没找到解决方法。出现的错误如:
Project_STM32F107VC-ARMJISHU.jlink, return = 0
Tue May 01 21:02:23 2012: JLINK command: device = STM32F107xC, return = 0
Tue May 01 21:02:23 2012: DLL version: V4.12w, compiled Feb 26 2010 19:22:53
Tue May 01 21:02:23 2012: Firmware: J-Link ARM V8 compiled Aug 24 2011 17:23:32
Tue May 01 21:02:23 2012: Selecting SWD as current target interface.
Tue May 01 21:02:23 2012: JTAG speed is initially set to: 4000 kHz
Tue May 01 21:02:23 2012: Found SWD-DP with ID 0x1BA01477
Tue May 01 21:02:23 2012: FPUnit: 15 code (BP) slots and 15 literal slots
Tue May 01 21:02:23 2012: Hardware reset with strategy 0 was performed
Tue May 01 21:02:23 2012: Initial reset was performed
Tue May 01 21:02:26 2012: Fatal error: PC of target system has unexpected value after calculating CRC. (PC = 0xFFFFFFFE)! ---------------------------------------------------------------------- Registers
------------------------------------------------------------------------------------- PC = FFFFFFFE Current: R0 = 00000000, R1 = 08000000, R2 = 00000800, R3 = EDB88320 R4 = 00000000, R5 = 200003D8, R6 =
000000FF, R7 = 20000121 -------------------------------------------------------------------------------------------- Session aborted!
Tue May 01 21:02:26 2012: Failed to load debugee: F:\光盘\STM32神舟IV号\源码\IAR版本\11、EEPROM读写测试\Project\11、EEPROM读写测试\EWARMv5\STM32F107VC-ARMJISHU\Exe\Project.out
各路大仙快来帮帮忙,感谢啦!!! |