Categories

{{ selectedCategory.name }}

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

{{ topic.Content }}

No topics found!

Infineon Aurix: Cannot step over function

14-Mar-2024

While debugging, some functions (or source lines) cannot be stepped over. A dialog Step Operation in Progress appears. If the CPU is run, the same function executes normally.

One of the possible root causes for such behavior is that the function that is being stepped over uses interrupts of peripherals that act differently while the CPU is single-stepped and when the CPU is running.

Such peripherals may be, for example, timers.


Possible solutions

Several solutions are possible - which one is the most appropriate, depends on the root cause and/or CPU architecture.


Use CPU run

Instead of stepping over problematic functions (or source lines), set an execution breakpoint to the target source line and run the CPU.


Disable suspending of peripheral devices

1. Navigate to Hardware / CPU Options / Reset.

2. Uncheck  Suspend peripherals while stopped.

If you know exactly which device is causing the issues, you may be able to unsuspend only the problematic device by clicking on the “...” button. Whether the devices’ suspending is configurable depends on the CPU architecture.


Disable prevention of the context switches

1. Navigate to Debug / Debug Options / Debugging.

2. Uncheck the checkboxes in the section Prevent context switch during on the problematic operations. Most commonly that would be:

  • Run until return
  • Step over


More resources in winIDEA Help

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!