Hello, I'm working on a 3 phase energy meter project with mkm34z70 using IAR work bench(v7.40.3).
Whenever I'm trying to flash the code using optical cable from my laptop to meter, the meter get hanged(mcu get locked).Why it is happening? Is the problem of IAR or mcu?
Hi,
I suggest you use systick module or whatever timer to generate interrupt with 0.5S cycletime, in the Timer ISR, toggle a LED, in this way, you can observe the LED toggling to know if the chip hangs or not.
BR
XiangJun Rong