Go Down

Topic: Burn bootloader to Arduino Diecimila (Read 620 times) previous topic - next topic

bstewart

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: [Select]
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.

CrossRoads

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.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

westfw

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...)


bstewart

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.

retrolefty


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

westfw

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 ...

Go Up