Pages: [1]   Go Down
Author Topic: Load the bootloader using AVRStudio  (Read 1199 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 22
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to load the bootloader using AVRStudio. I have read this tutorial (at the botton), but I have an answer.

All ATMEL micro controller, by default, have actived the internal clock, and if you want to use an external one you must choose it with the fuses.

In the tutorial does not appears nothing about this, how can I do this???

Thanks!!!
Logged

Sheffield --- UK --
Offline Offline
Sr. Member
****
Karma: 0
Posts: 377
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

do you have a ISP programmer like the avr mk2 ?.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 22
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an AVR-Dragon.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 22
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can anyone help me??? Thanks
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 205
Don't Panic
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Which ATmega are you burning? The fuses are different for the Mega8, Mega168, and Mega328.
Logged

iDuino - MaxSerial - [url=http://spi

Sheffield --- UK --
Offline Offline
Sr. Member
****
Karma: 0
Posts: 377
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How I do it is via  isp, using the avr mk2

And set the fuse brown out voltage , and set it for 8mhz extranal xtal.
If you get it wrong you can just re change the settings after.
But it all depends on what xtal mhz , chip etc.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 22
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to burn a Mega168.

Quote
If you get it wrong you can just re change the settings after.
I have this problem some time ago...I ask in avrfreaks and all answers were that I only can reset this fuse using a Higth Voltage programmer.
Logged

Sheffield --- UK --
Offline Offline
Sr. Member
****
Karma: 0
Posts: 377
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No , I think if you have a isp programmer , I don`t think you can brick it.
I`ve installed the bootloader on 3 168 chips so far and loaded a hex file direct to the chip so cutting of the need of the boot loader, which frees up 2 extra k
Logged


0
Offline Offline
Full Member
***
Karma: 0
Posts: 205
Don't Panic
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I want to burn a Mega168
Here are the relevant fuses, as shown in AVRStudio:



Quote
No , I think if you have a isp programmer , I don`t think you can brick it.
Nope, with just an ISP programmer, you can 'brick' an ATmega. The easiest way is choosing an impossible oscillator setting or disabling SPI. (Notice above how AVRStudio can't alter this value in ISP mode.)

Quote
I ask in avrfreaks and all answers were that I only can reset this fuse using a Higth Voltage programmer.
Conveniently, the AVR-Dragon IS a high voltage programmer.
Logged

iDuino - MaxSerial - [url=http://spi

Pages: [1]   Go Up
Jump to: