Skip to content

Commit

Permalink
Added Optiboot 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ArminJo committed Mar 2, 2024
1 parent d688c1f commit 93d659c
Show file tree
Hide file tree
Showing 6 changed files with 16,263 additions and 3 deletions.
7 changes: 7 additions & 0 deletions Optiboot_8_1/0_Burn_avrdude-optiboot_P81_to_328P.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo Burn standard Uno 328P Bootloader V8.1 on a 328P by avrdude
rem unlock bootloader 0x3x No restrictions for SPM or LPM accessing the boot loader section. 0xDE is for 512 bytes bootsize.
rem lfuse 0xFF is low power crystal 8 to 16 Mhz, 0xF7 is full swing crystal. Both with slowly rising power.
avrdude -v -patmega328p -cstk500v1 -PCOM6 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m
rem lock bootloader against overwriting, but allow reading for do_spm() feature with: lock=0x2x. No access to bootloader with 0x0x.
avrdude -v -patmega328p -cstk500v1 -PCOM6 -b19200 -u -Uflash:w:optiboot_atmega328P_81.hex:a -Ulock:w:0x0F:m
pause
Loading

0 comments on commit 93d659c

Please sign in to comment.