Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fuse-bits]

Fuse (and Lock) Bits are a type of low level programming and security feature on embedded devices. Most popularly known in Atmel AVR devices, they can be likened to a secure Bios on a computer. They can also be found in MSP430, PIC, and other microcontrollers. Care needs to be taken when working with programming Fuse Bits, as they can render a device useless. MANY are One Time Programmable.

-6
votes
1answer
83 views

Recovering a program from a locked AVR [closed]

How can a program from an AVR be recovered when its lock fuse bits are set?
0
votes
1answer
48 views

ATmega stopped working after changing CKDIV8 fuse

I have ATmega32U4. I connected it via SPI programmer and in Atmel Studio I have read their signature properly. It was working. Then I cleared and programmed CKDIV8 fuse. Clock was set to internal RC. ...
3
votes
2answers
251 views

How to test a CPU watchdog on board?

The watchdog of an ATMEL ATXMega128 should have been enabled with fuses. It triggers a reset, if the timer was not reset within the configured time span. I want to be sure, that it is enabled and ...
0
votes
0answers
35 views

chaning fuse bytes in stimuli file in atmel studio simulator

I'm writing a stimuli file for debugging a code wrote for atmega168PA. In this stimuli file I want the lower fuse byte to be set automatically so I don't have to do it manually every time. I know that ...
0
votes
0answers
51 views

arduino nano (ATmega168/ATmega328) fuse-bits for avoid reading

I was reading about the fuses to lock the final user of an atmega328/168 of arduino nano for reading the hex code. But I still unsure about this and I dont want to mess up my chip. How can I use ...
0
votes
1answer
900 views

ATmega328P 16MHz or higher clock output on CLKO pin

I need a high frequency clock (16MHz or higher) to drive OV7670 camera module, and I want my ATmega328P to be source of that clock. I'm using the CLKO pin since I ...
-1
votes
1answer
491 views

Fuse Bits for ATmega1284P

I need to use an external crystal oscillator for PWM generation on the ATmega1284P. I have set the wrong fuse bits and I can't program it now. Can this be rectified?
-1
votes
1answer
334 views

Which crystal do i choose in atmel studio?

I'm trying to use this 16mhz crystal with an atmega328 chip and I need to set the fuses for it in atmel studio. But I have no idea which option is the correct choice. None of them say 16mhz. I've has ...
1
vote
1answer
2k views

How to use ATTiny PB5 RESET pin as GPIO

I'm trying to use the reset pin as GPIO. This is what I made. My schematic is this: So I wrote a very simple code to make that led blink. This is my code: ...
0
votes
1answer
359 views

Multisim simulation of AVR fusebit doctor

I've found a very interesting fusebit doctor. This is a tool to repair the fuses of ATtinys. Link: http://mdiy.pl/attiny-fusebit-hvsp-doctor/?lang=en This is the original schematic: I want to ...
0
votes
1answer
483 views

how to reset atmega16a fuse bits?

I am using usbasp with atmega16a. I try to use external crystal 16MHZ with 22p capacitor. With mistake i use this command to change the fuse setting. ...
0
votes
2answers
237 views

Atmega was loose during programming, now target doesn't answer, and device signature keeps changing

I'am using an atmega328p with a custom build programming board connected to an usbasp. While programming with arvdude, the atmega chip was not perfectly placed in the board header, and the atmega ...
-2
votes
1answer
299 views

Writing fuse-bits with HV programmer doesn't work

I bought 40 attiny13a chips from china but after receiving them, I couldn't program them with my USBasp programmer. I tried all of them with the same result - chips did not respond to the programmer. ...
1
vote
1answer
479 views

Programming ARM Option Bytes using Assembly Directives

So, having a look at the datasheet for a specific ARM controller, we find the address space to be mapped out as follows: There are number of ways to accomplish this, one of which is through an auto-...
1
vote
1answer
2k views

AVR unable to enter programming mode

I have an ATMega88PB on a PCB which won't enter programming mode after changing the fuse settings to EXTFSXTAL_16KCK_14CK_0MS. Prior to this, the AVRISP MkII was able to communicate with the ...
1
vote
1answer
949 views

ATmega162 fuses to select external clock 12Mhz?

Could anyone tell me how I could change the fuse bit, so that my ATmega162 uses 12 MHz external crystal. Once, I made the changes in the AVR fuses wrong the AVR went dead. That is why I need ...
2
votes
1answer
1k views

Help for Changing the ATMega328's clock source to External Clock

I want to change the fuse bits of the ATMega328 to operate with external clock (function/signal generator) instead of the crystal. The clock speed will be 8MHz. I have been trying for months and all ...
1
vote
1answer
6k views

avrdude: initialization failed, rc=-1

when trying to program the fuses I get this known error message: $ sudo avrdude -c usbtiny -p m328p -U hfuse:w:0x05:m avrdude: initialization failed, rc=-1 ...
0
votes
1answer
420 views

Can't read/write to/from the atmega328p

