Hi all,
I am debugging a custom software stack on an S32G274A SoC (with an NXP S32G2-VNP-RDB2 board). My application is getting it's scheduling counter from an STM timer channel. (I tried PIT also earlier, but for some reason I did not get it to work, so I switched to STM).
However, while debugging, everytime I stop at a breakpoint, the STM timer compare register is stopped, but the STM counter register keeps running. The effect of this is that when continuing after the breakpoint, the STM interrupt will not come anymore and my scheduling is kind of broken.
Has anybody experienced this, and what is the eaiest trick to overcome this ? Can the STM timer (and maybe other IP modules) module be stopped at a breakpint too ?
I am using a Lauterbach ARM debugger.
best regards,
Stefan