Has anyone found a way to upload a sketch to a 328 (Uno) using ICSP?
What is required to do it?
ICSP to upload a sketch
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- jasonwebb
- Posts: 111
- Joined: Sat Sep 10, 2011 2:15 pm
Re: ICSP to upload a sketch
Are you trying to program a standalone ATMEGA328P IC? If so, you can easily use another Arduino to program the chip, as outlined by the Arduino website here: http://arduino.cc/en/Tutorial/ArduinoISP and http://arduino.cc/en/Tutorial/ArduinoToBreadboard
If you do not have an Arduino, you can use a USBTiny (https://www.adafruit.com/products/46) to program chips set up to use ICSP using the instructions found here: http://www.ladyada.net/make/usbtinyisp/
If you do not have an Arduino, you can use a USBTiny (https://www.adafruit.com/products/46) to program chips set up to use ICSP using the instructions found here: http://www.ladyada.net/make/usbtinyisp/
- platypus
- Posts: 45
- Joined: Thu Jan 19, 2012 1:47 am
Re: ICSP to upload a sketch
Thanks zenwebb. I just found the usbtiny programmer kit and read the instructions.
The Arduino link that you gave seems to only burn the bootloader, however I just need to load a sketch - onto many 328's. The 328 I am using is called an Eleven - an UNO look alike, but made by an Australian company, Freetronics. I have a couple of these for prototyping.
Am hoping that the Usbtiny programmer will allow me to upload a sketch as it says. My target AVR's will eventually be mounted as part of a controller so I need to bring an ICSP lead from the AVR for ease of connection in the event of field reprogramming being necessary.
But the initial plan is to upload the same sketch onto many AVR's on the bench.
Of course the USB can't be used as this is impractical with so many uploads to be done.
it looks as if I can use the USBtiny programmer to upload a sketch direct via ICSP.
The Arduino link that you gave seems to only burn the bootloader, however I just need to load a sketch - onto many 328's. The 328 I am using is called an Eleven - an UNO look alike, but made by an Australian company, Freetronics. I have a couple of these for prototyping.
Am hoping that the Usbtiny programmer will allow me to upload a sketch as it says. My target AVR's will eventually be mounted as part of a controller so I need to bring an ICSP lead from the AVR for ease of connection in the event of field reprogramming being necessary.
But the initial plan is to upload the same sketch onto many AVR's on the bench.
Of course the USB can't be used as this is impractical with so many uploads to be done.
it looks as if I can use the USBtiny programmer to upload a sketch direct via ICSP.
- platypus
- Posts: 45
- Joined: Thu Jan 19, 2012 1:47 am
Re: ICSP to upload a sketch
It's is not clear from the kit documentation, but does the USBtinyISP use the PC's USB as a hardware interface. Using a laptop - usb only!
- floresta
- Posts: 223
- Joined: Thu Jul 31, 2008 10:27 am
Re: ICSP to upload a sketch
What is not clear? The term USB appears six times in the introduction alone.platypus wrote:It's is not clear from the kit documentation, but does the USBtinyISP use the PC's USB as a hardware interface. Using a laptop - usb only!
Don
- platypus
- Posts: 45
- Joined: Thu Jan 19, 2012 1:47 am
Re: ICSP to upload a sketch
Many thanks - all the best.
- adamhi
- Posts: 18
- Joined: Wed Feb 16, 2011 11:10 pm
Re: ICSP to upload a sketch
Platypus - A bit long ago now - but how did it work out for you? I'm looking at similar issues and using the USBtiny.platypus wrote: The Arduino link that you gave seems to only burn the bootloader, however I just need to load a sketch - onto many 328's. . . . . . . .
Am hoping that the Usbtiny programmer will allow me to upload a sketch as it says. My target AVR's will eventually be mounted as part of a controller so I need to bring an ICSP lead from the AVR for ease of connection in the event of field reprogramming being necessary. . . . . . .But the initial plan is to upload the same sketch onto many AVR's on the bench.
. . . . . . .it looks as if I can use the USBtiny programmer to upload a sketch direct via ICSP.
--adam
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: ICSP to upload a sketch
Rather than posting to a 4 year old thread why not start your own thread in the correct forum HERE ?I'm looking at similar issues and using the USBtiny.
Please be positive and constructive with your questions and comments.