I thought perhaps the xPortPendSVHandler was being interrupted by a higher priority interrupt, but I have reduced all code execution down to just the IdleTask and the SysTick interrupt as shown here in the Interrupt log:...21s 866820.48 us SysTick Le...
In debugging the hard fault (thx for the suggestion) I have confirmed that the CPU registers for the FreeRTOS Idle task are being corrupted with the STACK_FILL_BYTE of 0xa5. What would cause this to happen when using SWO?
Mr Delorean,Thanks for all the suggestions! I'll try to debug the intermittent hard fault.Fun fun.Do you think there an issue with my code which is being exposed because SWO is affecting:a. CPU timing whcih would affect task timing?(I'm using an RTOS...
I also have the same problem.For me, SWO is always connected, but the hard faults start randomly ocurring when enabling an SWO function like Interrupt log in IAR. Disabling the Interrupt log does not make them stop. I must power cycle the STM32H743 t...