{"id":16218960,"url":"https://github.com/arminjo/attiny-highvoltageprogrammer_fuseeraser","last_synced_at":"2025-03-19T10:31:16.689Z","repository":{"id":52467276,"uuid":"124059855","full_name":"ArminJo/ATtiny-HighVoltageProgrammer_FuseEraser","owner":"ArminJo","description":"Using an Arduino and 12 Volt to erase wrong ATtiny fuse settings by High-voltage Serial Programming","archived":false,"fork":false,"pushed_at":"2023-02-11T10:54:28.000Z","size":216,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T18:22:28.231Z","etag":null,"topics":["arduino","attiny85","high-voltage-serial-programmer","hv-programmer","programmer"],"latest_commit_sha":null,"homepage":"","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/ArminJo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-06T10:12:57.000Z","updated_at":"2024-06-04T16:58:49.000Z","dependencies_parsed_at":"2024-10-27T20:31:28.688Z","dependency_job_id":"d914a368-d72c-4d6f-a17f-0be497c74d09","html_url":"https://github.com/ArminJo/ATtiny-HighVoltageProgrammer_FuseEraser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArminJo%2FATtiny-HighVoltageProgrammer_FuseEraser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArminJo%2FATtiny-HighVoltageProgrammer_FuseEraser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArminJo%2FATtiny-HighVoltageProgrammer_FuseEraser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArminJo%2FATtiny-HighVoltageProgrammer_FuseEraser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArminJo","download_url":"https://codeload.github.com/ArminJo/ATtiny-HighVoltageProgrammer_FuseEraser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243985466,"owners_count":20379143,"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","attiny85","high-voltage-serial-programmer","hv-programmer","programmer"],"created_at":"2024-10-10T11:51:48.086Z","updated_at":"2025-03-19T10:31:16.384Z","avatar_url":"https://github.com/ArminJo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino High Voltage Programmer / Eraser for ATtiny\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n![Hit Counter](https://visitor-badge.laobi.icu/badge?page_id=ArminJo_ATtiny-HighVoltageProgrammer_FuseEraser)\n\nBased on [Recover Bricked ATtiny Using Arduino as high voltage programmer](http://www.electronics-lab.com/recover-bricked-attiny-using-arduino-as-high-voltage-programmer/).\u003cbr/\u003e\nThis program restores the default fuse settings of the ATtiny and can perform a chip erase \u0026 lock bits reset.\u003cbr/\u003e\nAfter resetting, the fuses can then easily be changed with the programmer you use for uploading your program i.e. avrdude.\u003cbr/\u003e\nTo burn micronucleus bootloader on an empty chip use the `Burn_avrdude-*` scripts available [here](https://github.com/ArminJo/micronucleus-firmware/tree/master/utils).\n\n### Modified for easy use with Nano board on a breadboard\n- Added option to press button instead of sending character to start programming\n- Improved serial output information\n- After programming the internal LED blinks\n- Added timeout for reading data\n- Allow Serial command input\n- Added readout of lockbits\n- Added Chip Erase \n\n# Installation\nJust copy the **[content](https://raw.githubusercontent.com/ArminJo/ATtiny-HighVoltageProgrammer_FuseEraser/master/src/HVProgrammer.cpp)** of the HVProgrammer.ino file into a **new Arduino sketch** and run it.\n\nIn the **Arduino serial monitor** with baudrate **115200** you will see something like:\n```\nSTART C:\\...\\ArduinoSketches\\sketch_jun15a\\sketch_jun15a.ino\nVersion 3.2 from Jun 15 2019\n\nEnter 'r' to only read fuses and lock bits...\nEnter 'e' to erase flash and lock bits...\nEnter 'w' or any other character or press button at pin 6 to to write fuses to default...\n```\n\nand **after button press or sending a character** you see for an **ATtiny85**:\n```\nReading signature from connected ATtiny...\nSignature is: 930B\nReading signature complete..\n\nThe ATtiny is detected as ATtiny85.\n\nReading fuse settings from ATtiny...\n  LFuse: 62, HFuse: DF, EFuse: FF\nReading fuse values complete.\n\nReading lock bits...\n  Lock: FF\n    LB1 Not Programmed\n    LB2 Not Programmed\nNo memory lock features enabled.\nReading Lock Bits complete.\n\nWrite LFUSE: 0x62\nWriting fuse value 62 to ATtiny...\nWriting complete.\n\nWrite HFUSE: 0xDF\nWriting fuse value DF to ATtiny...\nWriting complete.\n\nWrite EFUSE: 0xFF\nWriting fuse value FF to ATtiny...\nWriting complete.\n\nFuses will be read again to check values...\nReading fuse settings from ATtiny...\n  LFuse: 62, HFuse: DF, EFuse: FF\nReading fuse values complete.\n\nReading / programming finished, allow a new run.\n\n```\n or if **no ATtiny** is attached:\n```\nReading signature from connected ATtiny...\nSignature is: 0\nReading signature complete..\n\nNo valid ATtiny signature detected!\nTry again.\n```\n\n# Breadboard\nThis circuit uses an Arduino nano and an [ebay DC-DC Step-Up Modul](https://www.ebay.de/itm/2PCS-2A-Booster-Board-DC-DC-Step-Up-Modul-2-24V-5-9-12-28V-Replace-XL6009-BAF-/263413727169?hash=item3d54ae7fc1)\n\nBreadboard top view\n![Breadboard_Top](https://github.com/ArminJo/ATtiny-HighVoltageProgrammer_FuseEraser/blob/HEAD/pictures/HVProgrammer_Top.jpg)\nBreadboard back view\n![Breadboard_Back](https://github.com/ArminJo/ATtiny-HighVoltageProgrammer_FuseEraser/blob/HEAD/pictures/HVProgrammer_Back.jpg)\n\n# Revision History\n### Version 3.4\n- Changed RAM to FLASH strings, which allows it to run on an ATmega168.\n### Version 3.3\n- Additional erase if fuses are locked, fixed bug at lock printout, handle unattached button.\n- Blink only 10 seconds after button operation.\n### Version 3.2\n- Added lock bit readout\n### Version 3.0\n- Added erase and read only commands\n### Version 2.2\n- First public version\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farminjo%2Fattiny-highvoltageprogrammer_fuseeraser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farminjo%2Fattiny-highvoltageprogrammer_fuseeraser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farminjo%2Fattiny-highvoltageprogrammer_fuseeraser/lists"}