Tool/software:
Hejjo,
Being a newbe in CCS, I need some help from the forum.
I am debugging a nortos project, that behaves strange. The program ends up in FaultISR. This happens when I try to send a packet via ethernet on a enc28j60 attached to SPI.
I have debugged on many platforms in the past, but I fail to find tools / how to use them. What I would need is a stack trace, so I can see where this fatal error occured.
The program runs for hours with small packets (60 bytes), but every now and then it hits the faultisr , always on a larger packet ( 183 bytes) and I have been unable to predict when and how this happens.
How do I display the stack pointer at crash? Register contents?
How do i dump the stack after crash?
How to do the required detective work?
I have no problem with arm architecture or assembly language....but where are the tools?
Since packet size seems to trigger this, and my buffers are sized OK, I guess there is some operation in supporting no-rtos code that causes this. So an attempt to increase stack size could be a good try.
My CCS is 12.8.0.00012, and this happens on LAUNCHXL-cc1312 board, but also on my own board.
Regards,
Gullik