Pages: [1]   Go Down
Author Topic: What avr-isp to get to program an Atmega 328?  (Read 610 times)
0 Members and 1 Guest are viewing this topic.
Canby, OR
Offline Offline
Full Member
***
Karma: 1
Posts: 158
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I was thinking about getting an avr-isp to use to program my 328 (Duemillinove/UNO) via ISCP. Looking at Ebay I see a lot of cheap options like this:

USB avr-isp

I notice that it programs the Atmega 168, Atmega 1280, Atmega 2560, but NOT the Atmega 328? Is there something special about the 328 that it wouldn'tbe on this list?
Logged

Scotland
Offline Offline
God Member
*****
Karma: 11
Posts: 988
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It does the 328 - I have one of these in my collection.
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Canby, OR
Offline Offline
Full Member
***
Karma: 1
Posts: 158
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just to clarify... if I picked that up, and a 6 pin adapter I could program a 328 directly? i.e. Not via usb/serial built in to the arduino bootloader?
Logged

Canby, OR
Offline Offline
Full Member
***
Karma: 1
Posts: 158
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I was thinking about getting the above mentioned avr-isp, and then this 10pin to 6 pin adapter. Will this work to program an Uno?
Logged

Chile
Online Online
Edison Member
*
Karma: 32
Posts: 1233
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I was thinking about getting the above mentioned avr-isp, and then this 10pin to 6 pin adapter. Will this work to program an Uno?

Yup, I use that one with the same 6-10 pin adapter. Works with everything. I use khazama programmer: http://screencast.com/t/JsuttIxWqw

Mainly I use for http://www.ebay.com/itm/ATTiny48-88-ATMega48-88-168-328-Breadboard-Adapter-Kit-/280822197407?pt=LH_DefaultDomain_0&hash=item41624eac9f these adapters (also there are some small ones for attiny85)
Logged

My website: http://ried.cl

Canby, OR
Offline Offline
Full Member
***
Karma: 1
Posts: 158
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an a Leonardo also. One problem I see with it is because the USB/Serial is on the same chip that you program, it drops the USB connection every time it reboots. I end up with /dev/ttyACM0 and sometimes /dev/ttyACM1 depending on timing. With an ISCP programmer like this, I could use the Arduino IDE to upload code with the avr-isp instead of over USB serial, and avoid the serial port name bouncing around?

I assume the Leonardo and the Uno use the same ISCP (JTAG?) interface? It's just a different chip to compile to?
Logged

Chile
Online Online
Edison Member
*
Karma: 32
Posts: 1233
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an a Leonardo also. One problem I see with it is because the USB/Serial is on the same chip that you program, it drops the USB connection every time it reboots. I end up with /dev/ttyACM0 and sometimes /dev/ttyACM1 depending on timing. With an ISCP programmer like this, I could use the Arduino IDE to upload code with the avr-isp instead of over USB serial, and avoid the serial port name bouncing around?

I assume the Leonardo and the Uno use the same ISCP (JTAG?) interface? It's just a different chip to compile to?

I am not sure about Leonardo, but how do you will set Arduino IDE to use this programmer? this is an avr-asp I don't think is supported.
Logged

My website: http://ried.cl

Canby, OR
Offline Offline
Full Member
***
Karma: 1
Posts: 158
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ahhhh good catch. Looks like Arduino IDE 1.01 supports it though?

Logged

Chile
Online Online
Edison Member
*
Karma: 32
Posts: 1233
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, I am not sure, I am pretty happy with khazama so I didn't tried anything else smiley
Logged

My website: http://ried.cl

Pages: [1]   Go Up
Jump to: