一块新的TMS320F28379D的飞控板,第一次可以下载程序,随后就无法下载程序,显示报错信息为:
C28xx_CPU1: Trouble Writing Memory Block at 0x5f452 on Page 1 of Length 0x1: (Error -1041 @ 0x5F453) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: GEL: Error while executing OnTargetConnect(): Target failed to write 0x0005F452@Data
at *((int *) 0x5F452)=0xFFFF [f28379d_cpu1.gel:81]
at OnTargetConnect()
C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.
C28xx_CPU1: Error: (Error -1135 @ 0x8315B) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: Failed CPU Reset
C28xx_CPU1: Error: (Error -1135 @ 0x8315B) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: 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
问题会出现在哪里?
Green Deng:根据报错信息,比较有可能的是JTAG出现问题。建议有条件的话,可以与正常JTAG的几个引脚信号进行对比,看是否信号是否相同。同时交换一下JTAG使用。同时注意target configuration是否配置正确。
一块新的TMS320F28379D的飞控板,第一次可以下载程序,随后就无法下载程序,显示报错信息为:
C28xx_CPU1: Trouble Writing Memory Block at 0x5f452 on Page 1 of Length 0x1: (Error -1041 @ 0x5F453) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: GEL: Error while executing OnTargetConnect(): Target failed to write 0x0005F452@Data
at *((int *) 0x5F452)=0xFFFF [f28379d_cpu1.gel:81]
at OnTargetConnect()
C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.
C28xx_CPU1: Error: (Error -1135 @ 0x8315B) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: Failed CPU Reset
C28xx_CPU1: Error: (Error -1135 @ 0x8315B) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: 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
问题会出现在哪里?
user6045718:
回复 Green Deng:
你好,我按照您的方法进行了实验。还是没有解决问题,但是给芯片供电,芯片可以正常工作,就是无法下载,错误信息和上次一样
一块新的TMS320F28379D的飞控板,第一次可以下载程序,随后就无法下载程序,显示报错信息为:
C28xx_CPU1: Trouble Writing Memory Block at 0x5f452 on Page 1 of Length 0x1: (Error -1041 @ 0x5F453) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: GEL: Error while executing OnTargetConnect(): Target failed to write 0x0005F452@Data
at *((int *) 0x5F452)=0xFFFF [f28379d_cpu1.gel:81]
at OnTargetConnect()
C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.
C28xx_CPU1: Error: (Error -1135 @ 0x8315B) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: Failed CPU Reset
C28xx_CPU1: Error: (Error -1135 @ 0x8315B) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: 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
问题会出现在哪里?
mangui zhang:
回复 user6045718:
确定一下 你下载程序后某些管脚的状态改变给硬件电路带来状态改变
或者某一些IO口状态出现变化导致下载不了建议将已下载代码的板子和未下载代码的板子进行特殊管脚的对比测试