Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi
I'm using SYSBIOS V6.46.5.55 for my Cortex A15 program on IDK5718.
I'm having difficulties in restarting and/or reloading my program.
To be sure that the problem is not within my program I tried I TI example project
(clock_IDK_AM571X_CortexA, from CCS 7.3 Resource Explorer Classic)
When I have everything shut down (power off on IDK board, CCS disconnected) I do this:
- Launch Target configuration
- Connect to Target
- Load the program
The debugger halts on main() and running the program is fine.
When I pause the program and reload the program (without modification).
I halts on main, but then it crashes. After inserting some debug code I could see that
the SYSBIOS function Clock_create returns with a NULL-Pointer and the error block
message says: "out of memory".
It seems that reloading the program does not reset everything to default values.
As said above I have similar problems with my own application where the program crashes after a reload.
But before I continue there I want to be able to reload an even simpler program like the clock example.
How do I properly reload or restart a Cortex A15 SYSBIOS application?
Regards,
Markus