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

ccs6.2调试PRU例子出现gel运行问题

环境:ccs  Version: 6.2.0.00050 ,beaglebone black板子,通过jtag链接,仿真器为XDS100V2

调试http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs,例子一。

按文档说明进行配置PRU_CAPE.gel (文件位于pru sdk v4.0.2的<PRU_SW_PATH>/pru_cape目录下).

问题1:

jtag连接目标板正常,按文档

Run the GEL script under Scripts->Initialization->PRU_Cape_Init.

无法找到这步操作。

问题2:

点击菜单Scripts->PRU_CAPE->PRU_Cape_Init后,报错。内容如下:

CortxA8: Output: ****** PRU Cape PINMUX is being configured *****PRU_Cape_Init() cannot be evaluated.
Could not write 0x44E10990: execution state prevented access
at *((unsigned int *) 0x44e10990)=(0|5) [PRU_CAPE.gel:40]
at PRU_PINMUX_Config() [PRU_CAPE.gel:25]
at PRU_Cape_Init()

请帮忙指导解决下问题,非常感谢!


tao jiang6:

点击菜单Scripts->PRU_CAPE->PRU_Cape_Init后,报错。内容如下:

PRU_ICSS_Init() cannot be evaluated.Attempted to write past the end of memory at 0x4A300000@Program_Memory at GEL_MemoryFill(0x4a300000, 0, (16*1024), 0x0, 0xC) [AM335x_PRU_ICSS.gel:21] at PRU_ICSS_Init()

请问如何解决??????

tao jiang6:

自己回复自己。终于搞定了。gel不合适,需要修改。

一个老dsp工程师

Jian Zhou:

回复 tao jiang6:

选择BBB选项,CCS应该自带对应的gel文件

赞(0)
未经允许不得转载:TI中文支持网 » ccs6.2调试PRU例子出现gel运行问题
分享到: 更多 (0)