From 52a50787063fa2fdfd9719a4a6d73a610b878951 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sat, 6 Sep 2025 00:43:05 +0200 Subject: [PATCH] added flash instructions for n28 and t04. --- flashnode.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/flashnode.sh b/flashnode.sh index 6370233..2b9adf8 100755 --- a/flashnode.sh +++ b/flashnode.sh @@ -93,6 +93,13 @@ case $NODE in EFUSE_ARG="-U efuse:w:0xFE:m" FILE_ARG="-U flash:w:./0-build/avr/devices/n27/boot/n27_boot.hex" ;; + n28) + DEVICE_ARG="-p t84" + HFUSE_ARG="-U hfuse:w:0xD7:m" + LFUSE_ARG="" + EFUSE_ARG="-U efuse:w:0xFE:m" + FILE_ARG="-U flash:w:./0-build/avr/devices/n28/boot/n28_boot.hex" + ;; r04) DEVICE_ARG="-p t841" HFUSE_ARG="-U hfuse:w:0xD7:m" @@ -121,6 +128,13 @@ case $NODE in EFUSE_ARG="-U efuse:w:0xFE:m" FILE_ARG="-U flash:w:./0-build/avr/devices/t03/boot/t03_boot.hex" ;; + t04) + DEVICE_ARG="-p t841" + HFUSE_ARG="-U hfuse:w:0xD7:m" + LFUSE_ARG="" + EFUSE_ARG="-U efuse:w:0xFE:m" + FILE_ARG="-U flash:w:./0-build/avr/devices/t04/boot/t04_boot.hex" + ;; *) echo "Unknown node $NODE". exit 1