自己的板子,用的是论坛的keystone_srio程序,板子上有三片6678,运行srio初始化程序,有两片没有问题,另外一片初始化srio有时会成功,有时会报错,错误信息是trouble reading register controlregister_csr:(error -1202 @ 0x41) device core is hung.the debugger will attempt to force the device to a ready state to recover debug control.
而且进行ccs的cpu reset和system reset也没用
不知道为什么会这样,希望TI的工程师或者各路大侠能解答一下。
谢谢!
Nancy Wang:
是固定的某一片吗?不跑srio例程,能正常连接debug吗?
user6027759:
回复 Nancy Wang:
是固定一片,只要不跑srio_init,debug是正常的
user6027759:
回复 Nancy Wang:
请问会是什么原因导致的?
谢谢!
Nancy Wang:
回复 user6027759:
有跟你类似的jtag连接报错。看一下这个链接。
software-dl.ti.com/…/ccsv7_debugging_jtag_connectivity_issues.html
user6027759:
回复 Nancy Wang:
你好,非常感谢您的回复,
我看了这个链接的内容,但是并不清楚解决这个错误的方法,请问你有解决这个错误的方法吗?还有这个错误是软件问题还是硬件问题呢?
谢谢!
Nancy Wang:
回复 user6027759:
trouble reading register controlregister_csr:无法访问csr寄存器,有点类似于链接上的这个错误。
This is an error that was recovered but the code integrity is unknown. At this point it may be possible to dump memory and try to find the source of the error.
可以试一下转储内存。
TI中文支持网