Uzebox Tutorials And Such 2 - bootloaderFS: Difference between revisions

From Uzebox Wiki
Jump to navigation Jump to search
(Created page with "Jubatian created a new bootloader for Uzebox. * Forum post: http://uzebox.org/forums/viewtopic.php?f=3&t=9405 ** Previous bootloader: http://uzebox.org/forums/viewtopic.php?f...")
 
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
===Write the fuses===
===Write the fuses===
Since you are writing the bootloader and have an ISP handy you may as well make sure that your fuses are correct:
Since you are writing the bootloader and have an ISP handy you may as well make sure that your fuses are correct:
  sudo avrdude -V -p m644 -P usb -c usbtiny -B 1 -U efuse:w:0xff:m -U hfuse:w:0xd2:m -U lfuse:w:0xfe:m
  sudo avrdude -V -p m644 -P usb -c usbtiny -B 1 -U lfuse:w:0xD7:m -U hfuse:w:0xD2:m -U efuse:w:0xFF:m
 
http://uzebox.org/wiki/ATmega644_Fuse_Settings


... More to come later.
... More to come later.

Latest revision as of 23:46, 21 February 2019

Jubatian created a new bootloader for Uzebox.

Use your ISP

Write the bootloader

To use these features you will need the new v5+ bootloader.

Once you have it you can use these commands to flash them to your Uzebox (assuming you have a USB Tiny ISP... if not just change the -c value to whatever you have.)

sudo avrdude -V -p m644 -P usb -c usbtiny -B 1 -U flash:w:Bootloader5_10.hex

Write the fuses

Since you are writing the bootloader and have an ISP handy you may as well make sure that your fuses are correct:

sudo avrdude -V -p m644 -P usb -c usbtiny -B 1 -U lfuse:w:0xD7:m -U hfuse:w:0xD2:m -U efuse:w:0xFF:m

http://uzebox.org/wiki/ATmega644_Fuse_Settings

... More to come later.