Other Parts Discussed in Thread: TMP006
Tool/software: TI-RTOS
Hello All,
I'm having a problem debugging some code for a TM4c129ENCPDT processor utilizing the TIRTOS. Specifically, I cannot step over certain functions without getting an exception (hard fault) and aborting. Once that happens, I'm off in the weed somewhere with no symbols available. I'm aware of the trick of replacing the SP and PC with the values from the exception dump, but in these cases even then there are no symbols for the locations.
Here are some other interesting data points:
1) I can run the code without stepping and it seems to work fine.
2) I can place breakpoints before and after the offending function calls, hit the first one, then run to the second one, and that works fine. I just can't step over the function call, or I get the results mentioned above.
3) I mention I2CTransfer as an example, but there are other cases too. I ~think~ the common denominator is that the RTOS is rescheduling during that function call.
4) I am using an XDS100V2 jtag probe.
5) This job uses proprietary hardware, but its essentially just a reference design with some ADC and memory peripherals.
My best guess is that it has something to do with the ability of the debugger to place its breakpoint when stepping, despite my being able to do it manually.
Thoughts? Suggestions?
It's quite difficult and time consuming to revert to serial or console output for debugging. Plus, it brings its own timing issues.