LoRa e5 dev board unprotect memory
1. Introduction
This document describes how to unprotect the memory of the LoRa e5 dev board on the Ubuntu system (Ubuntu 22.04)
Requirements
- LoRa e5 dev board
- STM32CubeProgrammer
- ST-LINK v2 or ST-LINK v3
2. Unprotect memory steps
- Install STM32CubeProgrammer Instructions can be found on the st website: link
- Connect the ST-LINK to the LoRa e5 dev board
Here is the connection diagram:
On the LoRa e5 dev board, the pins are as follows:
- Open STM32CubeProgrammer
Configure the connection as follows:
- Click on the "Connect" button
NOTE: You have to power on the board with the USB-C cable before clicking on the "Connect" button.
The connection should be established. If not, check the connection and try again. You can also try pressing the reset button on the LoRa e5 dev board and restart.
- Go to the "Option Bytes" tab In the RDP field select value "AA" or (0xAA) and click on the "Apply" button.
- Restart the board
- Check after restart if the RDP is set to AA then go to "Erasing & Programming" tab and click on the "Full chip erase" button.
- The memory is now unprotected and you can flash the board with your own firmware.
3. References
Written by: Adam Krawczyk, wisevision
Do you need support with this topic or have questions about your project? Feel free to contact us! support@wisevision.com.pl