cancel
Showing results for 
Search instead for 
Did you mean: 

STM32042K6T6 is only getting in NMI interrupt while debugging

JGing.1
Associate

Hi

I use cubeide and baremetal to program it

it worked fine for a couples of days

then all of the sudden im not able to debug it, I can download to it but as soon as I execute the first like (step code) it gets to the NMI interrupt where the code is while(1);

I tried erasing the chip and starting again, same result

it seem to work if I don't debut, just reset the rst signal and it seem to do its job but why can't I debug it anymore?

I could show my code if it helps

0 REPLIES 0