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.
我在新建一个工程的时候,编译通过,但是在demo(XTCIEVMK2X)上debug的时候,遇到了一下问题。
C66xx_0: Trouble Reading Memory Block at 0x80262d20 on Page 0 of Length 0x4: (Error -1060 @ 0x64) 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 6.0.407.6)
C66xx_0: File Loader: Verification failed: Target failed to read 0x80262D20
C66xx_0: GEL: File: D:\ti\DSP_SDR\MyTest2\Debug\MyTest2.out: Load failed.
测试过仿真器可顺利连接上demo,也尝试更换过gel文件。指定新的gel如下:C:\ti\ccsv6\ccs_base\emulation\boards\xtcievmk2x\gel\ xtcievmk2x.gel,但是仍会报相同错误。
自定义的linker.cmd文件如附件所示。
麻烦帮忙看看是什么问题。谢谢了!
/* * Do not modify this file; it is automatically generated from the template * linkcmd.xdt in the ti.targets.elf package and will be overwritten. */ /* * put '"'s around paths because, without this, the linker * considers '-' as minus operator, not a file name character. */ -l"D:\ti\DSP_SDR\MyTest2\Debug\configPkg\package\cfg\app_pe66.oe66" -l"D:\ti\DSP_SDR\MyTest2\src\sysbios\sysbios.ae66" -l"C:\ti\bios_6_46_01_38\packages\ti\targets\rts6000\lib\ti.targets.rts6000.ae66" -l"C:\ti\bios_6_46_01_38\packages\ti\targets\rts6000\lib\boot.ae66" --retain="*(xdc.meta)" --args 0x0 -heap 0x0 -stack 0x2000 MEMORY { MSMCSRAM (RWX) : org = 0xc000000, len = 0x600000 L2SRAM (RWX) : org = 0x800000, len = 0x100000 DDR3 (RWX) : org = 0x80000000, len = 0x20000000 } /* * Linker command file contributions from all loaded packages: */ /* Content from xdc.services.global (null): */ /* Content from xdc (null): */ /* Content from xdc.corevers (null): */ /* Content from xdc.shelf (null): */ /* Content from xdc.services.spec (null): */ /* Content from xdc.services.intern.xsr (null): */ /* Content from xdc.services.intern.gen (null): */ /* Content from xdc.services.intern.cmd (null): */ /* Content from xdc.bld (null): */ /* Content from ti.targets (null): */ /* Content from ti.targets.elf (null): */ /* Content from xdc.rov (null): */ /* Content from xdc.runtime (null): */ /* Content from ti.targets.rts6000 (null): */ /* Content from ti.sysbios.interfaces (null): */ /* Content from ti.sysbios.family (null): */ /* Content from xdc.services.getset (null): */ /* Content from ti.sysbios.family.c62 (null): */ /* Content from xdc.runtime.knl (null): */ /* Content from ti.sysbios.family.c64p.tci6488 (null): */ /* Content from ti.catalog.c6000 (null): */ /* Content from ti.catalog (null): */ /* Content from ti.catalog.peripherals.hdvicp2 (null): */ /* Content from xdc.platform (null): */ /* Content from xdc.cfg (null): */ /* Content from ti.platforms.generic (null): */ /* Content from TCI6638K2K.platform (null): */ /* Content from ti.sysbios.hal (null): */ /* Content from ti.sysbios (null): */ /* Content from ti.sysbios.rts (ti/sysbios/rts/linkcmd.xdt): */ /* Content from ti.sysbios.rts.ti (ti/sysbios/rts/ti/linkcmd.xdt): */ /* Content from ti.sysbios.family.c64p (ti/sysbios/family/c64p/linkcmd.xdt): */ /* Content from ti.sysbios.knl (null): */ /* Content from ti.sysbios.timers.timer64 (null): */ /* Content from ti.sysbios.family.c66 (ti/sysbios/family/c66/linkcmd.xdt): */ ti_sysbios_family_c66_Cache_l1dSize = 32768; ti_sysbios_family_c66_Cache_l1pSize = 32768; ti_sysbios_family_c66_Cache_l2Size = 0; /* Content from ti.sysbios.gates (null): */ /* Content from ti.sysbios.xdcruntime (null): */ /* Content from ti.sysbios.heaps (null): */ /* Content from ti.sysbios.utils (null): */ /* Content from configPkg (null): */ /* Content from xdc.services.io (null): */ /* * symbolic aliases for static instance objects */ xdc_runtime_Startup__EXECFXN__C = 1; xdc_runtime_Startup__RESETFXN__C = 1; SECTIONS { .text: load >> DDR3 .ti.decompress: load > DDR3 .stack: load > DDR3 GROUP: load > DDR3 { .bss: .neardata: .rodata: } .cinit: load > DDR3 .pinit: load >> DDR3 .init_array: load > DDR3 .const: load >> DDR3 .data: load >> DDR3 .fardata: load >> DDR3 .switch: load >> DDR3 .sysmem: load > DDR3 .far: load >> DDR3 .args: load > DDR3 align = 0x4, fill = 0 {_argsize = 0x0; } .cio: load >> DDR3 .ti.handler_table: load > DDR3 .c6xabi.exidx: load > DDR3 .c6xabi.extab: load >> DDR3 .vecs: load > DDR3 xdc.meta: load > DDR3, type = COPY }