程序可以经过正常编译、链接,并生成.out文件,但是无法下载到6678。已确定仿真器没有问题,简单的hello word可以运行。提示如下:
C66xx_1: Trouble Writing Memory Block at 0xc024000 on Page 0 of Length 0x200:(Error -1139 @ 0x64) Lost debug connection to device. Reset the device, and retry the operation.If error persists, confirm configuration, power-cycle the board, and/or trymore reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.747.0)C66xx_1: GEL: File: F:\jpeg5\encode\packages\ti\sdo\codecs\jpegenc\A
pp\Client\Build\TestAppEncoder\Debug\TestAppEncoder.out: Load failed.
C66xx_1: Error: (Error -1139 @ 0x0) Lost debug connection to device.
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 5.0.747.0)C66xx_1: Trouble Reading PC RegisterC66xx_0: Trouble Reading PC RegisterC66xx_0: Trouble Reading Register ControlRegisters_CSRC66xx_0: Trouble Reading Register ControlRegisters_CSRC66xx_0: Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0xc022d60C66xx_0: Power Failure on Target CPUC66xx_0: 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
RTSC配置如下:
Shine:
请问有没有加载类似evmc6678l.gel文件?
fuqiang xiao:
回复 Shine:
没有加载,刚试过了,加载了还是不行
C66xx_0: GEL Output: Setup_Memory_Map…C66xx_0: GEL Output: Setup_Memory_Map… Done.C66xx_0: GEL Output: Connecting Target…C66xx_0: GEL Output: DSP core #0C66xx_0: GEL Output: No initialization performed since bootmode = 0x00000005 C66xx_0: GEL Output: You can manually initialize with GlobalDefaultSetupC66xx_0: GEL Output: Invalidate All Cache…C66xx_0: GEL Output: Invalidate All Cache… Done.C66xx_0: GEL Output: GEL Reset…C66xx_0: GEL Output: GEL Reset… Done.C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.C66xx_0: Power Failure on Target CPU C66xx_0: 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
Shine:
回复 fuqiang xiao:
从gel文件打印信息看,需要把boot管脚设成bootmode = 0x00000000才会执行gel初始化。