From 3536699c51357561bded79ab5852ed0f8cc9c827 Mon Sep 17 00:00:00 2001 From: Michael Wiebusch Date: Thu, 11 Jul 2019 11:06:19 +0200 Subject: [PATCH] better documentation for firmware deploying on a fresh china board --- atmega32u4/cooler/README.txt | 23 +++++++++++++++++++++++ atmega32u4/cooler/fuses.txt | 8 -------- 2 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 atmega32u4/cooler/README.txt delete mode 100644 atmega32u4/cooler/fuses.txt diff --git a/atmega32u4/cooler/README.txt b/atmega32u4/cooler/README.txt new file mode 100644 index 0000000..e4f9a9b --- /dev/null +++ b/atmega32u4/cooler/README.txt @@ -0,0 +1,23 @@ +Employing firmware on a fresh china arduino leonardo clone: + +step 1: Connect avrisp2 or another isp programmer + +step 2: set fuses for this application: +avrdude -p atmega32u4 -c avrisp2 -P usb -U lfuse:w:0x5e:m -U hfuse:w:0xd9:m -U efuse:w:0xf3:m + +explanation: +(contains following features) + Divide clock by 8 internally; [CKDIV8=0] + Serial program downloading (SPI) enabled; [SPIEN=0] + Hardware Boot Enable; [HWBE=0] + + DISABLED JTAG! + +step 3: for faster development flash the atmel stock bootloader ... which you find in ../atmel_stock_bootloader + +step 4: connect board usb to your PC, use stock bootloader to flash cooler device firmware: +make program_bootloader + +step 5: EMTSCHEU + + diff --git a/atmega32u4/cooler/fuses.txt b/atmega32u4/cooler/fuses.txt deleted file mode 100644 index 505db21..0000000 --- a/atmega32u4/cooler/fuses.txt +++ /dev/null @@ -1,8 +0,0 @@ -avrdude -p atmega32u4 -c avrisp2 -P usb -U lfuse:w:0x5e:m -U hfuse:w:0xd9:m -U efuse:w:0xf3:m - -(contains following features) - Divide clock by 8 internally; [CKDIV8=0] - Serial program downloading (SPI) enabled; [SPIEN=0] - Hardware Boot Enable; [HWBE=0] - - DISABLED JTAG! \ No newline at end of file -- 2.43.0