中级会员
- 积分
- 371
- 金钱
- 371
- 注册时间
- 2017-4-21
- 在线时间
- 55 小时
|
楼主 |
发表于 2017-7-6 12:11:38
|
显示全部楼层
用J-Flash我也试过了,还是不行。应该不是MDK下载的问题,我有一块板子成功了,是可以用MDK下载的。下面是J-Flash出错的代码,您看看:
Application log started
- J-Flash ARM V4.08i (J-Flash compiled Jul 31 2009 18:25:26)
- JLinkARM.dll V4.08i (DLL compiled Jul 31 2009 18:23:57)
Reading flash device list [C:\Program Files (x86)\SEGGER\JLinkARM_V408i\ETC\JFlash\Flash.csv] ...
- List of flash devices read successfully (586 Devices)
Reading MCU device list [C:\Program Files (x86)\SEGGER\JLinkARM_V408i\ETC\JFlash\MCU.csv] ...
- List of MCU devices read successfully (353 Devices)
Opening project file [C:\Program Files (x86)\SEGGER\JLinkARM_V408i\Default.jflash] ...
- Project opened successfully
Connecting ...
- Connecting via USB to J-Link device 0
- J-Link firmware: V1.20 (J-Link ARM V8 compiled Nov 28 2014 13:44:46)
- JTAG speed: 5 kHz (Fixed)
- Initializing CPU core (Init sequence) ...
- Initialized successfully
- JTAG speed: 2000 kHz (Auto)
- Connected successfully
Opening data file [C:\Users\Administrator\Desktop\GPS电子罗盘数据采集 - 副本 (2)\output\工程模板.hex] ...
- Data file opened successfully (8184 bytes, 1 range, CRC = 0x00C4B7A8)
Auto programming target (8184 bytes, 1 range) ...
- Erasing affected sectors ...
- ERROR: PC of target system has unexpected value after blank checking. (PC = 0xFFFFFFFE)!
---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
PC = FFFFFFFE
Current: R0 = 00003800, R1 = 08000000, R2 = 00000100, R3 = 00003800
R4 = 20000000, R5 = 000037FC, R6 = 000000FF, R7 = 20000133
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- ERROR: Failed to erase sectors
- ERROR: Failed to auto program target
Disconnecting ...
- Disconnected
|
-
|