User Tools

Site Tools


arduino:atmega328p_arduinos_and_custom_fuse_settings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
arduino:atmega328p_arduinos_and_custom_fuse_settings [2020/01/04 02:36] – [Burn the bootloader and test] mithatarduino:atmega328p_arduinos_and_custom_fuse_settings [2020/01/04 02:44] – [Upload with programmer and test] mithat
Line 224: Line 224:
 ==== Burn the bootloader and test ==== ==== Burn the bootloader and test ====
  
-Whether you plan to upload your sketches with a USB to serial converter (i.e., using the bootloader) or directly by using a programmer, you still need to burn the bootloader to set the fuses. So let's burn and test the bootloader.+Whether you plan to upload your sketches with a USB to serial converter (i.e., using the bootloader) or directly [[arduino:arduino_without_a_bootloader|using a programmer]], you still need to burn the bootloader to set the fuses. So let's burn and test it.
  
 === Burn it === === Burn it ===
Line 248: Line 248:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-If you reduce the BOD threshold or turn off BOD entirely, don't run programs uploaded by the bootloader at low voltages. See [[arduino:arduino_without_a_bootloader#cursed_is_the_bootloader|this]] for an explanation why.+If you reduce the BOD threshold or turn off BOD entirely, don't run programs uploaded by the bootloader at low voltages. To run a sketch at low voltage you should upload your sketch directly using a programmer. See [[arduino:arduino_without_a_bootloader#cursed_is_the_bootloader|this]] for an explanation why.
 </WRAP> </WRAP>
  
-To run a sketch at low voltage you should upload your sketch directly using a programmer. 
 ==== Upload with programmer and test ==== ==== Upload with programmer and test ====
  
-After burning the bootloader to set the fuses, hook up your programmer. Be sure you have set both the board and programmer to the correct values under //Tools//. Then upload your simple test sketch with //Sketch > Upload Using Programmer//. Your sketch should upload and start running (possibly only after you have disconnected the programmer)(possibly only after you have disconnected the programmer).+After burning the bootloader to set the fuses, [[https://mithatkonar.com/wiki/doku.php/arduino/arduino_without_a_bootloader#case_3pro_mini_33v8mhz_with_usbtinyisp|hook up your programmer]]. Be sure you have set both the board and programmer to the correct values under //Tools//. Then upload your simple test sketch with //Sketch > Upload Using Programmer//. Your sketch should upload and start running (possibly only after you have disconnected the programmer).
  
 Follow the instructions above to read the fuse settings. You should see: Follow the instructions above to read the fuse settings. You should see:
Line 269: Line 268:
 </code> </code>
  
-The extended fuse should still be ''0xFE''.+Confirm that the extended fuse is still ''0xFE''.
  
-You can now connect the Pro Mini to a variable supply to see whether it works as expected below 2.7V. It may not work all the way down to 1.8V though, but because you're not using a bootloader, the chances of corrupting program memory are very low.+You can now connect the Pro Mini to a variable supply to see whether it works as expected below 2.7V. It may not work all the way down to 1.8V though, but because you're not using a bootloader, you won't run the risk of corrupting your program memory.
arduino/atmega328p_arduinos_and_custom_fuse_settings.txt · Last modified: 2021/04/22 01:37 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki