I have been working on some ipc examples to demonstrate data flow between DSPs and PPC on the B4860 eval board. The examples worked with data transferring between the PPC and StarCore. Then I started working on the ipc_integration example provided by Freescale to give our team a more simple example to work from, but a little while after I started, the hardware semaphore that syncs the PPC and StarCore to allow messages to be sent and received no longer worked: I just got "sleep 1, waiting for hw sem", repeated (while using /ipc/dsp_bt to load the DSPs with the binaries compiled by CodeWarrior). I also tried to revert to my old examples, which previously worked, and they had the same response. IPC just stopped working. I then looked to CodeWarrior to see what was happening, and when I entered the Debug configuration, the instruction pointer was at 0x0, and I could only see DEAD BEEF in memory. Any thoughts as to why this is happening and what I can do about it?
Hello Chandra Mills,
According to your description, it seems that DSP side doesn't boot up correctly. Probably the problem is related with ipc tool or DSP boot code. Please refer to the following procedure to setup IPC channel to load DSP boot code.
System configuration to build images:
1. Disable the Kernel dma engine Device Drivers ---> 2. Enable Userspace's I/O driver Device Drivers ---> 3. Build below packages into rootfs NOTE: meta-fsl-networking/images/fsl-image-core.bb IMAGE_INSTALL += " \ ipc-ust \ |
Actions on the target board. | |||||
|
|
Thanks for your reply.
Is there any guide to converting code from version 10.8.3 to 10.9?