[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] Avrisp mkII osx
From: |
steve daniels |
Subject: |
[avrdude-dev] Avrisp mkII osx |
Date: |
Thu, 05 Apr 2007 09:43:44 -0400 |
User-agent: |
Microsoft-Entourage/11.2.1.051004 |
HI all,
I have a problem that I can¹t resolve it is discussed on your board but
posted solutions have not helped me. I have read the manual.
I am attempting to use AVRDUDE 5.3.1 to upload an ARDUINO bootloader (
http://www.arduino.cc/en/Hacking/Bootloader?from=Main.Bootloader) to an
Atmel Atmega8.
Install of avrdude from http://www.digithink.com/OSX-AVR/Introduction/Main
and also tried instructions here (
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1142106610) and just for
good measure here ( http://www.arduino.cc/playground/Code/OSXISPMKII).
After way too much time trying the advice to use F and ignore the errors
given on your other treads it has become clear the avrdude does not see my
avirisp mkII OR my board is sad.
When I execute the following:
avrdude -p m8 -P usb -c avrispmkII -t -b 115200
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
I am on a breadboard following the setup on the arduino site. My other
bootloaded chips work happily. I can function as a Arduino using serial
communication. I have successfully bootloaded using parallel port on a PC
but want to move to MAC. All circuits have been checked over and over and
over.
How do I fix this? What has to be done to make avrdude see the
avrispmkII??? Not sure what step to take next.
BTW --
When I execute:
avrdude -p m8 -P usb -c avrispmkII -tuF -b 115200
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07
avrdude>
This looks encouraging but, especially when I read status of things like d
sig or d lfuse these return values (all FF). However, the system returns
the same values when the breadboard is not connected to the AVRISPmkII.
ONLY attempts to write to EEPROM following the examples in manual returns an
error.
avrdude> write eeprom 0 1 2 3 4
>>> write eeprom 0 1 2 3 4
avrdude (write): error writing 0x01 at 0x00000, rc=-6
avrdude (write): error writing 0x01 at 0x00000 cell=0xff
avrdude (write): error writing 0x02 at 0x00001, rc=-6
avrdude (write): error writing 0x02 at 0x00001 cell=0xff
avrdude (write): error writing 0x03 at 0x00002, rc=-6
avrdude (write): error writing 0x03 at 0x00002 cell=0xff
avrdude (write): error writing 0x04 at 0x00003, rc=-6
avrdude (write): error writing 0x04 at 0x00003 cell=0xff
avrdude>
Entering terminal mode does not seem to actually get me to a terminal.
When I swap chips and put a bootloaded chip into the system and try all the
display commands I get the same values as the unbootloaded chips.
Any and all help gratefully accepted.
Steve
--
Steve Daniels
Program Director
New Media Option
School of Image Arts
Ryerson, University
Toronto, ON
- [avrdude-dev] Avrisp mkII osx,
steve daniels <=