Does Code Composer Studio offer any tools that can catch null pointer de-references?
I am using CCV5 and can upgrade to a newer version 6 if it offers any such capabilities.
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.
Does Code Composer Studio offer any tools that can catch null pointer de-references?
I am using CCV5 and can upgrade to a newer version 6 if it offers any such capabilities.
I am not aware of any CCS specific functionality to catch a NULL point de-reference.
However, since the first peripheral is at address 0x100 you should be able to set a breakpoint on access to any memory in the range 0x0 - 0xff, which will be a sign of de-referencing a NULL pointer.
To do that see A.4 Break on Access of Invalid Memory in "Advanced Debugging Using the Enhanced Emulation Module (EEM) with Code Composer Studio" and set the Range Start: 0x0 and Range End: 0x100
[The referenced document is written for CCS 6 and I haven't checked if the same functionality existed in CCS 5]
**Attention** This is a public forum