From: Michael Wiebusch Date: Thu, 11 Jul 2019 09:06:19 +0000 (+0200) Subject: better documentation for firmware deploying on a fresh china board X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=3536699c51357561bded79ab5852ed0f8cc9c827;p=avr.git better documentation for firmware deploying on a fresh china board --- 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