I just bought a ET-AVR Stamp (basically a mega128 on a breaboard compatible pcb) from futurlec. So I compiled the ATMegaBOOT (the one from the arduino to be exact) for the mega128. That was easy enough. But that's where the "fun" began. Burning seemed to go fine, except that at the end I get this:
Code: Select all
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1e000
0x0c != 0xff
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
make: *** [isp] Error 1
(I have the .text section set at 0x1E000 as per the original ATMegaBOOT).
When I use UISP to read back the fuses (couldn't get that to work from avrdude) this is what I get:
Code: Select all
$ uisp -dprog=stk500 -dserial=/dev/tty.usbmodem0020121D1 -dspeed=9600 -dpart=atmega128 --rd_fusesFirmware Version: 1.16
Atmel AVR ATmega128 is found.
Firmware Version: 1.16
Fuse Low Byte = 0x00
Fuse High Byte = 0x00
Fuse Extended Byte = 0x00
Calibration Byte = 0x00 -- Read Only
Lock Bits = 0x00
BLB12 -> 0
BLB11 -> 0
BLB02 -> 0
BLB01 -; 0
LB2 -> 0
LB1 -> 0
I'm really all out of ideas :/ What am I doing wrong?
Thanks