I'm working on a custom board based on MK66FN2M0 device using MCUXpresso 10.3.1.
I'm trying to discover an error and I have to use the instruction trace feature.
If I leave disabled the instruction trace, the program runs fine (except the error I'm trying to find).
But if I pause the execution, enable the instruction trace and resume, the processor resets after few instructions. It doesn't matter where or when I enable it, even at the program start.
What can be the reason of this bahviour?