Hi,
I use CCS 5.5.0 to run the simple task example for an eZDSP5535 usb. I create this project from the CCS example project with only added one LOG_printf. Anyway, I don't think it will make any difference to the TSK_idle object.
Void main()
{
LOG_printf(&trace, "bigTime started.");
LOG_printf(&prdLog0, "bigTime xxx started.");
}
/*
* ======== task ========
*/
Void task(Arg id_arg)
{
Int id = ArgToInt (id_arg);
Int i;
for (i = 0; i < NLOOPS ; i++) {
LOG_printf(&trace, "Loop %d: Task %d Working", i, id);
LOG_printf(&prdLog0, "bigTime task %dx started.", id);
TSK_yield();
}
LOG_printf(&trace, "Task %d DONE", id);
}
On an old CCS tutorial (spru327c.pdf), it said that it can add a breakpoint at IDL_F_loop. From those procedures, it did not look like there was any user added code in IDL_F_loop function. i.e. it could place a breakpoint to a idle function.
On my example project, I try to place a breakpoint at TSK_idle function. Although it does succeed to add the breakpoint, it does not stop there after run the project with the on-board emulator.
What is the problem for breakpoint in TSK_idle task not effective?
Thanks,