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