Browse by type
This software makes it possible to Read and Write the internal Flash of the Nordic nRF52 series with an ESP32 using the SWD interface. A tool to exploit the APPROTECT vulnerability is included as well.
To flash an nRF52 connect the following: - nRF52 SWDCLK to ESP32 GPIO 21 - nRF52 SWDIO to ESP32 GPIO 19 - nRF52 GND to ESP32 GND to N-Channel MOSFET GND (Optional: O-scope GND Clips) - Then power the nRF52 as needed
To bypass the Readout protection (APPROTECT) of an nRF52 connect all of the above and the following: - nRF52 3.3V Power VDD to ESP32 GPIO 22 (Optional: O-scope Channel 2 Probe) - N-Channel MOSFET PWM+ to ESP32 GPIO 5 (as shown) - N-Channel MOSFET VOUT- to nRF52 DEC1 (as shown) (Optional: O-scope Channel 1 Probe) - Then power the nRF52 as needed
This repo is explained and demonstrated in these videos (click to watch):
Use Visual Studio Code with PlatformIO to compile and upload the project.
Note: The Arduino IDE is not supported any more!
Change the WiFi credentials in Web.cpp and the Pinout to your needs in the platformio.ini file
Upload the data/index.htm to the ESP32 via the ip-address/edit web editor


Credits go to LimitedResults for finding the Power glitching Exploit: https://limitedresults.com/2020/06/nrf52-debug-resurrection-approtect-bypass-part-2/
$ claude mcp add ESP32_nRF52_SWD \
-- python -m otcore.mcp_server <graph>