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.

CCS: How can I set up a crash condition in SW and collect the crash dump and load it

Tool/software: Code Composer Studio

Hi

I am wondering how i can 

1. To crash the system at certain condition, for example, what API i should call to crash the system

2. How does the system collect the crash dump if the crash condition meets? For example, once i call API in step 1, will I need to configure SW to collect the crash dump and save somewhere?

3. I guess i can follow this http://processors.wiki.ti.com/index.php/Crash_Dump_Analysis  to do the analysis?

The idea is to trigger certain crash at certain condition and check some data structure or variable via crash dump without JTAG connected. It's more for field debug purpose. 

Thank you for your help. 

  • Hello,
    As mentioned in the wiki article that you referenced, it is up to the user to determine the technique to capture the data, transfer it to a file on the host, and format the data in a way that can be analyzed by DSS/CCS. There is no built-in API to do this for you as each system is different and it is expected to be implemented by the user. Same with "crashing" the system.

    Thanks
    ki