From: Matthias T. <mt...@we...> - 2008-06-27 20:42:33
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 avr feedback wrote: > http://dev.emcelettronica.com/why-avrs-eeprom-will-be-erased-randomly > > I think I will explain my problem with this article and move on. =/ That could be the reason why I sometimes (ok, nearly every time) see the turnkey action (output of VER to the serial line) whilest flashing a new image. Not that it ever did any harm to my code/hardware, but it is funny to see it at all.... But: you should get rid of your problems by re-flashing the hexfiles a second time. The content of the EEPROM is than correct and the default turnkey action does not change EEPROM content. Another solution would be to flash the eeprom content ahead of the flash content (simply change the order for the avrdude call in the Makefile). Please let me know, if this works. There are a few more possible work-arounds e.g. changing the addresses in the .eseg area, but it is rather difficult since the addresses are hard coded in the coresponding words/*.asm files. Matthias PS: despite the current problems, I made a new release... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIZVC59bEHdGEMFjMRAimwAJ0VHGXKq/FsDZLXOAf9lvCZ/SDPygCgyxno cUIA8xz3moxGrps6yBXqteg= =8e9j -----END PGP SIGNATURE----- |