avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] strange problem with avrdude and "mySmartUSB light" - program


From: Andreas Graebe
Subject: [avr-chat] strange problem with avrdude and "mySmartUSB light" - programmer
Date: Fri, 15 Mar 2013 10:50:13 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]