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.

A15 Core entering into Suspended mode while trying to debug in CCS

Hi,

We are working in TDA2x Vayu Vision board with Vision SDK framework. We are using Code Composer Studio v6.0.0 for debugging purposes.

When we try to debug using CCS v6.0.0 in 7-inch display TDA2x board, the binaries(generated from Vision_sdk_02_07) are getting loaded for all the cores.
But when we try to run the cores,all cores are running whereas A15 cortex is entering into the suspended mode.

The same setup and binaries are working fine in 10 - inch TDA2x board. Is there any dependency on the version of sdk or board ?
Is the source lookup path mentioned below is correct ?

SOURCE LOOKUP PATH : D:\VSDK_02_07\ti_components\os_tools\bios_6_41_04_54\packages\gnu\targets\arm\rtsv7A\syscalls.c

SOURCE LOOKUP PATH : D:\VSDK_02_07\ti_components\cg_tools\windows\ti-cgt-arm_5.2.4\lib\src\assert.c

Atached the screenshot  of the error while it is entering into Suspended mode. 

Kindly help us in solving this issue. Thanks in advance.

Regards,

Niranjana

  • Niranjana,

    We are checking with the apps team to see if there is any difference in these boards that would trigger this. To CCS it really shouldn't matter if it is a 7 inch or 10 inch display. there may be a setting on the board that triggers it to go into suspend.

    Regards,
    John
  • Hi John,

    Thank you for the response. Hope we will get a solution for this issue :)
  •  

    Niranjana

    Vision SDK support menu option to pick either 7 inch or 10 inch LCD display.

    BTW, did you check the demo works well with 7 inch LCD with SD boot option, I mean without CCS?

    Regards, Shiju

  • Hi Shiju,

    I have cross checked again. The demo and even our algorithm is working fine in 7-inch board without CCS also. I tried connecting CCS again. But same problem persists.

    To brief about the issue again, I have a framework which has DSP1, EVE1 and DSP2. After loading binaries to all the cores in CCS, when I initially run A15, it is entering into running mode as expected. The same with DSP1 and DSP2 too. But when I tried to run the last core(EVE), EVE is entering into Running mode but then A15 is running into Suspended mode as explained in the previous queries.

    The same issue happens irrespective of the framework used.

    Regards,
    Niranjana
  • Hi NiranjanaThanks for the details,
    I am a bit confused with your last post, you said your build is having 3 cores DSP1, DSP2 & EVE1. In that case you only need to connect A15 to run the GEL scripts, in case of CSS based load/run. Once you run all the valid cores, you can even keep the A15 in suspended mode or just run, doesn’t matter the state of A15. You need to load and run A15 binaries only when you have A15 core is included in the build.
    regards, Shiju
  • Hi Shiju,

    Thank you for your reply and sorry for the confusion and delay.

    In our case, A15 is also included in the build, but our algorithm is running in other cores as mentioned above. Just for the experiment sake, When we tried to run CCS without loading binaries for A15, we are not getting the usecase menu in tera term. As usecase menu itself is not getting displayed, we are unable to select the options to run the algorithm and proceed further. The same is happening in both 10 inch and 7 inch boards.

    Regards,
    Niranjana
  • Hi Niranjana,

    You must load & run all the cores included in your build. 

    If A15 is included then, even though nothing is running on A15, A15 should be loaded & run, else the IPC attach between A15 & all other cores will not happen. Other cores will be waiting for IPC attach with A15 to happen/success. 

    If you do not want to use A15, then please remove A15 from the build, in that case you can run your demos without A15 load/run.

    Regards, Shiju

  • Hi Shiju,

    Thank you for the response and it finally worked :)

    As you suggested, I excluded A15 from both build and loading binaries. It is working and I am able to debug in 7 - inch board too.

    Just out of curiosity, I have another query.

    As my algorithm is not running in A15, it is fine for now. But suppose when I have any of my algorithm running in A15,
    I have to load binaries for A15 too after building it. If that is the case, whne I try to do the same, A15 is entering into suspended mode as explained in the first query.

    Is there any solution for this ?

    Thanks & Regards,
    Niranjana