Pages: 1 [2]   Go Down
Author Topic: Using an Arduino as an AVR ISP  (Read 11157 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Left Coast, CA (USA)
Online Online
Brattain Member
*****
Karma: 331
Posts: 16542
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.  
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 65
Posts: 6922
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Pages: 1 [2]   Go Up
Jump to: