实验室有一个小项目,使用的是贵公司的TMS320F28335芯片,板子由本人自行设计。使用CCSV6进行程序编译和下载相关任务。仿真器是在淘宝上购买的100V2版本,今晚在调试时,不小心将主电源短路后,再进行程序下载时便遇到了如下的提示,不能下载程序。但是仿真器可以下载程序给另一块开发板。经我本人检查,芯片原有程序仍能正常运行,就是不能下载。请问为什么会这样?
检测仿真器连接时出现以下提示:
This utility will load the adapter 'jioserdesusb.dll'.
The library build date was 'Sep 4 2015'.
The library build time was '21:59:23'.
The library package version is '6.0.14.5'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '4' (0x00000004).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.
The controller is the FTDI FT2232 with USB interface.
The link from controller to target is direct (without cable).
The software is configured for FTDI FT2232 features.
The controller cannot monitor the value on the EMU[0] pin.
The controller cannot monitor the value on the EMU[1] pin.
The controller cannot control the timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '0' (0x0000).
The JTAG IR instruction path-length is 38 bits.
The JTAG DR bypass path-length is 1 bits.
This test will be applied just once.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.
This test will be applied just once.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.
进行程序下载时出现的提示:
C28xx: Failed CPU Reset: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.14.5)C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.14.5)C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.14.5)C28xx: GEL: Error while executing OnReset(1): Target failed to read register ST1
at (ST1&~(0x0100)) [f28335.gel:312]
at C28x_Mode() [f28335.gel:38]
at OnReset(1)
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.14.5)C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.14.5)C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.14.5)C28xx: GEL: Error while executing OnReset(1): Target failed to read register ST1
at (ST1&~(0x0100)) [f28335.gel:312]
at C28x_Mode() [f28335.gel:38]
at OnReset(1)
C28xx: File Loader: Verification failed: Values at address 0x0000000000008016 do not match Please verify target memory and memory map.
C28xx: GEL: File: C:\Users\sotfleaf\workspace\Example_2833xCpuTimer\Debug\Example_2833xCpuTimer.out: a data verification error occurred, file load failed.
C28xx: GEL Output:ADC Calibration not complete, check if device is unlocked and recalibrate.C28xx: File Loader: Verification failed: Values at address 0x0000000000008016 do not match Please verify target memory and memory map.
C28xx: GEL: File: C:\Users\sotfleaf\workspace\Example_2833xCpuTimer\Debug\Example_2833xCpuTimer.out: a data verification error occurred, file load failed.
mangui zhang:
请先确认芯片在上电后clkout有没有波形输出
复位引脚电平是否正常