Author Topic: Are AVR fuses resetable???  (Read 1229 times)

0 Members and 1 Guest are viewing this topic.

Offline tristantechTopic starter

  • Jr. Member
  • **
  • Posts: 34
  • Helpful? 0
Are AVR fuses resetable???
« on: March 11, 2009, 07:54:33 PM »
Can AVR Fuses be reset and reprogrammed? I know that RSTDISBL will brick the microcontroller, but what about the other fuses like CLKDIV8, EESAVE, etc???
Hey! Visit my website @ http://www.tristantech.net

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,150
  • Helpful? 110
Re: Are AVR fuses resetable???
« Reply #1 on: March 11, 2009, 11:10:30 PM »
CLKDIV8 - can certainly be reset as can 'most' of them.

Obviously you've found the 'reset disable' problem. Programmers like AVRISP mkII (and probably all of them?) connect with the reset pin. So disabling the reset will effectively mean 'disable talking to me anymore'.

You may wonder why such a fuse exists? Well its probably to stop a competitor taking your chip and reading the program out of it. So the chip becomes a read-only brick. Which for a developer is bad!


Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: Are AVR fuses resetable???
« Reply #2 on: March 12, 2009, 10:03:45 AM »
Yes in the data sheet in all atmegas there is a section on high voltage programming algorithms. With this you can program, high low and extended fuses. HV programming does not depend on reset pin or isp pins
« Last Edit: March 12, 2009, 10:05:01 AM by pomprocker »

Offline want2learn

  • Robot Overlord
  • ****
  • Posts: 189
  • Helpful? 4
Re: Are AVR fuses resetable???
« Reply #3 on: March 14, 2009, 01:41:08 PM »
The question that drives me hazy:

Am I, or the others crazy?

 


Get Your Ad Here

data_list