ablab

Hello Readers, welcome to my Blog - A Blog For Bloggers By A Blogger. I'm Arun, an entrepreneur Blogger from India.

SinaProg Fuse Bit Setting Guide

5494
Mark as Favourite

Fuse Bit setting (writing) is the most critical and important feature in AVR microcontrollers. Fuse Bit is used to configure the AVR microcontrollers like frequency setting, JTAG enable/disable and others. If knowingly or unknowingly wrong Fuse Bit is set, then the microcontroller may get damaged or locked permanently. So, it is my advice to all not to play with Fuse Bits in AVR microcontroller unless and until you know what you are doing.

Now, Connect the AVR USB Programmer to the PC or Laptop directly or with the help of USB AM-FM Cable provided with the AVR USB Programmer package. Then, Connect the AVR Trainer Board-100 or any other board or microcontroller that you have, with the AVR USB Programmer through the 10 to 10 FRC Female connector provided with the AVR USB Programmer package.

Installation Process

The step-by-step Installation Process for SinaProg Fuse Bit Setting Guide is as follows:

  • Open the SinaProg Software by Double Clicking the SinaProg icon. The SinaProg window looks as the below picture.:

  • For setting Fuse Bit, we do not need any file. We just need to select the setting or need to write the Fuse Bit values in their respective field and need to click the write button. There is no standard for Fuse Bit values, it varies from microcontroller :

  • To set the frequency of the microcontroller, Select the frequency value( i.e 1MHz) from the drop-down list in the Fuses section and, “USBasp” as programmer & “USB” as port from their respective drop-down lists in the Programmer section. Select the microc:

  • When the Fuse Bit writing succeeds, ”Programming Fuses…OK” is displayed in the Status section and if fails, then “Programming failed” is displayed in the Status section. The below pictures shows the Status section, when the Fuse Bit writing succeeds and f:

  • Writing failed.:

  • Setting Other Fuse Bits or Lock Bit:

  • To set other Fuse Bits or Lock Bit, Click the “Advanced” button in the Fuses section. This opens another window, called Advanced window. The below picture shows the Advanced window along with SinaProg window.:

  • "When the Advanced window opens, it reads all the Fuse Bits ,Lock Bit, Calibration values and Device Signature values of the connected microcontroller and display it in their respective field as shown in the above the picture. Out of all these values some:

  • When the Fuse Bit writing succeeds, ”Programming Fuses…OK” is displayed in the Status section and if fails, then “Programming failed” is displayed in the Status section. The below pictures shows the Status section, when the Fuse Bit writing succeeds and f:

  • Fuse Bit Writing Failed.:

  • Alternatively, the Fuse Bits writing can be done by Clicking the “C” buttons of corresponding Fuses(i.e C button of High Fuse). This opens their respective Fuse Bit Calculator window which is shown in the below picture( i.e High Fuse Byte Calculator Windo:

  • "Select your Fuse bit setting in the Fuse Bit Calculator window from the drop-down lists and check boxes in High Fuse Byte Calculator window and Click “OK” button to save your Fuse Bit setting. Now, the new High Fuse Bit value will be reflected in the Hig:

  • When the Fuse Bit writing succeeds, ”Programming Fuses…OK” is displayed in the Status section and if fails, then “Programming failed” is displayed in the Status section. The below pictures shows the Status section, when the Fuse Bit writing succeeds and f:

  • Fuse Bit Writing Failed.:

  • Reading Fuse Bit:

  • To Read all the Fuse Bit values of the connected microcontroller, Click the “Read” button in the Advanced window. The below picture shows the progress of Fuse Bit reading.:

  • When the Fuse Bit reading succeeds then, “Reading Fuses….OK” is displayed and if fails “Programming failed” is displayed in the Status section of Advanced window. If the Fuse Bit reading succeeds, all the Fuse Bit fields in the Advanced window will be fil:

  • Fuse Bit Reading Failed.:

  • Chip Erase:

  • Erasing chip will erase all the memory (Flash, EEPROM and all the Fuse memory) of the microcontroller to the manufacturing value. To, erase the microcontroller Click the “Erase” button in the Advanced window. The below picture shows the status of the chip:

  • When the Chip Erase succeeds then, “Erasing Chip…OK” is displayed and if fails “Programming failed” is displayed in the Status section of Advanced window. The below pictures shows the status of the status section of Advanced Window when the Fuse Bit writi:

  • Chip Erase Failed.:

Post a Comment