[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] Can't write to flash?!?
From: |
Justin Rajewski |
Subject: |
[avrdude-dev] Can't write to flash?!? |
Date: |
Wed, 4 Jun 2008 22:22:38 -0700 (PDT) |
I got my AVRISP MKII today and got avrdude installed and working. All is
wired up correctly. I have a problem when I try to write to the flash, hex
files or bytes. Here is my problem...
sudo avrdude -c avrispmkII -P usb -p m644 -t
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9609
avrdude> write flash 0 10
>>> write flash 0 10
avrdude (write): error writing 0x0a at 0x00000 cell=0xff
I can write to eeprom or the fuses or even read/erase the flash. Any ideas?
The AVR is a brand new ATmega644-20PU.
Also the AVRISP2 does not seem to put out power of it's own. I had to power
the AVR externally but still connect the VCC and GND lines to get it to
work. Is that normal?
I forgot to mention that I am using Ubuntu 8.04.
Thanks,
Justin
--
View this message in context:
http://www.nabble.com/Can%27t-write-to-flash-%21--tp17662049p17662049.html
Sent from the AVR - AVRdude - Dev mailing list archive at Nabble.com.
- [avrdude-dev] Can't write to flash?!?,
Justin Rajewski <=