Go Down

Topic: Using an Arduino as an AVR ISP (Read 17901 times) previous topic - next topic

prysm

Hi all

I am bit confused. I am using my duemilanove m828p as a programmer. I uploaded the AVRISP example into it and I see the heartbeat.

I am trying to burn a bootloader into an atmega8 in a breadboard without an external clock. by following th instructions here
arduino.cc/en/Tutorial/ArduinoToBreadboard

trying the connection in avrdude

sudo avrdude -c avrisp -p m328p -b 57600 -P /dev/cuaU0

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.10s

avrdude: Device signature = 0x1e950f

avrdude: safemode: Fuses OK

avrdude done.  Thank you.


Why am I not seeing my target atemga8?

retrolefty

I've not used AVRDUDE in command line mode, so of limited help. However:

Quote
sudo avrdude -c avrisp -p m328p -b 57600 -P /dev/cuaU0


As you said you are burning to a meg8 processor why have you specified the m328p processor type in that command?

Lefty

prysm

i was trying to show that arduino isp was exposing my host avr not the target. Anyway i got it working by adding the crystal into the target.  

liudr

Maybe because I bootloaded chips that have not been bootloaded I could only bootload with a crystal, although the tutorial says you can bootload without a crystal.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy