Debugging (step in, step over...) a target application is working until the StartOS function is called. This function initializes the System timer (STM). On TC3xx devices usually that is the STM0 timer.
Timer is used by the scheduler to switch between the tasks. If you want to debug such code, timer(s) must be suspended and hence default initialization file must be used.
1. Install winIDEA Examples Workspaces.
2. Load a suitable initialization file. More information here.
Part of the initialization file that suspends STMs:
A STM0_OCS L 0x12000000
A STM1_OCS L 0x12000000
A STM2_OCS L 0x12000000
A STM3_OCS L 0x12000000
A STM4_OCS L 0x12000000
A STM5_OCS L 0x12000000
Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.