{"id":18456179,"url":"https://github.com/nicohood/hoodloader2","last_synced_at":"2025-04-04T08:08:26.526Z","repository":{"id":22267553,"uuid":"25601687","full_name":"NicoHood/HoodLoader2","owner":"NicoHood","description":"16u2 Bootloader to reprogram 16u2 + 328/2560 with Arduino IDE","archived":false,"fork":false,"pushed_at":"2021-11-10T13:23:07.000Z","size":9971,"stargazers_count":756,"open_issues_count":22,"forks_count":184,"subscribers_count":56,"default_branch":"master","last_synced_at":"2025-03-28T07:07:56.140Z","etag":null,"topics":["arduino","bootloader","usb"],"latest_commit_sha":null,"homepage":" http://www.nicohood.de ","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NicoHood.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"nicohood","patreon":"nicohood","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.buymeacoffee.com/nicohood"}},"created_at":"2014-10-22T20:02:28.000Z","updated_at":"2025-03-22T03:30:42.000Z","dependencies_parsed_at":"2022-07-13T07:51:49.901Z","dependency_job_id":null,"html_url":"https://github.com/NicoHood/HoodLoader2","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoHood%2FHoodLoader2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoHood%2FHoodLoader2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoHood%2FHoodLoader2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoHood%2FHoodLoader2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NicoHood","download_url":"https://codeload.github.com/NicoHood/HoodLoader2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142066,"owners_count":20890652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","bootloader","usb"],"created_at":"2024-11-06T08:10:39.154Z","updated_at":"2025-04-04T08:08:26.505Z","avatar_url":"https://github.com/NicoHood.png","language":"C","funding_links":["https://github.com/sponsors/nicohood","https://patreon.com/nicohood","https://www.buymeacoffee.com/nicohood"],"categories":[],"sub_categories":[],"readme":"HoodLoader2.0.5\n===============\n\n![header](header.jpg)\n\n**HoodLoader2 is a CDC BootLoader with self reprogramming and Fast USB-Serial function.**\n\nAn Arduino Uno/Mega board has two Microcontroller of which one(16u2) is normally used for USB-Serial translation.\nBut we can also use it as standalone AVR Microcontroller with (or without) USB functions as well.\n\nHoodLoader2 gives you the option to **reprogram the 16u2** of a normal Arduino Uno/Mega R3 with **custom sketches**.\nThis means you can use the 16u2 as a normal USB AVR like a Leonardo.\nYou have a full compatible USB-HID core, CDC Serial and you can also use the 7 i/o pins of the 16u2.\nThe extended HID devices of the [HID Project](https://github.com/NicoHood/HID) also apply for the HoodLoader2.\n\nThe 16u2 is somehow limited in its functions but still a great addition if you know how to use it. It also compatible with\n[FastLED](https://github.com/FastLED/FastLED) and [IRLremote](https://github.com/NicoHood/IRLremote)(with PCINT) for example.\n\nThe great thing about this is that you actually have **two fully Arduino compatible Microcontrollers in one Arduino Uno/Mega board**\n– the board most of you already own. Your IO MCU (328/2560) is **still reprogrammable** if you enter bootloader mode.\nAll you need for this is a normal Arduino Uno/Mega R3 and some cables to install the new HoodLoader2.\n\nWith version 2.0.5 you can now use HoodLoader2 also on a 32u4 which gives you even more power.\n\nPlease __read the wiki carefully__ to avoid any problems. You will find most of the answers to your questions already in the wiki.\n\n\u003ca href=\"https://www.buymeacoffee.com/nicohood\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\nWiki\n====\n\nAll documentation moved to the [wiki page](https://github.com/NicoHood/HoodLoader2/wiki) (most up to date documentation).\n\nAn offline snapshot (also for older versions) is available in [releases](https://github.com/NicoHood/HoodLoader2/releases)\n\n\nContact\n=======\n\nContact information can be found here:\n\nwww.nicohood.de\n\n\nVersion History\n===============\n```\n2.0.5 Release (26.09.2015)\n* No need for HID-Project anymore, PR3640 added u2 support to IDE 1.6.6\n* Added up to 2M baud support (thx to https://github.com/urjaman/fast-usbserial)\n* Improved USART reconfiguration\n* Changed Magic Key to RAMEND\n  (requires new HID-Project IDE patch, but is still backwards compatible)\n* Saved a lot of ram by moving descriptors to PROGMEM (8/16u2)\n* Added 32u4 support with saver bootkey option and backwards compatibility\n* Added at90usb82 support\n* Added EEPROM program support for 32u2\n* Switch to U2Xn=0 if needed\n* Added USB reconnect support\n* General improvements to reduce flash size\n* Updated and improved Installation sketch\n* Added standard Uno/Mega bootloaders\n* Removed /tools folder and added information to wiki instead\n* Added recompile option to change single/double tab reset\n* Added recompile option to change power on behavior\n* Added optional old Atmega328 bootloader compatibility(baud 57600),\n  only when compiled with a different baud\n* Note: Can only be (re)compiled with AVR-GCC 5.1 and LTO (see wiki)\n\n2.0.4 Release (20.03.2015)\n* HoodLoader2.0.4\n * Upload verification on USB hubs fix in bootloader\n * Fixed 1 byte buffer overflow\n * Improved installation sketch\n * Moved to Lufa Board definition (with a fix)\n* Added HID-Project 2.2 compatibility\n * Added boards.txt for Uno/Mega + HID-Bridge\n * Improved Uno/Mega uploading (no double tab needed any more)\n * Updated USB drivers for better PC side recognition\n   (Each USB core has a different PID + Windows driver)\n * Fixed wrong PIDs in boards.txt\n\n2.0.3 Release (28.01.2015)\n* Added HID Project 2.1 board definition compatibility\n* Fixed usb flag pass via boards.txt (instead of pins_arduino.h)\n* Fixed 16u2 4 pin header pinout picture\n* DFU burn bootloader fix\n* HoodLoader2.0.3 released (minor firmware CDC identifier fix)\n* Added 32u2 bootloader to the installation sketch as well\n* Improved flash.bat file and included avrdude for windows\n* Improved Readme instructions\n* Updated USB drivers with 4 different PIDs\n* Moved documentation to the wiki\n\n2.0.2 Release (30.11.2014)\n* HID Project 2.0 official released:\n * Added Arduino IDE Integration for HoodLoader2\n * See official changelog for more information.\n* HoodLoader2.0.2 released (led off fix)\n\n2.0.1 Pre-Release (29.11.2014)\n* HoodLoader2.0.1 Release\n * Better, full reset after bootloader execution with watchdog\n * This fixes the \"No-USB\" workaround with the USB clock\n * Fixed fuse bug\n * Fixed magic key passed from Arduino core (HID Project)\n * Changed some descriptor names, bugfix above freed some space\n * Special case 57600 baud for compatibility with the ATmega328 bootloader TODO resolved (baud reserved for cdc)\n * Reset of 328 when leaving Bootloader mode resolved (not possible to fix)\n * _delay_loop_2() instead delay function resolved (saves 2 bytes, more confusing + inaccurate than useful)\n * CPU_PRESCALE resolved (not needed for bootloader, watchdog will reset it anyways)\n * Re enabled LOCK_BYTE_WRITE_SUPPORT function (due to flash improvements)\n * Increased TX/RX EP_SIZE to 64 bytes\n * Increased Serial-\u003eUSB Buffer to 128 bytes\n* HID Project dev update related to the magic key bugfix\n* Updated Atmega board programmer sketch with the new firmware and fuses\n\n2.0.0 Beta-6 Release (05.11.2014)\n* Added Arduino-IDE integration workaround for non USB usage\n\n2.0.0 Beta-5 Release (05.11.2014)\n* Improved Atmega Bootloader (added stop programming feature)\n\n2.0.0 Beta-4 Release (04.11.2014)\n* Improved Atmega Bootloader (Self flashing now works properly)\n\n2.0.0 Beta-3 Release (03.11.2014)\n* Improved Atmega Bootloader (DFU now possible)\n\n2.0.0 Beta-2 Release (02.11.2014)\n* Added Atmega Bootloader code (no DFU back possible)\n\n2.0.0 Beta-1 Release (02.11.2014)\n* Added CDC Bootloader\n* Added USB-Serial function\n* Made Repository Public\n\n2.0.0 Alpha Release (22.10.2014)\n* Added private Github repository with readme\n* Added basic functions with dev states\n```\n\n\nLicense and Copyright\n=====================\nIf you use this library for any cool project let me know!\n\n```\nCopyright (c) 2014-2015 NicoHood\nSee the readme for credit to other people.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicohood%2Fhoodloader2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicohood%2Fhoodloader2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicohood%2Fhoodloader2/lists"}