Pages: [1]   Go Down
Author Topic: Burn bootloader to Arduino Diecimila  (Read 469 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to burn the bootloader onto my Arduino Diecimila. I have an AVR JTAG ICE MKII and I was thinking that I could use that to burn the bootloader onto the Arduino use the Arduino IDE. If I run the command on the IDE using the AVR ISP programmer option I get an error like this:
Code:
Error while burning bootloader
avrdude: stk500_recv(): programmer is not responding

I am really new to Arduino and don't have any idea what to do.

I guess my question is if it's possible to burn the bootloader onto an atmega168 using an AVR JTAG ICE MKII? Any help would be greatly appreciated.
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 439
Posts: 23791
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.atmel.com/Images/doc2489.pdf

I'm thinking this is not gonna do bootloading for you - I don't see it connecting to the ICSP header.

You need AVR ISP MKii instead
http://www.mouser.com/ProductDetail/Atmel/ATAVRISP2/?qs=sGAEpiMZZMv256HIxPBQcA8%252bsNH3cLLR

Price has gone up $3 since  I bought mine a year ago.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6373
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://support.atmel.no/knowledgebase/avrstudiohelp/mergedProjects/JTAGICEmkII/mkII/Html/JTAGICE_mkII_Programming_with_JTAGICE_mkII.htm
Quote
Note: The JTAGICE mkII also support programming through the ISP interface. The general description of the dialog for programming AVRs is found in the STK500 documentation in the help system supplied with AVR Studio.  See here for details on how to connect to the 6-pin ISP interface.
So it should work.  Typically there are physical adapters for the ISP connectors of various sorts.
You're on your own for the details, though... (it is almost certainly NOT an "AVR ISP" programmer, which probably means that you won't be able to burn the bootloader from within the IDE.  You'll need to learn to use avrdude yourself...)

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah I was trying to learn to use AVRDUDE but I had no luck. This Arduino is pretty old so I think I might just purchase a new one with the bootloader already on it.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16523
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah I was trying to learn to use AVRDUDE but I had no luck. This Arduino is pretty old so I think I might just purchase a new one with the bootloader already on it.

Well you can certainly buy such a preburned 328P chip into your existing board. You will then have to always select the Uno as the board type to upload sketches to it from the IDE, and will gain the faster upload speed that the Uno bootloader uses, and a couple of other advantages.

https://www.sparkfun.com/products/10524

Lefty
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6373
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I was trying to learn to use AVRDUDE but I had no luck.
Well... What did you do, and it what way did it not work?
You'd want a command like:

.../hardware/tools/avr/bin/avrdude -C.../Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -patmega328p -cjtag2isp -P /dev/tty.usbmodemfd3131 ...
Logged

Pages: [1]   Go Up
Jump to: