[PR #332] [MERGED] Flasher: Implement "erase" command to unprotect NRF52 based tags #2157

Closed
opened 2026-03-20 20:09:06 +01:00 by sascha_hemi · 0 comments
Owner

📋 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: masterHead: flasher_erase_all


📝 Commits (1)

  • 7944303 Implement "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.

## 📋 Pull Request Information **Original PR:** https://github.com/OpenEPaperLink/OpenEPaperLink/pull/332 **Author:** [@StefanKrupop](https://github.com/StefanKrupop) **Created:** 6/6/2024 **Status:** ✅ Merged **Merged:** 6/20/2024 **Merged by:** [@nlimper](https://github.com/nlimper) **Base:** `master` ← **Head:** `flasher_erase_all` --- ### 📝 Commits (1) - [`7944303`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/7944303e27264470f3ac5ba65e5b220f598c0189) Implement "erase" command to unprotect NRF52 based tags ### 📊 Changes **4 files changed** (+41 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
sascha_hemi added the pull-request label 2026-03-20 20:09:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#2157