TI中文支持网
TI专业的中文技术问题搜集分享网站

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自带的文件 请问如何解决呢?

Nancy Wang:

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文件与你的板子匹配吗?

GuangHua Huang:

回复 Nancy Wang:

你好,仿真是量产中的板子。GEL文件是默认的文件夹中的I:\ti\ccs901\ccs\ccs_base\emulation\gel“c5502.gel”

Nancy Wang:

回复 GuangHua Huang:

板子上的EMIF_CE11接的是什么类型的memory。GEL文件里面是有对应的不同的memory配置的。请仔细看一下GEL文件。在CCS中可以加载相对应的部分,参考以下链接。
processors.wiki.ti.com/…/GEL

GuangHua Huang:

回复 Nancy Wang:

你好,DSP没有外挂任何的memory ,整个板只是DSP单芯片在运行。EMIF接口在上电RESET时配置为HPI模式且HD[31:0]都用于普通GPIO。CCS是最新的版本。

Shine:

回复 GuangHua Huang:

请问这只是量产中的板子个别问题吗?如果是的话,请检查一下是不是焊接问题。

GuangHua Huang:

回复 Shine:

你好。板子没有问题的。我只是初步接触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)

Shine:

回复 GuangHua Huang:

GEL文件要根据您板子上的硬件来修改。看一下GEL文件setup_memory_map()有没有对0x8800这块I/O空间设成可读写。

user5356156:

回复 Shine:

赞一个

赞(0)
未经允许不得转载:TI中文支持网 » TMS320C5502 仿真时提示 Trouble Reading Memory Block
分享到: 更多 (0)