This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

程序编译链接成功,无法下载到6678



程序可以经过正常编译、链接,并生成.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 try
more 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 Register
C66xx_0: Trouble Reading PC Register
C66xx_0: Trouble Reading Register ControlRegisters_CSR
C66xx_0: Trouble Reading Register ControlRegisters_CSR
C66xx_0: Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0xc022d60
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

RTSC配置如下:


  • 请问有没有加载类似evmc6678l.gel文件?

  • 没有加载,刚试过了,加载了还是不行

    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 #0
    C66xx_0: GEL Output: No initialization performed since bootmode = 0x00000005
    C66xx_0: GEL Output: You can manually initialize with GlobalDefaultSetup
    C66xx_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

  • gel文件打印信息看,需要把boot管脚设成bootmode = 0x00000000才会执行gel初始化。