Part Number: CC2652R
Tool/software: Code Composer Studio
Hello,
I am trying to debug a hang using the CC2652R1 (a Cortex M4 part). I am using TI/RTOS with multiple task threads and I can run in the debugger. Occasionally the device hangs or crashes. I have the assert handler registered but I never see any assert output:
/* Register Application callback to trap asserts raised in the Stack */ RegisterAssertCback(AssertHandler);
The handler uses Display_print0. Throughout my code I use Display_printf() to print to the UART which all works until the hang and then no more output comes to the UART display.
I also tried running the ROV. It does run and seems to connect but if I use the Task view (for example to see what is going on) I get this error (even if the program is running fine in the debugger, not hung or crashed):
Error: java.lang.Exception: Target memory read failed at address: 0x200050b4,
length: 76 This read is at an INVALID address according to the application's section map.
The application is likely either uninitialized or corrupt.
I also tried the Trace view, but it just says "Please select a connected target that supports Trace."
Are there things to do to correct these issues or is there a better way to see where the process is hanging or crashing?
I'm using CCS 9.1.0.
Thanks for your help!