fuse bit confusion. HELP!

I’m using the PG1B (from sparkfun/olimex) to try and program my atmega128 header package (from sparkfun/olimex). From the data sheet: "For all fuses “1â€

if you check a box, you are “programming” the fuse…

this fuse is programmed

this fuse is not programmed

I’m a newbie to programming microcontrollers. What is a “fusebit”?

A fuse bit is a configuration bit stored in Flash memory (so your configuration will stay after a reset or power cycle of a chip). You can configure oscillator selections, brown-out detection, memory protection, etc…

The world “fuseâ€

Yep. On micros like the AVR, the “fuses” are just bits of flash memory, not much different from any others. On older devices, “fuses” were literal fuses which you’d “program” by running enough current through them to blow them out. Even though the technology is different, the name stuck.

(Using fuses made sense on UV-erasable EPROM chips, where you couldn’t erase only a part of the chip. If you wanted a non-erasable bit, it had to be a fuse. Or at least I think that’s the reason. I could be wrong.)

The easiest way is to use the free demo bascomAVR (www.mcselec.com)

Not for the basic compiler, but for the excellent fusebit setting programmer. Very simple and explains what each setting means.

In the options dialog for bascom-avr which option would I pick as programmer if i have the AVR In Circuit Emulator with USB Interface from sparkfun

Cheers

Diarmuid

Hi,

I have the same question as teh last author. I have a 28 pin (atmega168) dev board from sparkfun/olimex and have both the “AVR In Circuit Emulator with USB Interface” at http://www.sparkfun.com/commerce/produc … ucts_id=12 and a AVR STK Serial Port Dongle Programmer http://www.sparkfun.com/commerce/produc … ucts_id=14. I want to use teh Bascom avr software but am unable to get either to work. The chip is not recognised and also when using the ICE the little led does not light. What settings am I supposed to use. When the ice was plugged in first it took port66 so I changed that down to 16, but no luck

Any ideas??

Diarmuid