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.

debug root cause of code crash

Hi All,

i am looking for some docs or example snapshots for "How to debug root cause of code crash". I am running my code on c66xx core.

The problem scenario is :

I am running my code on c66x core. Whenever i gets code/system crash, I have to debug the root cause of crashing. 

Normally the procedue earlier we were following was.. whenevr code crash happened, we captured the contents of memory plus CPU registers. Then we were loading these contents in the form of GEL and OUT file in CCS v3.3. Then after loading we were sucessuly able to watch register and memory window

Now my concern is...

(1) Now we are using CCS v4. So I am not sure whether GEL file format remains same or not.

(2) Is there any other way of analysing code crash in CCS v4. I check the wiki page  http://processors.wiki.ti.com/index.php/Crash_Dump_Analysis . but This expects a crash dump file. i do not know How do i create file.

  • hello Sandeep,

    I notice you posted the same (or similar) question 3 different times from two different accounts. Please only use one account and stick to just one post. I will delete the other two duplicates.

    Now back to your questions:

    sandeep Gulati said:
    (1) Now we are using CCS v4. So I am not sure whether GEL file format remains same or not.

    Most of GEL remains the same in v4. Some calls related to the GUI (like WatchAdd and Window and such) are not supported. But GEL can still be used to access registers and memory. If you GEL script does not have any GUI dependencies, it should work with v4

    sandeep Gulati said:
    (2) Is there any other way of analysing code crash in CCS v4. I check the wiki page  http://processors.wiki.ti.com/index.php/Crash_Dump_Analysis . but This expects a crash dump file. i do not know How do i create file.

    It is up to you to capture the data. That is mentioned in the wiki. How you do it is completely up to you. You just need to format the data afterwards as described in the wiki

    Also, CCSv4 is pretty old. If you can move to CCSv5, that would be better.

    Thanks

    ki