2

I have a Atmega328p IC without external Crystal (My target).

When I use a arduino to burn the bootloader to my target, the Arduino as ISP sketch changes the fuses of my target, so it tries to use its external crystal, which is not connected, So it cannot proceed the bootloader burn.

external crystal

How can I modify the Fuse settings while Burning bootloader with arduino?

asked Jul 28, 2021 at 8:07

2 Answers 2

2

You need to either adjust the current board fuse settings in boards.txt or create a new board variant that matches your settings.

For example the Uno is set up with:

uno.bootloader.tool=avrdude
uno.bootloader.low_fuses=0xFF
uno.bootloader.high_fuses=0xDE
uno.bootloader.extended_fuses=0xFD
uno.bootloader.unlock_bits=0x3F
uno.bootloader.lock_bits=0x0F
uno.bootloader.file=optiboot/optiboot_atmega328.hex
answered Jul 28, 2021 at 8:16
1
  • 1
    and after changing this file, I needed to re-start the arduino.exe, thank you! Commented Jul 28, 2021 at 9:09
3

You can use MiniCore boards support package for Arduino IDE to work with nonstandard AVR boards or breadboard setups. This core has many settings in Tools menu to set different parameters of the board.

answered Jul 28, 2021 at 13:50

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.