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

8148仿真时A8核连接正常,也能仿真运行,但是DSP核打不开

运行的CCS5.5,仿真器是XDS510plus。

下面是仿真的错误信息:

CortexA8: Trouble Reading Memory Block at 0x481c5284 on Page 0 of Length 0x4: (Error -1045 @ 0xFFFFFEED) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)DM814X_System_Initialisation_GP_device() cannot be evaluated.
Target failed to read 0x481C5284
at (*((unsigned int *) (Base_Address+0x24))&0x00000600) [PG2.1_DM814X_20Mhz_Si.gel.gel:1233]
at PLL_Clocks_Config((0x481C5000+0x260), 20, 19, 960, 1, (0x00000801+0x200a0000)) [PG2.1_DM814X_20Mhz_Si.gel.gel:996]
at USB_PLL_Config() [PG2.1_DM814X_20Mhz_Si.gel.gel:881]
at PLL_CLOCKS_Config() [PG2.1_DM814X_20Mhz_Si.gel.gel:865]
at DM814X_System_Initialisation_GP_device()
CS_DAP_DebugSS: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 0.0.0.0)CortexA8: Trouble Reading Register REG_ENDIAN: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CPSR: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_CONTROL_REGISTER: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_MMU_XLATION_TABLE_BASE_CONTROL: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_MMU_XLATION_TABLE_BASE_0: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_MMU_XLATION_TABLE_BASE_1: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_MMU_DOMAIN_ACCESS_CONTROL: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CPSR: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_CONTROL_REGISTER: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_MMU_XLATION_TABLE_BASE_CONTROL: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_MMU_XLATION_TABLE_BASE_0: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_MMU_XLATION_TABLE_BASE_1: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register CP15_Registers_CP15_MMU_DOMAIN_ACCESS_CONTROL: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Trouble Reading Register SP: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Error: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)CortexA8: Unable to determine target status after 20 attempts
CortexA8: 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

运行到这个地方卡了好久

Chris Meng:

Chi Xiaoyan,

你是否有和seed确认过他这款仿真器可以支持DM814x?链接A8的时候,请确认板子上没有运行代码,或者停止在uboot下。

DSP连不上是因为DSP需要ARM gel将其脱离复位状态。在A8的GEL里面有初始化DSP的脚本,DM8148 EVM的gel里面装连接A8的时候就回去初始化DSP,但从你的截屏看gel的初始化并没有完全执行结束。

xiaoyan Chi:

回复 Chris Meng:

你好,seed那面说可以使用,现在发现一些问题,在运行gel脚本的时候,卡在USB_PLL这里,板子是公司自己做的,调试的时候发现在写数据到GPIO_OE寄存器0x4803 2134这个地址时,程序会跑飞。

xiaoyan Chi:

回复 Chris Meng:

我把USB_PLL注释掉之后,最后显示完成PLL配置,但是DSP还是处于复位状态。

xiaoyan Chi:

回复 Chris Meng:

谢谢你的帮助,我更换了gel文件,之前用的EVM的gel,更换之后打开脚本开启dsp就可以连接dsp了,但是如果运行usb_pll依然卡在这里。

赞(0)
未经允许不得转载:TI中文支持网 » 8148仿真时A8核连接正常,也能仿真运行,但是DSP核打不开
分享到: 更多 (0)