Pages: [1]   Go Down
Author Topic: Can fuses be burnt using Arduino IDE?  (Read 323 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 103
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: 1
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

United Kingdom
Offline Offline
Tesla Member
***
Karma: 220
Posts: 6587
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
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. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 119
Posts: 4591
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

No, I don't answer questions sent in private messages...

Offline Offline
Newbie
*
Karma: 1
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
Jump to: