mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[PR #332] [MERGED] Flasher: Implement "erase" command to unprotect NRF52 based tags #2157
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OpenEPaperLink/OpenEPaperLink/pull/332
Author: @StefanKrupop
Created: 6/6/2024
Status: ✅ Merged
Merged: 6/20/2024
Merged by: @nlimper
Base:
master← Head:flasher_erase_all📝 Commits (1)
7944303Implement "erase" command to unprotect NRF52 based tags📊 Changes
4 files changed (+41 additions, -5 deletions)
View changed files
📝
Tag_Flasher/ESP32_Flasher/include/swd.h(+1 -0)📝
Tag_Flasher/ESP32_Flasher/src/swd.cpp(+14 -0)📝
Tag_Flasher/ESP32_Flasher/src/usbflasher.cpp(+8 -0)📝
Tag_Flasher/OEPL-Flasher.py(+18 -5)📄 Description
The regular (disregarding glitching) way to remove APPROTECT from NRF52 devices is to issue an "erase all" command. This PR implements this in the Tag_Flasher and the ESP32_Flasher, so that Tags that came locked from the factory can be overwritten with new firmware.
As the UICR holding tag information is also lost, one will need to piece together a new one before the tag can work with e.g. Newton_M3_Universal-full-flash.bin.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.