Hi,

i have a very strange problem: when i try to send any data to the eeprom
of an avr-controller (here: attiny2313 or 2313a), there ist always a
verify-error, if the sended file ist more than 4 Bytes long and its
length is not modulo 4. The last Bytes after the last modulo-4-adress
will be written to other adresses.

Example: i try to send 35 Bytes to the eeprom, but the bytes which
should go to adress 20h, 21h and 22h go to 40h, 41h and 42h. This is
independent from the filetype, raw-binary shows the same behaviour as
intel-hex.

If the number of Bytes is greater than half of the eeprom, it swaps over
to the start of eeprom and overwrites the bytes there.

The programmer is a very cheap USB-Programmer, which costs only 16
Euros:

http://shop.myavr.de/index.php?sp=article.sp.php&artID=200006

With its windows-tool, it seems to work, but i dont use windows when
possible.

Does anybody know, what to do?

It is possible to flash its firmware to the AVR911-protocol, and then it
programs even the eeprom correctly, but it cant change the fusebits any
more, even with its windows-software. So, this mode is not usable to me.

-- 
Desperately
Andreas Graebe
Beuth-Hochschule für Technik, 13353 Berlin


_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to