TI中文支持网
TI专业的中文技术问题搜集分享网站

DSP28335的FLASH无法擦除和编程

28335在准备仿真,擦除和烧录的时候提示如下问题,请教一下应该怎么解决

ADC Calibration not complete, check if device is unlocked and recalibrate.C28xx: File Loader: Verification failed: Values at address 0x33FFF6@Program do not match Please verify target memory and memory map.
C28xx: GEL: File: E:\ZKY\demo_for_105\Debug\demo_for_105.out: a data verification error occurred, file load failed.

Susan Yang:

请您看一下我之前的回复,是和您基本相同的问题

e2echina.ti.com/…/587581

user5197967:

回复 Susan Yang:

但是我CSM_PWL区并没有填写数据,显示的全是是unused

user5197967:

回复 user5197967:

我在使用UNIflash擦除FLASHA的时候,提示是这个Error executing current operation. Please check the console for additional error information.

Susan Yang:

回复 user5197967:

请您使用uniflash来试一下是否可以成功识别板子烧写程序。
另外请您使用uniflash从密码位置读取数据。0x33 FFF8-0x33 FFFF这些位置为多少?

Susan Yang:

回复 user5197967:

能给出uniflash的全部错误截图吗?

user5197967:

回复 Susan Yang:

这是使用Uniflash给DSP烧写程序的错误
[2020/10/21 上午11:18:51] [ERROR] C28xx: Trouble Halting Target CPU: (Error -1138 @ 0x6) Device refused to allow debug mode. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
[2020/10/21 上午11:18:51] [ERROR] C28xx: Error: (Error -1141 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
[2020/10/21 上午11:18:52] [ERROR] C28xx: Unable to determine target status after 20 attempts
[2020/10/21 上午11:18:52] [ERROR] C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
[2020/10/21 上午11:18:52] [ERROR] C28xx: GEL: Error while executing OnTargetConnect(): Could not read register ST1: target is not connected at (ST1&~(0x0100)) [f28335.gel:322] at C28x_Mode() [f28335.gel:82] at OnTargetConnect()

下面是读取memory的错误
[2020/10/21 上午11:20:11] [ERROR] C28xx: Trouble Halting Target CPU: (Error -1138 @ 0x6) Device refused to allow debug mode. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
[2020/10/21 上午11:20:11] [ERROR] C28xx: Error: (Error -1141 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
[2020/10/21 上午11:20:12] [ERROR] C28xx: Unable to determine target status after 20 attempts
[2020/10/21 上午11:20:12] [ERROR] C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
[2020/10/21 上午11:20:12] [ERROR] C28xx: GEL: Error while executing OnTargetConnect(): Could not read register ST1: target is not connected at (ST1&~(0x0100)) [f28335.gel:322] at C28x_Mode() [f28335.gel:82] at OnTargetConnect()

这是ERASE FLASHA的错误
[2020/10/21 上午11:20:48] [ERROR] C28xx: Trouble Halting Target CPU: (Error -1138 @ 0x6) Device refused to allow debug mode. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
[2020/10/21 上午11:20:48] [ERROR] C28xx: Error: (Error -1141 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
[2020/10/21 上午11:20:49] [ERROR] C28xx: Unable to determine target status after 20 attempts
[2020/10/21 上午11:20:49] [ERROR] C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
[2020/10/21 上午11:20:49] [ERROR] C28xx: GEL: Error while executing OnTargetConnect(): Could not read register ST1: target is not connected at (ST1&~(0x0100)) [f28335.gel:322] at C28x_Mode() [f28335.gel:82] at OnTargetConnect()

这个是unlock的错误
[2020/10/21 上午11:21:18] [ERROR] C28xx: Trouble Halting Target CPU: (Error -1138 @ 0x6) Device refused to allow debug mode. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
[2020/10/21 上午11:21:18] [ERROR] C28xx: Error: (Error -1141 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
[2020/10/21 上午11:21:19] [ERROR] C28xx: Unable to determine target status after 20 attempts
[2020/10/21 上午11:21:19] [ERROR] C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
[2020/10/21 上午11:21:19] [ERROR] C28xx: GEL: Error while executing OnTargetConnect(): Could not read register ST1: target is not connected at (ST1&~(0x0100)) [f28335.gel:322] at C28x_Mode() [f28335.gel:82] at OnTargetConnect()

user5197967:

回复 user5197967:

不好意思,这回读取出来了,0x33 FFF8-0x33 FFFF这些位置的数据都是0,log提示如下C28xx: GEL Output: ADC Calibration not complete, check if device is unlocked and recalibrate.

unlock的时候提示如下
[2020/10/21 上午11:28:02] [INFO] C28xx: Starting device unlocking…
[2020/10/21 上午11:28:02] [INFO] C28xx: Device unlocked. To clear the programmed password, please erase Sector A of Flash memory.

以下是擦除FLASHA的错误log
[2020/10/21 上午11:28:27] [ERROR] C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled

l烧写的时候提示如下
[2020/10/21 上午11:29:13] [ERROR] C28xx: File Loader: Verification failed: Values at address 0x00000@Program do not match Please verify target memory and memory map.

user5197967:

回复 Susan Yang:

您好,我现在在工程里面加载了一个gel文件,然后解决了这些问题,请问gel文件的作用是什么呢。我之前的工程文件都没有加载过gel文件

Susan Yang:

回复 user5197967:

请参考之前的分享贴

e2echina.ti.com/…/105278

以及

www.ti.com/…/spraa74a.pdf

赞(3)
未经允许不得转载:TI中文支持网 » DSP28335的FLASH无法擦除和编程
分享到: 更多 (0)