Loading...
Pages: [1]   Go Down
Author Topic: Can fuses be burnt using Arduino IDE?  (Read 163 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using Atmega328. I need to switch from internal oscillator to 8Mhz crystal, so the fuses need to be changed. Is it possible to change the fuse value using Arduino IDE? Or is it necessary to buy a AVRISP programmer to change the fuse value?

Thank you.
Logged

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

You can do it using another Arduino as an AVRISP programmer.
Logged

United Kingdom
Online Online
Faraday Member
**
Karma: 131
Posts: 4670
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you can, see http://miscsolutions.wordpress.com/2011/08/09/prototyping-small-embedded-projects-with-arduino/ (the bit about the fuses is at the end).
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. http://www.eschertech.com

Valencia, Spain
Offline Offline
Edison Member
*
Karma: 65
Posts: 2246
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it possible to change the fuse value using Arduino IDE?

Yes, but not with a USB connection.

is it necessary to buy a AVRISP programmer to change the fuse value?

Yes.
Logged

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

Is it possible to change the fuse value using Arduino IDE?

Yes, but not with a USB connection.

is it necessary to buy a AVRISP programmer to change the fuse value?

Yes.


You can do it with another Arduino, you dont have to buy a programmer.

for example:

avrdude -p atmega328P -c avrisp -P com3 -b 19200 -u -U efuse:w:0x05:m -U hfuse:w:0xDA:m -U lfuse:w:0xFF:m -U lock:w:0x0F:m
Logged

Pages: [1]   Go Up
Print
 
Jump to: