Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to set fuse bits for atmega128?

Status
Not open for further replies.

anhnha

Full Member level 6
Joined
Mar 8, 2012
Messages
322
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,298
Activity points
3,684
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?
2) Do I need to set fuse bit when I just simulate in proteus?
3) What kind of fuse bit I have to set or clear?
Hope anyone can help or give me a link to that!
Thanks.
 

The fuse bits available in each mcu model are described in the datasheet in the memory programming section.

The main fuses you need to set are usually the ones related to the clock source selection.
If you want to use the jtag pins as I/O then you need to disable JTAGEN.
Don't change SPIEN because it can disable the serial programming.

Proteus models have also fuses, to set them double click the mcu in the schematic.

Here is a fuse calculator you can use
http://www.engbedded.com/fusecalc

- - - Updated - - -

All programmers can write or read the fuses too, if your programmer is recognized in AVR studio then you can use that interface, if not use the interface available in your programmer software.

I personally use USBasp with avrdude and as fronted http://avr8-burn-o-mat.aaabbb.de/avr8_burn_o_mat_avrdude_gui_en.html
 
  • Like
Reactions: anhnha

    anhnha

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top