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.

Exception During Fls Init execution

Hello Team,

In MCAL ti-processor-sdk-rtos-j721e-evm-08_05_00, we are getting Exception During Fls Init execution

Can you please provide an executable of sample application of FLS , so that we will directly run the executable and check the behavior of Fls_Init.

As per discussion in our previous ticket https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1211490/exception-during-fls-init-execution/4582608#4582608

we tried running the provided sample executable application files that is 

fls_app_dac_mcu1_0_release.xer5f

fls_app_indac_mcu1_0_release.xer5f'

Now we are able to able CCS set up but getting exception while running above shared executables we are getting exception from Board_Init as shown in Image.

Please let us know, how we can resolve this 

Regards,

Pradeep R

  • Hello Pradeep,

    After CCS setup is done,

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/08_06_00_12/exports/docs/psdk_rtos/docs/user_guide/ccs_setup_j721e.html

    Please follow steps from 6.3.2 section.

    After launching selected configuration, load the GEL script and then you can see "Happy debugging " on scripting console.

    From the attached snippet I see you have loaded the executable on Main domain core but the executable i shared is of MCU1_0 so load it on MCU_CORTEX_R5_0.

    Before loading on MCU1_0 , select MCU_Cortex_R5_0 and do CPU reset (Shift+Ctrl+R) or you can see black icon in the top menu.

    Now go to run ->load -> program ->( load the fls_indac exectubale i shared)

    Let me know you face any issue while doing this.

    Regards

    Tarun Mukesh

  • Hello Tarun,

    I tried to execute all the mentioned steps above but still we are not able to see fls initialization clearly and the shared executable always stops at abort fucntion.

    Please find the screenshot the CCS image. where even CPU reset and loading into R5 Core is executed.

    Please let me know if anything else need to be executed

    Regards,

    Pradeep R

  • Pradeep,

    Are you seeing prints on MCU UART as below ?

    fls_app_indac_mcu1_0_release.xer5f'

    I took the same executable shared to you and running at my end ,

    i got the above prints and exited.

    The source code FlsApp.c in the screenshot you shared is not of INDAC mode .

    In INDAC mode FlsApp.c line 418 we can see 

    Are you opening it manually or after loading the executable FlsApp.c is getting opened ?

    Have you ensured for using OSPI the SW3 switch setting should be : 0XXX_XXXX ?

    Regards

    Tarun Mukesh