Hi !
Sorry, I'm french and I've some difficulties to speak correctly english so ...
I've bought some ATmega328-PU without bootloader and I wish use them with my arduino UNO R3.
Since tomorrow I try to burn arduino UNO bootloader on new ship but without success.
I have an Arduino Mega 2560, an Arduino UNO R3 and a bread bord with some components ...
I've test this scheme :
With the Mega like :
I upload the ISP script to arduino mega, I change "borad" to "Arduino UNO", and I change "programmer" to "Arduino as ISP".
But when I launch "burn bootloader" I've error avrdude: stk500_recv(): programmer is not responding
Well my first thought is that many mention that after the 'programmer' board is loaded with the arduino as ISP sketch, then there is a need to have it's auto-reset feature defeated by inserting a resistor or a capacitor to the reset pin and either +5vdc or ground respectively. Don't recall the value as I always use a real ICSP programmer, but I think the resistor value was around 150 ohms or if a cap was used instead around 10ufd. You should let ours verify this before jumping in.
A second issue you may have once AVRDUDE can talk to the board running and tries to read the 'target chip' is that you might get a 'signature bytes don't match' error as I'm not sure a 328-PU is the same as a 328p chip and AVRDUDE won't be happy if the signature bytes not match what it's expecting.
You can use your Arduino Uno R3 as an ordinary ISP programer for your atmega328p chips. You can write them with any kind of code, including a bootloader if you really need it.
see this tutorial: http://pdp11.byethost12.com/AVR/ArduinoAsProgrammer.htm
What version of the Arduino IDE (Adruino Program) are you running? Version 022, 023 work fine, Version 1.0 has a problem and version 1.01 should work. My best experience was with 022.
The resistor needs to be connected on the Arduino Board, not on the chip to be programmed. 120 - 150 Ohms to +5V and reset.
simplex:
You can use your Arduino Uno R3 as an ordinary ISP programer for your atmega328p chips. You can write them with any kind of code, including a bootloader if you really need it.
see this tutorial: http://pdp11.byethost12.com/AVR/ArduinoAsProgrammer.htm
If you had read his postings you would have seen that this is exactly what he was trying to do.
kf2qd:
If you had read his postings you would have seen that this is exactly what he was trying to do.
He follows a different (complicated) path from the instructions in the help page I posted, which is a tutorial that not only tells you how to burn a hex code in a target AVR but also explains the most likely error messages you can get and mistakes you can make and what to do to fix the problems that might appear.
Most tutorials, on the net, suppose that the one that reads them would do everything right from the beginning to the end, step by step, like an expert. This is not the case for the majority of people.
kf2qd:
What version of the Arduino IDE (Adruino Program) are you running? Version 022, 023 work fine, Version 1.0 has a problem and version 1.01 should work. My best experience was with 022.
The resistor needs to be connected on the Arduino Board, not on the chip to be programmed. 120 - 150 Ohms to +5V and reset.
Hi, thanks for messages !
I use EDI 1.0 on a linux system. The resistor have to be on the bord reset pin ?
In Englishfor those who do not have the chance to speak French: (improved google translation)
Well come join us on the French part, there are members who have soon given the answer more than 100 times.