I'm writing GCC with AtmelStudio and I have two programmers. Atmel Ice, and TNM Programmer.
TNM Programmer link:
in my previous project I worked with TNM and have no problem, every thing was ok as I expected, but in new one I'm programming with Atmel Ice, no problem with it and device working correctly, but with TNM, they're some problems!! my MCU resets in the end of code and does wrong things!! what is the problem??