1000 Threads found on edaboard.com: Fuse Bits
I first time try to work on AVRs(Atmega64).
When try to program it with Bascom11173 and STK200. It looks it work only first time, when I do some changes in fuse bits it then never again be connected/detected.
Now the device is no more detected by Bascom, also tried PonyProg2000 but could not succeeded.
My question is that is there any po
Microcontrollers :: 11-21-2003 16:40 :: sadat007 :: Replies: 9 :: Views: 3749
Your problem is that your chip is waiting for the external oscilator to start working :D it doesn't work anymore from the internal oscilator. You can attach a crystal to the chip and program the fuse bits to internal oscilator again, then you can remove the crystal again.
yes, your problem is external clock.
Microcontrollers :: 08-24-2006 03:03 :: hr_rezaee :: Replies: 8 :: Views: 1656
i am faced with this problem that after writing my code and after building the solution when i just move on to download it to my mcu through my setup of avrstudio4 with winavr as compiler and stk500 attached to comp via rs232 and to target via isp 6 pin cable ..... the interface do open for setting the various values like fuse
Microcontrollers :: 12-28-2006 19:51 :: ashish sharma :: Replies: 0 :: Views: 1189
actually i messed up with fuse bits of atmega 32l and now they are not giving me the way.....
how to erase and restore the mcu ..
simple chip erase using high voltage seriel programming also is not working
Microcontrollers :: 12-29-2006 10:51 :: ashish sharma :: Replies: 4 :: Views: 1203
In avr microcontroller if i m using crystal oscillator above 8 MHz then i hv to set its fuse bits how can i do it??
Microcontrollers :: 02-29-2008 07:52 :: srutiranjan :: Replies: 1 :: Views: 3162
Do you know how to change the fuse bits in running mode
I use IAR compiler.
Thanks in advance
Microcontrollers :: 09-07-2010 07:13 :: xxtigerxx :: Replies: 0 :: Views: 868
is there any software to calculate atmega fuse bits for different parameters if yes pls post here otherwise i want list for external /internal crystal selection so that it would be easier to see before programming and set according to list much confusing while setting fuse bits /programming .
i am using pony prog .
Microcontrollers :: 09-18-2010 22:31 :: santoshaxl :: Replies: 4 :: Views: 3519
Every one when new to AVR got into trouble with fuse bits.
You should be careful while setting fusebits. Double check before writing fusebits.
If you messed up with fusebits then the avr wont behave as it should and you need a high voltage parallel (...)
Microcontrollers :: 11-30-2010 12:22 :: nandhu015 :: Replies: 2 :: Views: 974
I used an Atmega8 whose fuse bits was not set to use an external oscillator(fuse bits were at factory settings), in a circuit with a 12Mhz oscillator and powered on the circuit.
needless to say the program did not work. Now when I try to program this Atmega8, Avrdude says "AVR device not responding"
Is there any way (...)
Microcontrollers :: 06-21-2011 15:01 :: hotshot05 :: Replies: 4 :: Views: 775
Hi, need me help.
I make programmer for AVR microcontrollers, with ATmega8.But I'm not sure whether I correctly set fuse bits. I am read datasheet but I don't understand fully datasheet. I am set low fuse bits 0xD9 and high fuse bits 0xE1. I using 12MHz quartz oscillator. Lock (...)
Microcontrollers :: 11-03-2011 21:32 :: rade908 :: Replies: 6 :: Views: 3444
I am using avr and avr-gcc for first time. Is it possible to include the fuse bits in the C code ?
If so, how ?
Microcontrollers :: 12-19-2011 15:48 :: vinodstanur :: Replies: 1 :: Views: 1264
From the other thread, I've read that you used the 16F877A. Maybe you're referring to the configuration bits of the PIC.
Here you can read about the fuse bits of the AVR microcontroller:
Microcontrollers :: 03-21-2012 10:49 :: Tahmid :: Replies: 1 :: Views: 904
I am programming to send and receive data between PC and USART of atmega128 but my program isn't work! After considering this, I think that the problem is the fuse bits. I am new to this and I have no idea to do it, could anyone who has experience advice me about:
1) I am using AVR STUDIO 4, what software I have to install to set fuse bit? (...)
Microcontrollers :: 09-28-2012 00:07 :: anhnha :: Replies: 1 :: Views: 966
This was my only problem which I am always facing after moving from pic to avr. I am using usbasp programmer. Lot of avr chips are screwed due to fusebit problem. But the interesting thing is, it is getting screwed some time even if we are not doing any thing on the fuse. Just burning flash also makes the fuse bits (...)
Microcontrollers :: 11-15-2012 07:03 :: vinodstanur :: Replies: 16 :: Views: 1330
lower fuse = 0xFF
higher fuse = 0xC9
A simple google u would have got lots of help
Microcontrollers :: 03-14-2014 00:00 :: Elimathew :: Replies: 2 :: Views: 176
Page 25/26 of the datasheet
The CKOPT fuse selects between two different Oscillator
amplifier modes. When CKOPT is programmed, the Oscillator output will oscillate will a full rail-
to-rail swing on the output. This mode is suitable when operating in a very noisy environment or
when the outpu
Electronic Elementary Questions :: 11-28-2011 03:02 :: alexan_e :: Replies: 3 :: Views: 2367
No, you cannot use ISP for further programming if the RSTDISBL fuse it's clear. You have to use a parallel programmer to change fuse or programming
Microcontrollers :: 09-18-2004 08:24 :: marie65 :: Replies: 3 :: Views: 2606
do you have a schematic or know link of a project wich can be used for unprogramming rstdisbl and spien fuse bits ?
cause they can be programmed by ISP prorgrammer but can't be unprogrammed by ISP any more so a high voltage programmer should be used ...
i found a project for high voltage programmer, but if there is a circuit wich onl
Microcontrollers :: 10-09-2008 13:48 :: hm_fa_da :: Replies: 6 :: Views: 3962
SinaProg - AVRProg GUI for AVRDUDE 5.6 with AVR fuse
Software Links :: 05-05-2009 03:08 :: tizchangal :: Replies: 3 :: Views: 8141
SinaProg 22.214.171.124 - AVRDUDE-GUI with AVR fuse
Software Links :: 01-01-2010 10:39 :: tizchangal :: Replies: 0 :: Views: 862
i need to restore a protected PIC to reprogramm only the fuses.
Is it possible?
Microcontrollers :: 01-06-2010 13:45 :: Gigillo74 :: Replies: 4 :: Views: 1348
SinaProg 126.96.36.199 - AVRProg GUI for AVRDUDE 5.10 with AVR fuse
Software Links :: 02-01-2010 01:09 :: tizchangal :: Replies: 0 :: Views: 927
Hi everybody, how’s going. This one of my firsts posts. I’ve been working in a project and one of the problems or something a little bit difficult to understand (if like me it’s the first time using AVR’s ) had been the fuse configuration. Here i left some interesting and useful links.
Microcontrollers :: 04-28-2010 22:57 :: cerberolooch :: Replies: 0 :: Views: 823
SinaProg 188.8.131.52 - AVRDUDE-GUI with AVR fuse Calculator
__________* You can edit the file "fuses.txt", to add your comments for
Software Links :: 08-10-2010 10:24 :: tizchangal :: Replies: 0 :: Views: 298
I wanted to program my Atmega32L to external crystal oscillator using Ponyprog. Targe fuse settings: high: C9 low: EF
Previously it was default factory setting: 99 E1.
When I pushed write all in fuse settings in ponyprog, I got "fuse write failed" and it did not recognize the chip after that.
I got a "Xeltek Superpro 580U" universal (...)
Microcontrollers :: 08-16-2011 14:17 :: Raj23 :: Replies: 9 :: Views: 728
The project can be found Atmega HVPP fusebit doctor – napraw fusebity, fix fusebits >> Manekinen DIY
It is also uploaded in a thread related to locked AVRs
---------- Post added at 19:10 --
Microcontrollers :: 10-24-2011 12:10 :: alexan_e :: Replies: 2 :: Views: 2450
If I just make the lock bits to lock the code can anyone else change the lock bits back to 3f and read the code ? This is reason I was disabling the serial programming..
I am confused here, I think I have accidentally wasted my chip, Now is it possible to completely lock the chip by just using lock bits , means no one can r
Microcontrollers :: 02-03-2012 23:43 :: nandhu015 :: Replies: 26 :: Views: 3342
You can program the fuse bits using usbasp.
If by any mistake you programmed wrong fuse bits, there is a chance that you have selected external clock instead of crystal oscillator and internal oscillator. I have faced a similar problem while programming an avr. In such case, you need to provide an external clock (around (...)
Microcontrollers :: 06-21-2012 15:25 :: vinodstanur :: Replies: 2 :: Views: 718
You can use this calculator
You have currently set your mcu to external clock so you need to connect an external clock source in the XTAL1 pin to reprogram it.
You can use another avr set to toggle a pin on/off as a clock or a crystal oscillator or even a 555 should do.
- - - Updated - - -[/C
Microcontrollers :: 07-25-2012 06:24 :: alexan_e :: Replies: 16 :: Views: 5832
I was programming my attiny26 device with usbtiny programmer and I obviously accidently messed up clock fuse bits, because I have no experience with avr's yet. I used this site to calculate my fuse bits two bytes. It was as following:
Microcontrollers :: 08-12-2012 06:39 :: bmandl :: Replies: 7 :: Views: 677
Jtag enabled etc
There is no JTAG in ATMEGA8.
Looking at the attachment fuse for internal 8MHz is correct.
Do you need bootloader which is selected for 1024 bytes in your attachment.
Microcontrollers :: 09-24-2012 02:14 :: nandhu015 :: Replies: 10 :: Views: 1217
hey guys im using atmega 168A -pu im beginner with avr i have some basic doubts as to can i use 20mhz crystal and if so ive done the fuse settings can you please tell me if its right spien-programmed(logic 0) brownout programmed to 4.3V BODLEVEL1=programmed(logic 0) BODLEVEL0=programmed(logic 0) BOOTSZ1=programmed(logic 0) BOOTSZ0=
Microcontrollers :: 09-30-2012 02:46 :: Elimathew :: Replies: 6 :: Views: 456
i am using USB programmer with extreme burner 1.2. i want details about how to set the lock fuse in that.
thanks in advance
Microcontrollers :: 02-04-2013 07:14 :: selva murugesan :: Replies: 1 :: Views: 564
Yes, your setting is fine, you can check using
Note that for crystals >8MHz you should program the CKOPT fuse but for 8MHZ both modes will work
Microcontrollers :: 07-28-2013 08:55 :: alexan_e :: Replies: 1 :: Views: 224
Hi everyone, i try to blink a led to learn avr series as hoby so i wrote this code below:
#define OUTPUT 1
#define INPUT 0
DDRC = 0xFF; // PC0..PC3 as output
PORTC = 0x00; // all PORTC output pins Off
Microcontrollers :: 01-09-2014 17:23 :: ashes35 :: Replies: 3 :: Views: 261
I have atmega 32 that i connect a button to INT0 I want to know that if I program this chip which fuse bit should I choose and is it an external SUT_CKSEL and which SUT_CKSEL should choose?:?::?:
- - - Updated - - -
I have atmega 32 that i connect a button to INT0 I want to know that if
Microcontrollers :: 04-24-2014 04:14 :: ghoola :: Replies: 0 :: Views: 105
Last time i worked with ATMEGA32 I Accidently Programmed my Chip (in ISP mode) Wrong and
i Disabled the SPI Enable fuse Bit and i think I had programmed my fuse bit Wrong that i Can't Program
(read or Write )My chip any more(i checked it with ISP Programmer).
Is there any solution To Change My fuse bits and unlock (...)
Microcontrollers :: 07-31-2005 06:46 :: sunsina :: Replies: 2 :: Views: 1237
u see fuse bits for it is some information about fuse bits !!!
Microcontrollers :: 07-30-2006 01:42 :: hr_rezaee :: Replies: 8 :: Views: 2194
I have a problem with programming Tiny13.
When I disable reset pin (fuse RSTDISBL=0), further programming is not possible. The programmer doesn't detect the device. I use this - high voltage serial programmer.
There is a errata in the datasheet about combinations of fuse bits that may lock
Microcontrollers :: 01-23-2006 13:46 :: luckym :: Replies: 0 :: Views: 2464
The above circuit will work (mine does).
You don't need to enable/disable any internal clocks because all AVR's are configured to their internal 1Mhz clock source by default (factory set).
Ponyprog will work immediately with any fresh AVR without setting any fuse bits.
DON'T play aroud with the fuse bits unless you (...)
Microcontrollers :: 02-04-2006 11:51 :: blueled :: Replies: 4 :: Views: 835
What about watchdog it enabled by default.Or disabled.Or is there any configuration bits like PIC
The WDT Initial state of AT90S4414/8515 is disabled at power-up and similar with Safety level 0 of ATMega8515 (fuse bit S8515C programmed "0" and WDTON unprogrammed "1").
If you're using PonyProg typing CTR
Microcontrollers :: 03-09-2006 08:31 :: silvio :: Replies: 4 :: Views: 1141
try to use ponyprog on it's a popular software. almost new avr device will use internal rc . if you want to use external crystal you must set fuse bit
Microcontrollers :: 03-17-2006 07:32 :: necromancer :: Replies: 3 :: Views: 1370
the problem is tht ur jtage is enabled. You have to do fuse bits to disable it. Some examples of doing fuse bits are available on the book
MY EXPERIENCE IN PROGRAMMING AVR MICROCONTROLLERS IN C USING WINAVR
You can get the book from
Microcontrollers :: 05-07-2006 11:53 :: yogi :: Replies: 2 :: Views: 741
I think it's better to use PonyProg instead of AT-PROG, because AT-PROG is a bit outdated now, and the free version is limited to 1k of program memory.
I think I have AT-PROG and programmer schematic on an old CD, so I can post them if I will find them. AT-PROG was my first AVR programmer, but I don't use it anymore, because is size limited (free
Microcontrollers :: 04-27-2006 16:36 :: Eugen_E :: Replies: 2 :: Views: 1700
AVRs have ISP capability, which means they can be programmed by an easier interface called ISP. But there are Some fuse bits that if you program them then the chip would not be programmed by an ISP programmer any longe such as Reset Pin/Oscillator/Etc.
in these situations you will need a parallel programmer to erase the chip back to the defualt fa
Microcontrollers :: 06-13-2006 00:10 :: farshidjh :: Replies: 5 :: Views: 2020
I'm using ICC-AVR and i can't set fuses.How to set them?
(I want to use crystal but the micro uses the internal 1M OSC)
Microcontrollers :: 07-02-2006 04:31 :: arash_micro :: Replies: 4 :: Views: 611
Yes,with JTAG you can do software debugging and programming of micro in both JTAG and in ISP mode.
In JTAG mode you can program FLASH and EEPROM and fuse bits ,you can do this also in ISP mode of JTAG ICE.
Microcontrollers :: 12-20-2006 13:04 :: 7rots51 :: Replies: 9 :: Views: 1506
Is that avr new one and if it is , is it supplied with fuse settings which define internal rc oscillator as clock source ? If so you should need to lower stk500 frequency to reach programming fuses. ISP communication frequency should be less than cpu clock .
i dont remember exact numbers - try find it from stk ug.
Microcontrollers :: 12-30-2006 10:14 :: artem :: Replies: 8 :: Views: 1530
there's something called lock bits sometime called fuse bits i think that are used to lock the code..
give some details of your project and definitely someone can tell you exactly how to do it..
interestingly, on a sidenote, a hell lot of work is going into how to recover programs that have been protected this way, and people have (...)
Microcontrollers :: 02-20-2007 05:58 :: wiztronix :: Replies: 7 :: Views: 728
What is your code ? Where is you code ?
Have you set the fuse bits correctly ?
Microcontrollers :: 04-04-2007 14:48 :: vsmGuy :: Replies: 6 :: Views: 3504