for use an Arduino as an AVR ISP (In-System Programmer). Well this tutorial seems if i not understood bad that is working with "Arduino Uno" with cpu ATMEGA328PU.
Now I would like to do the same for programming ATMEGA256016AU due the fact mounted on our ARDUINO MEGA2560.
Is there any-guide to follow in order to do ISP programming for ATMEGA256016AU also ?
Hi , thanks for the information,
ok looking the guide ... i have couple of question ... i don't see the possibility to write an ATMEGA256016AU ... so works for every atmel processor ?
If you're so picky, I am too: it's not an ATMEGA256016AU but an ATMEGA2560-16AU.
If you following the first link of Cybernetitian you'll find photos of an UNO programming a MEGA2560. The cable is from the ICSP header to the ICSP header. You can use exactly the same wiring with a configuration MEGA2560 to MEGA2560.
so works for every atmel processor ?
No, but for every 8bit Arduino (all except the Due).
and I've bought and blank ATMEGA2560-16AU no boot loader inside ... from your word if i not understood bad I need to develop a board with Clock, Resistance, condensator. Then when I'll have it i can burn this board like an arduino ... (of course i will do a isp connector and other stuff) correct ?
That is correct.
The board can be a breakout board like this http://www.schmartboard.com/index.asp?page=products_qfp&id=70
Or you design your own card that will have the 16MHz oscillator, 22 pF caps, 10K reset resistor, 100nF power supply caps, and whatever else you need, like this one.
and then I will do all stuff needed ... another trivial question ... after i will have burn a boot loader which are the steps for upload the sketch also ?
After the bootloader, you use a USB/Serial interface chip (such as FT2323RL, or an FTDI adapter board, or CP2102 board) to load sketches into the board using the Rx/Tx pins.
Sound's very good now I've understood so many thanks for clarify it to me ...
the first time it's always a little bit tricky maybe in the mean time that I will be ready with circuit i will try with arduino and arduino mega like into example ...
Good Mornining,
Hi I've did the cable the Arduino uno (MASTER) and arduino 2560 (where I want upload my bootloader and after the sckecht) are connected correctly and are turned on .
Now I've download from your link the sketch for BOOTLOADER below reported and I've try upload it inside my ARDUINOMEGA2560,
// File = stk500boot_v2_mega2560_fixes_watchdog_problem.hex
// Loader start: 3E000, length: 8192
// MD5 sum = 8A F4 7A 29 43 A0 D8 7C DB ED 09 A3 8F 40 24 1E
// https://github.com/arduino/Arduino-stk500v2-bootloader/blob/master/goodHexFiles/stk500boot_v2_mega2560.hex
// TOO LONG I didn't reported because is too long ...
But I've finished i received back this issues:
Dimensione del file binario dello sketch: 25.442 bytes (su un massimo di 258.048 bytes)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
I've set the programmer like your indication,
what could i check ? Could you send me how need to be setup arduino for uploader the boot loader ?
THanks
Gnux
Good Morning
in attachment you can find my connection, the arduino signed as "M" is where i have a usb connection.
in attachment you can find also my Arduino Software configuration.
So with the cable that I've did the arduino 2560 can receive the power and GND, and reset pin is connect into arduino uno D10 like explain into the guide... thanks and
Good Sunday Nick i hope the information that you need are enough ... sorry if ask you trivial question but It's the first time that I try to programming my arduino in this way