🎉 We're happy to announce new public releases 🎉

  • SmartCode v10.4r1 - Take advantage of all the benefits our tools have to offer and build your applications with the latest version
  • TriCore v6.3r1 Inspector v1.0r8 - Save time and detect known issues before they get into your application
Contact us to get access

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?