Tool/software: TI-RTOS
We are having a problem using the debugger with our application. Here are some of the pertinent details about our application:
- The processor is a TMS320F28335.
- We have tried using the XDS100v2 and the XDS510LC debugger with similar results.
- We are using CCS IDE 6.1.0, BIOS ver 6.35.4.50 and XDC ver 3.25.4.88
We can initially get the debugger to connect and show it started at the beginning of main.
The debugger can step through code at the beginning of main just fine.
As soon as it hits BIOS_start() function the code seems to act funny and we can no longer debug properly. If we pause the code it just stops, and we get no source available for the memory address it stops and doing assembly stepping just stays on that address.
When we place a breakpoint in a task or a HWI we know should be occurring regularly the breakpoint is never reached so it doesn’t appear BIOS ever starts up correctly or at least it never gets the tasks going and the HWI’s are not occurring.
The original developer does have a hex file that is created from what should be the same source code and that file runs correctly on the board. When we build the hex file and just program that in the board it also does not run correctly so it could be something is not building correctly. The hex files do not come out to the same size and a file compare shows they are not the same file.
Our theory is some kind of exception or stack over flow in a task might be happening, though we are uncertain about that.
There are some screen shots below that show the code initially connecting to the debugger and starting at main, stepping through the initial main C code and then reaching BIOS_start() and the code going off in the weeds for some reason.
Hopefully someone has some suggestions to try that might help us get this working properly. Thank you.