Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

Infineon Aurix: "Step" or "Step in" do not work on TC3xx devices

14-Mar-2024

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. 

The 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.


Possible solution

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



More resources

Was this answer helpful?

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.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!