Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programming the Arduino Uno bootloader #106

Open
kaycebasques opened this issue Nov 21, 2022 · 0 comments
Open

Programming the Arduino Uno bootloader #106

kaycebasques opened this issue Nov 21, 2022 · 0 comments

Comments

@kaycebasques
Copy link
Owner

optiboot

use the legacy arduino ide 1.8.19

assume it's at ~/arduino/arduino-1.8.19

this info seems fine or at least not completely outdated:

Programmer

  • File > Examples > ArduinoISP > ArduinoISP

Tools > Board > Arduino Uno

Tools > Port > /dev/ttyACM0 (Arduino Uno)

Tools > Programmer > ArduinoISP

Upload

Bootloader

put the AVR tools in your path:

export PATH="$PATH":"$HOME/arduino/arduino-1.8.19/hardware/tools/avr/bin"

get the latest optiboot code: https://github.com/Optiboot/optiboot

build latest optiboot code:

make ENV=arduino LED_START_FLASHES=2 atmega328

Copy that optiboot_atmega328.hex file over to
~/arduino/arduino-1.8.19/hardware/arduino/avr/bootloaders/optiboot/optiboot_atmega328.hex

Arduino expects this path and filename. Can't change it.

"old style wiring" mentioned on arduino.cc page was fine

Tools > Arduino as ISP

Tools > Burn Bootloader

Try also LED_START_ON=1 to verify that things are
changing

It's the orange LED labeled L (somewhat close to TX and RX
LEDs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant