Author Topic: AVR fuse abstractions?  (Read 1630 times)

0 Members and 1 Guest are viewing this topic.

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
AVR fuse abstractions?
« on: July 31, 2015, 04:19:21 pm »
Is anyone aware of a library that fully abstracts AVR fuses?  fuse.h from avr-libc only goes half way.
http://www.nongnu.org/avr-libc/user-manual/group__avr__fuse.html

It abstracts the bit numbers of the fuse settings, but does not abstract LFUSE/HFUSE/EFUSE.  So for example if I want to set the SPIEN fuse bit, I need to know that it is a LFUSE bit on the t13a, and HFUSE on the t84a.
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline mathsquid

  • Regular Contributor
  • *
  • Posts: 247
  • Country: us
  • I like math.
Re: AVR fuse abstractions?
« Reply #1 on: July 31, 2015, 08:53:32 pm »
This is not what you're asking for, but it's what I always use to do fuse settings.

http://www.engbedded.com/fusecalc/
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: AVR fuse abstractions?
« Reply #2 on: July 31, 2015, 09:31:04 pm »
This is not what you're asking for, but it's what I always use to do fuse settings.

http://www.engbedded.com/fusecalc/

I've used it too.
If he published the source, that might give me something to work with...
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: AVR fuse abstractions?
« Reply #3 on: July 31, 2015, 11:00:27 pm »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf