Uzebox Tutorials And Such 2 - bootloaderFS: Difference between revisions
Jump to navigation
Jump to search
Nicksen782 (talk | contribs) m (Corrected the fuse setting) |
Nicksen782 (talk | contribs) |
||
Line 14: | Line 14: | ||
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 lfuse:w:0xD7:m -U hfuse:w:0xD2:m -U efuse:w:0xFF: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.
- Forum post: http://uzebox.org/forums/viewtopic.php?f=3&t=9405
- Previous bootloader: http://uzebox.org/forums/viewtopic.php?f=3&t=520
- BootDemo on Github: https://github.com/Uzebox/uzebox/tree/master/demos/BootDemo
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.