Quantcast
Channel: 达芬奇(Davinci™) - 最近的话题
Viewing all articles
Browse latest Browse all 3112

DM8127在CCS上加载调试A8核

$
0
0

参考链接:http://processors.wiki.ti.com/index.php/Connecting_to_DSP_on_C6A8168,_DM8168,_DM8148

我载的dm814x相关的gel文件具体使用文件为附件中 IOExpansion_test_2.x.gel

操作步骤如下

1.通过串口停止uboot进一步加载

2.按照参考链接配置gel文件,launch Configuration 后connect A8核 在scripts中执行DM814X system Initialization->DM814x_System_Initialisation_GP_driver();

3.执行结果如下:

CortexA8: GEL Output:
PLL and Control MMR unlock done ...
CortexA8: Output: DM814X ALL ADPLL INIT IS IN PROGRESS,Please wait .....
CortexA8: Output: DM814X MODENA_PLL Init is in Progress, Please wait .....
CortexA8: GEL Output: ADPLLS CLKOUT value is = 600
CortexA8: Output: DM814X MODENA_PLL Init is Done
CortexA8: Output: DM814X MODENA_PLL is initialized to 600Mhz
CortexA8: Output: DM814X DSS_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X DSS_PLL Init is Done
CortexA8: Output: DM814X DSS_PLL is initialized to 200MHz
CortexA8: Output: DM814X DSP_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X DSP_PLL Init is Done
CortexA8: Output: DM814X DSP_PLL is initialized to 500MHz
CortexA8: Output: DM814X SGX_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X SGX_PLL Init is Done
CortexA8: Output: DM814X SGX_PLL is initialized to 200MHz
CortexA8: Output: DM814X IVA_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X IVA_PLL Init is Done
CortexA8: Output: DM814X IVA_PLL is initialized to 266MHz
CortexA8: Output: DM814X ISS_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X ISS_PLL Init is Done
CortexA8: Output: DM814X ISS_PLL is initialized to 400MHz
CortexA8: Output: DM814X USB_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X USB_PLL Init is Done
CortexA8: Output: DM814X USB_PLL is initialized to 200MHz
CortexA8: Output: DM814X DDR_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X DDR_PLL Init is Done
CortexA8: Output: DM814X DDR_PLL is initialized to 666MHz
CortexA8: Output: DM814X AUDIO_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X AUDIO_PLL Init is Done
CortexA8: Output: DM814X AUDIO_PLL is initialized to 200MHz
CortexA8: Output: DM814X HDMI_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X HDMI_PLL Init is Done
CortexA8: Output: DM814X VIDEO_0_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X VIDEO_0_PLL Init is Done
CortexA8: Output: DM814X VIDEO0_PLL is initialized to 54MHz
CortexA8: Output: DM814X VIDEO_1_PLL Init is in Progress, Please wait .....
CortexA8: Output: DM814X VIDEO_1_PLL Init is Done
CortexA8: Output: DM814X VIDEO1_PLL is initialized to 148.5MHz
CortexA8: Output: --- SATA PLL Locked
CortexA8: Output: **** DM814X ALL ADPLL INIT IS COMPLETE *******
CortexA8: Trouble Writing Memory Block at 0x48100100 on Page 0 of Length 0x4: (Error -1065 @ 0x3D5A) Unable to access device memory. 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 5.1.73.0)
DM814X_System_Initialisation_GP_device() cannot be evaluated.
target access failed
at *((unsigned int *) 0x48100100)=(unsigned int) 0x01031FFF [IOExpansion_test_2.x.gel:708]
at PLL_CLOCKS_Config() [IOExpansion_test_2.x.gel:865]
at DM814X_System_Initialisation_GP_device()

在0x48100100出寄存器操作失败,

对应的GEL文件中语句是:

WR_MEM_32(0x48100100, 0x01031FFF);
//WR_MEM_32(0x48100114, 0xC010E);
//WR_MEM_32(0x48100118, 0xF);

如果把“WR_MEM_32(0x48100100, 0x01031FFF);”注释掉,GEL脚步不能正常执行完毕。

0x48100100寄存器说明如下:

疑问:

1.0x48100100寄存器为何不能操作。

2.想要利用CCS对A8进行调试是否初始化:PSC、PLL、DDR、即可

3.因为缺乏linux基础和多核调试经验,想在CCS上进行A8和DSP的单核调试,直接添加至liunx体系下,不知该思路是否可行

求解答(ㆀ˘・з・˘)


Viewing all articles
Browse latest Browse all 3112

Trending Articles