hinata46243 / mega-isp

Automatically exported from code.google.com/p/mega-isp
0 stars 0 forks source link

Only first byte fails verification #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect attiny45
2. Compile and burn test program using avrdude

What is the expected output? What do you see instead?
I expected the program to burn and verify successfully (as it does with
other chips like the attiny13 and attiny2313).

Instead avrdude complains that there is a verification error at offset 0x00.

When dumping the flash from avrdude, I notice that the only byte that is
incorrect is the first byte.

In the case of the attiny45, it seems like the correct byte (19 in this
case) is being bit-masked by 0x11

I am also having the same issue with atmega48s (except the bit-mask is 0x25).

I have tested my setup successfully with several attiny13 & 2313's.

I have also tried multiple attiny45's and atmega48's.

turning on -v -v -v -v on avrdude, i notice that avrdude is sending the
correct bytes

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by Alastair...@gmail.com on 4 Nov 2009 at 3:00

GoogleCodeExporter commented 8 years ago
Please try the latest version:
http://code.google.com/p/mega-isp/source/browse/trunk/avrisp/ArduinoISP.pde

Original comment by rsb...@gmail.com on 25 Jun 2011 at 3:37