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.

TMS320C5502 仿真时提示 Trouble Reading Memory Block

你好,

       使用最新版本CCS编译工程并下载,仿真开始时提示如下错误信息:

C55xx: Trouble Reading Memory Block at 0x802 on Page 2 of Length 0x1: (Error -1069 @ 0x1004) Device memory bus has an error and may be hung. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.1.0.00012)
C55xx: GEL: Error while executing OnTargetConnect(): Memory verification failed at address 0x802
at GEL_MemoryFill(0x802, 2, 1, 0xFF43) [c5502.gel:226]
at Init_CE1_SBSRAM_5502CPUBoard() [c5502.gel:59]
at OnTargetConnect()

程序开始后在访问外设寄存器时,也提示如下错误:

C55xx: Trouble Reading Memory Block at 0x8800 on Page 2 of Length 0x2e4: (Error -1069 @ 0x1107A) Device memory bus has an error and may be hung. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.1.0.00012) 

程序清单如下:

pPGPIOEN0|=0x40;

pPGPIODIR0|=0x40;

pPGPIODAT0|=0x40;

下面这个是PGPIO寄存器的宏定义:

#define pReg(addr) (*(volatile ioport Uint16*)(addr))

#define pPGPIOEN0 pReg(0x4400u)

#define pPGPIODIR0 pReg(0x4401u)

#define pPGPIODAT0 pReg(0x4402u)

CMD文件用的是CCS自带的文件 请问如何解决呢?

  • GuangHua Huang 说:

    C55xx: Trouble Reading Memory Block at 0x802 on Page 2 of Length 0x1: (Error -1069 @ 0x1004) Device memory bus has an error and may be hung. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.1.0.00012)
    C55xx: GEL: Error while executing OnTargetConnect(): Memory verification failed at address 0x802
    at GEL_MemoryFill(0x802, 2, 1, 0xFF43) [c5502.gel:226]
    at Init_CE1_SBSRAM_5502CPUBoard() [c5502.gel:59]
    at OnTargetConnect()

    GEL文件初始化没通过,用的是哪里的GEL文件与你的板子匹配吗?

  • 你好,仿真是量产中的板子。GEL文件是默认的文件夹中的I:\ti\ccs901\ccs\ccs_base\emulation\gel “c5502.gel”
  • 板子上的EMIF_CE11接的是什么类型的memory。GEL文件里面是有对应的不同的memory配置的。请仔细看一下GEL文件。在CCS中可以加载相对应的部分,参考以下链接。
    processors.wiki.ti.com/.../GEL
  • 你好,DSP没有外挂任何的memory ,整个板只是DSP单芯片在运行。EMIF接口在上电RESET时配置为HPI模式且HD[31:0]都用于普通GPIO。CCS是最新的版本。
  • 请问这只是量产中的板子个别问题吗?如果是的话,请检查一下是不是焊接问题。
  • 你好。板子没有问题的。我只是初步接触TI的DSP。GEL文件那里我删除了关于EMIF初始化和REMAP的部分,上电仿真就没有提示错误。但是在VIEW 菜单-->MEMORY BROWSER 中查看IO空间的寄存器时还是出现以下问题:
    C55xx: Trouble Reading Memory Block at 0x8800 on Page 2 of Length 0x2e4: (Error -1069 @ 0x1107A) Device memory bus has an error and may be hung. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.1.0.00012)
  • GEL文件要根据您板子上的硬件来修改。看一下GEL文件setup_memory_map()有没有对0x8800这块I/O空间设成可读写。
x 出现错误。请重试或与管理员联系。