0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« on: February 25, 2010, 01:01:37 pm » |
Hi,
Wanted to ask under the tools->Burn Bootloader option, there's one which says: w/ Arduino as ISP
What does it do exactly? Does it turn my arduino into an avr programmer straight?
If so, what hardware changes do I need to make? and how do I use it to load the Arduino bootloader into a new Atmega chip?
Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
Phoenix, Arizona USA
Offline
Faraday Member
Karma: 27
Posts: 5079
Where's the beer?
|
 |
« Reply #1 on: February 25, 2010, 01:11:43 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #3 on: February 25, 2010, 08:02:01 pm » |
Thanks! That was what I was looking for 
|
|
|
|
|
Logged
|
|
|
|
|
CT, USA
Offline
Sr. Member
Karma: 2
Posts: 446
Arduino rocks
|
 |
« Reply #4 on: April 06, 2010, 07:58:38 am » |
Did anyone got this method to work with ATMega328? I have tried a couple of times, but have not had any luck so far.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Zapopan, Mexico
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #6 on: April 21, 2010, 12:28:28 am » |
Hello, im using an Arduino that came with an Atmega328, will using this tutorial of using the Arduino as an ISP "ArduinoISP" allow me to burn the bootloader to an Atmega8 just as easy or do i need to change something?
Im choosing Atmega8 because of its price, to make standalone school projects, which needs less than 8kb in program memory.
Thanks in advance!
|
|
|
|
|
Logged
|
|
|
|
|
CT, USA
Offline
Sr. Member
Karma: 2
Posts: 446
Arduino rocks
|
 |
« Reply #7 on: April 21, 2010, 12:33:32 pm » |
Thanks raron, I will have to give this method a try then.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #8 on: May 03, 2010, 02:15:48 pm » |
@AlphaZeta: Do you have any updates on this? I am trying the same but I get a
avrdude: Expected signature for ATMEGA328P is 1E 95 0F Double check chip, or use -F to override this check.
message. Is the LED on pin 9 supposed to pulse when the arduino is doing nothing? I am running the circuit as in the Tutorial "Arduino as ISP"
Thx.
|
|
|
|
« Last Edit: May 03, 2010, 02:30:35 pm by lars.engel »
|
Logged
|
|
|
|
|
CT, USA
Offline
Sr. Member
Karma: 2
Posts: 446
Arduino rocks
|
 |
« Reply #9 on: May 03, 2010, 02:50:52 pm » |
Hi lundnul,
No, I haven't tried again. Now I am getting so used to using the bitbanging method and it has been working extremely well for me.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #10 on: May 03, 2010, 03:50:34 pm » |
But you need a programmer for this, right? Are you doing this under MacOS?
So far I have succeeded in running avrdude directly with the -F option to ignore the signature. I try to burn the ATmegaBOOT_168_atmega328_pro_8MHz.hex which comes with Arduino. Unfortunately I get a verification error now.
Anyone with an idea?
Thx.
|
|
|
|
|
Logged
|
|
|
|
|
CT, USA
Offline
Sr. Member
Karma: 2
Posts: 446
Arduino rocks
|
 |
« Reply #11 on: May 03, 2010, 05:49:08 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #12 on: May 04, 2010, 02:28:00 pm » |
Thanks! Though I am still a bit confused: I need to run a compiled version of avrdude and I need to install the D2xx driver instead of the VCP driver?I am trying this http://doswa.com/blog/2009/12/20/avrdude-58-with-ftdi-bitbang-patch-on-linux/ on MacOS but I am stuck with the Makefile, did you go the same way?
|
|
|
|
« Last Edit: May 04, 2010, 03:18:29 pm by lars.engel »
|
Logged
|
|
|
|
|
CT, USA
Offline
Sr. Member
Karma: 2
Posts: 446
Arduino rocks
|
 |
« Reply #13 on: May 04, 2010, 03:09:33 pm » |
Well, if you are using the bitbang method, you will have to modify the avrdude source file to accommodate the FT232 chip and thus you do need to compile your own avrdude from the source.
I know that under Linux you do not need to install additional drivers, but I am not quite sure if you need to under Windows. Maybe someone else can answer this one?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #14 on: May 05, 2010, 12:30:39 am » |
Anyone who tried this under MacOS?
|
|
|
|
|
Logged
|
|
|
|
|
|