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?

2 Answers2

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.

Juraj
  • 18,264
  • 4
  • 31
  • 49
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
Majenko
  • 105,851
  • 5
  • 82
  • 139