Tool/software: Linux
Hi there - I'm planning on developing an application that uses the A15, M4 and DSP cores on an am5728 (BeagleBoard X15) so I thought I'd start with getting accustomed to the TI SDK IPC example applications.
I've installed the Linux and RTOS Processor SDKs on my Ubuntu 14.04 build host and built out the IPC libraries (make ti-ipc-linux and make ipc_bios) and example applications (make ipc_examples).
I copied the binaries onto my board (/home/root) and pointed the corresponding symlinks in /lib/firmware to these binaries.
For the most part, the application works. I can trade messages between host and DSP2, IPU1 and IPU2 but the app fails to open a MessageQ to DSP1:
root@am57xx-evm:~# ./app_host DSP2
--> main:
--> Main_main:
--> App_create:
App_create: Host is ready
<-- App_create:
--> App_exec:
App_exec: sending message 1
App_exec: sending message 2
App_exec: sending message 3
App_exec: message received, sending message 4
App_exec: message received, sending message 5
App_exec: message received, sending message 6
App_exec: message received, sending message 7
App_exec: message received, sending message 8
App_exec: message received, sending message 9
App_exec: message received, sending message 10
App_exec: message received, sending message 11
App_exec: message received, sending message 12
App_exec: message received, sending message 13
App_exec: message received, sending message 14
App_exec: message received, sending message 15
App_exec: message received
App_exec: message received
App_exec: message received
<-- App_exec: 0
--> App_delete:
<-- App_delete:
<-- Main_main:
<-- main:
root@am57xx-evm:~# ./app_host DSP1
--> main:
--> Main_main:
--> App_create:
App_create: Failed opening MessageQ
<-- App_create:
<-- Main_main:
<-- main:
Whenever I run ./app_host DSP1
I get three messages in dmesg:
[ 3196.909673] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 3196.965791] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 3197.024193] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
It also appears during bootup that this DSP1 core crashes three times, gets handles twice but not the third time so I'm assuming that the core has crashed which is why the message fails.
root@am57xx-evm:~# dmesg | grep crash
[ 7.290236] remoteproc remoteproc2: crash detected in 40800000.dsp: type watchdog
[ 7.386553] remoteproc remoteproc2: handling crash #1 in 40800000.dsp
[ 7.495896] remoteproc remoteproc2: crash detected in 40800000.dsp: type watchdog
[ 7.503389] remoteproc remoteproc2: handling crash #2 in 40800000.dsp
[ 7.664527] remoteproc remoteproc2: crash detected in 40800000.dsp: type watchdog
I'm pretty new to troubleshooting the am5728 so I'd appreciate any recommendations regarding how to troubleshoot further. For example, should I be looking for some issues during the IPC library or example build process? Are there other DSP images I can use to test the core?
Thanks,
Dermot