maxruben
Make a minimal version of the code and see if the problem persists. If it doesn't, you know it is your code.
/Ruben
I considered that, but what if the peripherals are causing this? I`m now running it again, implemented hard trap interrupts including a logging option. Let's see what the coming days will give.