This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM263P4: IPC Example Project (rpmsg_echo) Gets Stuck

Part Number: AM263P4

Tool/software:

Hello,

I've started working with the AM263P4 launchpad board, and I cannot get IPC working. I'm running the ipc_rpmsg_echo example project (the whole system project), it build and runs, it also will debug, but when I don't get the expected output of 

DebugP_log("[IPC RPMSG ECHO] All echoed messages received by main core from %d remote cores !!!\r\n", numRemoteCores);
DebugP_log("[IPC RPMSG ECHO] Messages sent to each core = %d \r\n", gMsgEchoCount);
DebugP_log("[IPC RPMSG ECHO] Number of remote cores = %d \r\n", numRemoteCores);
DebugP_log("[IPC RPMSG ECHO] Total execution time = %" PRId64 " usecs\r\n", curTime);
DebugP_log("[IPC RPMSG ECHO] One way message latency = %" PRId32 " nsec\r\n",

(uint32_t)(curTime*1000u/(gMsgEchoCount*numRemoteCores*2)));
Instead every core gets stuck in 
void __attribute__((interrupt("UNDEF"), section(".text.hwi"),weak)) HwiP_user_undefined_handler_c(volatile uint32_t ADDRESS,volatile uint32_t SPSR){
    volatile uint32_t loop = 1;
    while(loop != 0U){ ; }
}
 where in the variables section it says ADDRESS: 0, loop: 1, and SPSR: 536871355
I would appreciate any assistance with this problem to get interprocessor communcation working. Thanks!
  • Hello Donovan,

    I was able to replicate the issue on my end. Please allow me till the end of the week to review.

    One thing I noticed on my end.

    R5FSS0-0

    SPSR: 536871099

    All Other Cores:

    SPSR: 536871355

    Can you confirm you are seeing the same?

    Best Regards,

    Zackary Fleenor

  • Thank you for your quick response, I just confirmed that I'm seeing the same SPSRs on my end.

  • Hey Donovan,

    Thanks for confirming, wish I could have been as quick to respond with a valid answer. I am still digging into this on my end and plan on looping in our SW/SDK IPC expert for additional insight. Please allow us till Wednesday next week to sync offline and provide additional information.

    Best Regards,

    Zackary Fleenor