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.

AM2634: How to run IPC Example code

Part Number: AM2634
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hi Ti,

i am trying to flash the IPC example code ipc_safeipc_echo_am2634-cc_r5fss0-0_freertos_ti_arm-clang which you provided.



I saw in readme file expected output 



can you say what i need to do to achieve this....your comments is mostly  welcome.

  • Hi AK,

    Can you confirm the following questions:

    1. What is the EVM being used?
    2. What version of CCS?
    3. What version of MCU+SDK for AM263x?

    Can you try using the examples/drivers/ipc/ipc_notify_echo example (versus the ipc_safeipc_echo example mentioned)?

    Thanks and Regards,

    Zackary Fleenor

  • hi Fleenor,

    1. I am using EVM AM2634.
    2.CCS 12.5.0

    3. SDK version mcu_plus_sdk_am263x_09_02_00_55


    i followed same steps which is mentioned in readme file 

    so, i did the changes below,

    mode = 1 and i build this project and i flashed but i could't able to get the output which i expected.

    here i can able to flash my file but here file is struct

    /* wait for all cores to be ready */
    IpcNotify_syncAll(SystemP_WAIT_FOREVER);

     

    can you say ur suggestion what i need to do and ur answer is mostly welcome.

  • Which boot mode are you using?

    Also are you loading all the cores via jtag?

  • Hi nilabh Anand,

    now i flashed my code in uniflash and i tried to blink one led in one core and 2nd led in one more core it is working fine...

    my requirement i needed to use only ipc_safeipc_echo example code so using that we could be able to transmit the data using RPMessage_send function and using this RPMessage_recv  function i used to receive the data.

    i need to verify few clarification few thing with you

      
    so here when ever core 0 send data uisng RPMessage_send() the core 1 get trigger inside the App_CrcHookFxn_1 function i created the function called debug_log("flag setted") so i got the expected message in debug log; but i didn't implement any debug_log() function in core - 0 but the Flag setted message we are getting in the core - 0 it is reflecting, can u explain why?

    com 23 is the main core and com 28 is the remort core message data i am getting in the serial port and why this message if FLAG_SETTED is reflecting in both the core. I implemented debug_log in only one core r5ss0-1?


    can you explain this scenario yours input is mostly welcome....

  • Hi,

    The ipc_safeipc_echo example needs to be build under system_freertos_nortos folder to generate a combined image for core0 and core1. Then the SBL could be used to load this to both the cores. 

    Could you let me know if you are following this procedure?

    Thanks and Regards,

    Nikhil Dasan