Hello,
I am searching for a while now a possiblity to set GPNVM bit BOOT_MODE = 1 with atprogram using Atmel-ICE connected via SWD.
We use atprogram.exe to flash the devices with an elf file. In order to run our code, the BOOT_MODE bit has to be set to 1, otherwise the devices hangs in Bootloader.
It is possible to open the Device Programming Tab in Atmel Studio7 and set the GPNVM bit there. But we need to flash a lot of devices and want to use atprogram for that purpose.
Does somebody know how to do it? Maybe there is a mechanism to include the GPNVM bits in the elf file (but not in application code - which is not executed by default), like it is possible to include Fuse Settings when using AVR8.
We don´t mind to add another atprogram call to set the GPNVM explicit.
Many Thanks in advance!