SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By acidblue
#99255
Trying to use this fuse calculator for the atmel168:
http://www.engbedded.com/fusecalc/
But it's damn confusing

I'm trying to follow along with this tutorial:
http://www.sparkfun.com/commerce/tutori ... ials_id=95

But i'm getting different hex values than the tut shows.
If I read it right the low fuse bit should be 11100110, which is, according to the tut
0xE6, for the 16Mhz external oscillator. I suppose I could be reading this wrong.
Anyway when type it in a get 0x19. Using the manual fuse bit one.

I can't seem to figure out the top fuse bit calculator on that site.
I don't see an EXT Crystal Osc16Mhz choice on the drop down bar.

This is all kinda new to me, so forgive me if this is one of those stupid questions
newbies always asks.
User avatar
By Chupa
#99294
i wouldn't trust that calculator.

if your using avr studio you can go to tools->program avr->connect
hit disconnected mode
on the main tab select your device in the drop down
then go to the fuses tab. maybe that will help you out a bit.

let me know how it goes!
By acidblue
#99298
I should of mentioned I'm using linux.--no avr studio.
Does avrdude have something like that?
By MichaelN
#99325
acidblue wrote:I should of mentioned I'm using linux.--no avr studio.
Does avrdude have something like that?
I'm not sure there are any decent AVR tools for linux. A friend of mine who absolutely hates Windows uses Virtualbox from within Ubuntu so that he can run AVR Studio. AVR Studio has its issues, but it gets the job done.
By acidblue
#99375
Yea, I figured that much out.
But that fuse calculator is giving me different results than the tutorial shows.

I just figured I was reading/using the calculator wrong and maybe someone with
more experience could show me how to use it, or show a different less confusing
way to calculate fuse bits.
AVR Studio is a possibility but I'm not a winblows user .--Sorry all *Nix users are required to spell windows that way.

I could use the data sheet like the tutorial explains, I was just
looking for an easier way.