I am using ASF and IAR compiler.
I use Atmel ICE debuger.
My aplication is awake every 1 sec and stays awake for only 100us and after it go to sleep.
At the Build window of IAR the device always say sleep.
When i am debuging. i can not stop halt the mcu. it give faults.
When the aplication was 1sec awake and 1 sec sleep i could stop the aplication when the device was awake. I can see when the aplication is awake at the build window of the IAR.
Do you have any ideas?