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

Ipc_start无法完成

Other Parts Discussed in Thread:TDA2HV

1 .在使用仿真器打断点时程序总是停到 ipc_start()附近(已 正常连接ipu1_c0,并下载vision_sdk_ipu1_0_debug.xem4到芯片)

或 到此处:

请问是哪里的问题,如何配置使其能正常debug?

Nancy Wang:

请问使用的是哪款芯片?测试的是哪个程序?

,

user6243290:

TDA2HV,是由之前工程师自己集成的程序。请问这个IPC怎么配置才可以继续debug?

,

Nancy Wang:

我对这款芯片不太熟悉,一般来说操作过程是将需要的核加载相同的程序之后,依次运行。
cfg文件中的Ipc.procSync是如何配置的?是要同步所有的核还是部分?可以看一下下面的英文解释。
Ipc.ProcSync_ALL. If you use this option, the Ipc_start() API automatically attaches to and synchronizes all remote processors. If you use this option, your application should never call Ipc_attach(). Use this option if all IPC processors on a device start up at the same time and connections should be established between every possible pair of processors.

Ipc.ProcSync_PAIR. (Default) If you use this option, you must explicitly call Ipc_attach() to attach to a specific remote processor.

If you use this option, Ipc_start() performs system-wide IPC initialization, but does not make connections to remote processors. Use this option if any or all of the following are true: – You need to control when synchronization with each remote processor occurs. – Useful work can be done while trying to synchronize with a remote processor by yielding a thread after each attempt to Ipc_attach() to the processor. – Connections to some remote processors are unnecessary and should be made selectively to save memory. – Ipc.ProcSync_NONE. If you use this option, Ipc_start() doesn’t synchronize any processors before setting up the objects needed by other modules.

,

user6243290:

我是新手,第一次用这种片子。感谢回复!这个芯片应该就是DRA7x系列。

你说的配置是IPC_common.cfg么?我的配置是“

if( A15TargetOS == "Bios" ){ Ipc.procSync = Ipc.ProcSync_ALL;}if( A15TargetOS == "Linux"){

Ipc.procSync = Ipc.ProcSync_PAIR;}

应该是第一个,我不确定。这个配置文件如何打断点?

我现在连上A15和M4后只下载了.xem4,然后就出现了问题里的情况。我现在单步执行,想看一下相关配置,但是这些变量都是UNKNOWN,请问这怎么回事,哪里没有配好?           这个IPC的问题  接下来我该怎么做?

,

Nancy Wang:

如果是第一个Ipc.procSync = Ipc.ProcSync_ALL同步所有的核调试看看,如果是 Ipc.ProcSync_PAIR就看一下Ipc_attach是同步的哪些核。
最好是阅读一下你使用的SDK的user guide。

,

user6243290:

感谢回复,我正在看关于IPC的ppt,那些变量unknown是怎么回事,怎么解决,我才能继续调试这个IPC_start?

赞(0)
未经允许不得转载:TI中文支持网 » Ipc_start无法完成
分享到: 更多 (0)