I’m planning to use two different ARM applications, both using the DSP. I’m following http://processors.wiki.ti.com/index.php/Link_Arbiter_Daemon to try to use LAD. I have the fist fully functional application and I converted it to use LAD. The problem is that it hangs on startup. I spent a few days trying to troubleshoot it, but ran out of ideas.
Here are the last lines of the app with CE_DEBUG=3
@17,716,320us: [+0 T:0x4358db60 S:0x4358d434] CE - Engine_open> Enter('aecodecs', 0x0, 0x4358d47c)
@17,716,539us: [+0 T:0x4358db60 S:0x4358d41c] OM - Memory_alloc> Enter(0x2c)
@18,272,025us: [+0 T:0x4358db60 S:0x4358d41c] OM - Memory_alloc> return (0x172218)
@18,272,260us: [+0 T:0x4358db60 S:0x4358d434] CE - rserverOpen('all.x64P'), count = 2
@18,272,460us: [+0 T:0x4358db60 S:0x4358d434] CE - rserverOpen('all.x64P'): 0x1635c0 done.
@18,272,659us: [+0 T:0x4358db60 S:0x4358d41c] OM - Memory_alloc> Enter(0x1c)
@18,272,850us: [+0 T:0x4358db60 S:0x4358d41c] OM - Memory_alloc> return (0x172248)
@18,273,063us: [+0 T:0x4358db60 S:0x4358d40c] OC - Comm_create> Enter(queueName='aecodecs_2', queue=0x172228, attrs=0x0)
@18,273,286us: [+0 T:0x4358db60 S:0x4358d3f4] OM - Memory_alloc> Enter(0x4)
@18,273,474us: [+0 T:0x4358db60 S:0x4358d3f4] OM - Memory_alloc> return (0x172268)
@18,274,046us: [+0 T:0x4358db60 S:0x4358d40c] OC - Comm_create> return (0x172268)
@18,274,294us: [+0 T:0x4358db60 S:0x4358d40c] OM - Memory_free> Enter(0x172248, 0x1c)
@18,274,508us: [+0 T:0x4358db60 S:0x4358d40c] OM - Memory_free> return (0x1)
@18,274,690us: [+0 T:0x4358db60 S:0x4358d414] OC - Comm_alloc> Enter(poolId=0x0, msg=0x172234, size=576)
@18,274,931us: [+0 T:0x4358db60 S:0x4358d414] OC - Comm_alloc> msg=0x465c1c80, returning (0)
@18,275,134us: [+0 T:0x4358db60 S:0x4358d3f4] OC - Comm_locate> Enter(queueName='rmsq', queue=0x172224)
And the log from lad:
Initializing LAD...
running LAD config inits...
opening FIFO: /tmp/LAD/LADCMDS
LAD_CONNECT:
client FIFO name = /tmp/LAD/1179
client PID = 1179
assigned client handle = 0
FIFO /tmp/LAD/1179 created
FIFO /tmp/LAD/1179 opened for writing
sent response 0;0;
DONE
LAD_STARTUPDSP:
cpuId = 0
configName = CE_default
imageName = all.x64P
absolute server path = /opt/ae/all.x64P
client handle = 0
linkConfigId = 1
PROC_setup - OK
PROC_Attach - OK
PROC_Load - OK
POOL_Open - OK
PROC_Start - OK
MSGQ_TransportOpen - OK
LAD_SUCCESS
sent response string 0
DONE
I would appreciate any help.