Hi all,
I am using ATMega 2561 processors in my data loggers. So far, I was happy with the devices. However, in the series of devices, that were delivered last year to me, I have encounterd the problem, that after a power off / power on sequence the data loggers do not start up anymore.
I searched and found, that the first page ( = 256 bytes) of flash memory is overwritten by $FF, i.e. the page is erased. So, the first 256 bytes of the program are missing..
I have absolutely NO idea what the reason for this is. I can reproduce it on one device by switching in off and on again for five to ten times - then all of a sudden the first page is erased.
Any ideas for the reason of this phenomen? Can I do something to prevent it?
Thanks for any help, Michael
I am using ATMega 2561 processors in my data loggers. So far, I was happy with the devices. However, in the series of devices, that were delivered last year to me, I have encounterd the problem, that after a power off / power on sequence the data loggers do not start up anymore.
I searched and found, that the first page ( = 256 bytes) of flash memory is overwritten by $FF, i.e. the page is erased. So, the first 256 bytes of the program are missing..
I have absolutely NO idea what the reason for this is. I can reproduce it on one device by switching in off and on again for five to ten times - then all of a sudden the first page is erased.
Any ideas for the reason of this phenomen? Can I do something to prevent it?
Thanks for any help, Michael