thanks but i don't know the command to do it
i only can acces its bootloader from terminal using serial
i store my program in NV RAM
i want to erase the entire ram wich is 32kb
the size of the hex is 78kb
the chip can be powered off but still remember data because of the batery attached to the mcu ,so i want the timer still counting if i remove 5v (because it can be in idle using its 3v battery)
so i want it to erase ram after x senconds but if it was in idle mode (it can't erase data) so it will erase data after next power up and timer count is superior to x
so the condition is erase data if timer count is equal or superior to x seconds