I cant communicate with the Atmega328p. I've flashed fuses low: 0x59, high: 0xD9 and changed wiring. Now I've connected 16Mhz crystal to the XTAL1, XTAL2 pins, and 2x22pF to the crystal. But I can't ...
5
votes
3answers
847 views

Does CKDIV8 save battery life when programmed?

On ATmega328P there is a CKDIV8 fuse bit that when programmed divides clock by 8. I'm wondering if the power consumption is equal on these two setups: micro with 8MHz external crystal and CKDIV8 ...
3
votes
2answers
4k views

Do I have to use external clock for ATmega ISP programming after changing fuse bits?

After programming an ATmega microcontroller via ISP (SPI) interface and changing the clock-related fuse bits, I'd like to reprogram it again. Will I have to connect it to an external clock now to do ...
1
vote
2answers
674 views

Brand new ATmega8 - Changing Fuse Bits

I seem to have a little confusion regarding changing the fuse bits on a new ATmega8 AVR. A brand new AVR comes with 1 MHz internal RC setting and there's no CKDIV8 fuse bit. Also since ISP ...
1
vote
1answer
5k views

Fuse configuration AVR dude for external 12MHZ crystal in Atmega 168

I have 2 microcontrollers (Atmega 168PA-PU). So far I have run the following program in one of them (say mc1). Now when I run the same code in the other one it gives erroneous results. Someone ...
2
votes
4answers
1k views

Why does my AVR act weird (resets, data corruption) when receiving a few bytes on the UART?

I have an ATmega644 connected to another device using the UART. After receiving a few characters on the UART the device resets and/or acts weird. Some examples of this behavior: Code before the main ...
1
vote
3answers
2k views

AVR ATtiny2313 fuse-bit confirmation

I'm programming an ATtiny2313, with some hex for an infrared remote IgorPlug with AVR via USB, I'm new to AVR and need to confirm please that what he refers to the fuse configuration: Q: Is ...
7
votes
2answers
4k views

ATTiny85 not working after burning bootloader

I am having a problem with my ATTiny85. I should mention I use Arduino as an ISP to program it. My ATTiny worked fine until I decided that I need to step up the clock speed from 1MHz to 20MHz so I ...
3
votes
1answer
2k views

Fuse Bit settings in ATmega128 Micro controller

I am working with ATmega128 board. The datasheet states ATmega128 is by default shipped in ATmega103 compatibility mode In ATmega103 mode, the MCU both serial communications cannot be used and ...
3
votes
3answers
4k views

ATmega32 factory reset board

Is there a reset board available (I mean schematic, link, tutorial or anything else) out there for the ATmega32 microcontoller (I heard about a high-voltage reset board, and I found some links for an ...
3
votes
1answer
4k views

ATMega8U2 and DFU mode

I made simple board with ATMega8U2 microcontroller for my USB experimenting (I'd like to make MIDI, HID, ... devices). I took inspiration in Arduino Uno. If you look on schematic below, you can see it ...
2
votes
2answers
2k views

Atmega328 reset pin not working after re-burning Arduino boot loader?

For a bit of background you might want to read ATmega328 with Optiboot not compatible with Arduino? But I will summarize anyway. I have some Atmega328 chips that shipped with the optiboot ...
4
votes
2answers
2k views

ATmega32u2 fuse bits - can destroy using FLIP?

I want to build some simple application using ATmega32u2, and have it programmed strictly only via USB, by using the factory-builtin USB bootloader on µC, together with the "FLIP" program ...
3
votes
2answers
22k views

ATmega fuses for external crystal oscillators greater then 8 MHz

Currently I am trying to figure out what the correct fuse settings for my ATmega8 are, when I want to use an external crystal oscillator with a frequency greater then 8 MHz. I have found the ...
5
votes
2answers
4k views

What is an eFuse

I heard in a recent presentation that the XBox 360 uses an eFuse to prevent users from reverting back to prior boot/firmware image. What is an eFuse and how do they work?
17
votes
7answers
33k views

How do I set the clock speed fuses on an ATtiny85 when using an Arduino as a programmer?

I'm following this tutorial, programming the ATtiny85 with an Arduino, using it to play some tones (through a piezo speaker). I'm struggling with getting the tones at the right pitch (I'm creating the ...
2
votes
1answer
2k views

ATMega644PA possibly bricked by setting fuses with avrdude

I have been programming an ATMega644PA with avr-gcc and avrdude on linux for a little while with no problems. Well until I decided to change some fuses. I had been using the option for avrdude ...
20
votes
3answers
12k views

What are Atmel Fuses?

What are Fuses in Atmel microprocessors and when I should or need to change the default settings?
9
votes
2answers
633 views

Recovering an ATtiny13

I am playing with an ATtiny13 and I thought it would be good to use it with an external 8Mhz ceramic oscillator instead of the 1.2 Mhz built-in one. (I want to do a soft-uart at 9600 bps, so I figured ...