Public bug reported:

Ubuntu 14.04.1 i386
avrdudude 6.0.1-1

I try to read EEPROM from Arduino board (ATmega328p) with USBtiny ISP
programmer.

FIRST
It crashed regularly. There is a report that free() detected memory allocation 
problem. EEPROM is empty, all 0xff; this can be important to replicate this 
crash.

# avrdude -c usbtiny -p m328p -U eeprom:r:xx.bin:r

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100%
0.01s

avrdude: Device signature = 0x1e950f
avrdude: reading eeprom memory:

Reading | ################################################## | 100%
17.15s

avrdude: writing output file "xx.bin"

avrdude: safemode: Fuses OK (H:05, E:DA, L:FF)

avrdude done.  Thank you.

*** Error in `avrdude': free(): invalid next size (normal): 0x093d5360 ***
Aborted (core dumped)


SECOND
When I write data to EEROM, it can be all 0xff, I read back different data and 
verification fails. It is good that it is detected but 100% of EEPROM is read 
to find that the first byte doesn't match. This can be improved, USBtiny is 
slow...

THIRD
Write data to EEPROM doesn't work, see previous point.
# avrdude -c usbtiny -p m328p -U eeprom:w:xx.bin:r

I tried USBasp programmer to the the same with Arduino and it works good
so my troubles are related to USBtiny programmer. I cannot say if
problem is in avrdude or in firmware of USBtiny programmer.

** Affects: avrdude (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1400185

Title:
  avrdude crashes when eeprom is read

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avrdude/+bug/1400185/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to