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.

LP-AM243: In the second debug attempt in a row for RESET_ISOLATION example, I get some errors

Part Number: LP-AM243
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello;

When I try to debug Reset_Isolation edxample project, I am getting the error which is you are going to see in the picture. And twhen I ignore and continue, application does not work properly.





[MAIN_Cortex_R5_0_0] [Error] Sciclient event config failed!!!
ASSERT: 0.2263s: syscfg/ti_drivers_config.c:Sciclient_gpioIrqSet:118: FALSE failed !!!

It fixed only when I pressed SW2 before debug but this is not something I want to do.
Any assumption/recommendation???


Regards
Kadir

  • Hello Kadir,

    The code is working as expected.

    Please see my analysis point.

    You have loaded the example from CCS

    So, your application is using Resource allocation for GPIO MUX Router and which need to be configured by SYSFW.

    Then, R5F requesting GPIO MUX Router channels allocation to SYSFW core  for your Application and it is allocated . This is fine.

    Now, you are not resetting the HW and loading the same example from CCS . At this step, again you requesting GPIO MUX router channels for your application, then SYSFW will not allow your request since these resources are already allocated by SYSFW in first time. So, you may get SCI client failure .

    Even if you do CPU reset does not help you since , CPU reset is mainly for local CPU reset and not for SYSFW  .

    So, to solve this error we need to do WarmReset or POR the device .

    Try this below approach , you will not get any issue .

     Load "Reset Isolation example" from CCS → System Reset from CCS →Repeat

    Actually, after pressing the SW2 you don't get any problems since the SW2 also performs the MCU_WARMRESET .

    Then this Reset is propagated through MAIN and MCU domains .

    Regards,

    Anil.

  • Hi Anil;

    Thank you for your response.

    I have completed everything including the GPIO router settings from Sysconfig. So I understand that there is nothing I can do in this case other than MCU_WARMRESET. Could you please confirm?

    Regards
    Kadir

  • Hello Kadir,

    Yes, to solve the issue above, we need to do WarmReset or POR.

    This warm reset can be done from either Software or Hw is also fine.

    If you want to reset the SOC from CCS, then you can try the method below.

    Regards,

    Anil.