mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-05 18:44:28 +02:00
Updated How to Unlock MCU Flash (markdown)
@@ -11,20 +11,20 @@ This procedure will erase the stock MCU firmware irreversibly! Perform these ste
|
|||||||
* Step 2: Connect the ST-Link programmer to the MCU programming pins GND, SWDIO, SWCLK. Connect the 3V3 pin only if your MCU is not powered externally.
|
* Step 2: Connect the ST-Link programmer to the MCU programming pins GND, SWDIO, SWCLK. Connect the 3V3 pin only if your MCU is not powered externally.
|
||||||
* Step 3: Open the ST-Link utility and press `Connect to target`
|
* Step 3: Open the ST-Link utility and press `Connect to target`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Step 4: If you get the message `Can not read memory!` the MCU is most probably locked
|
* Step 4: If you get the message `Can not read memory!` the MCU is most probably locked
|
||||||
* Step 5: Go to `Target` and click `Option Bytes`
|
* Step 5: Go to `Target` and click `Option Bytes`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Step 6: Select **Disable** in `Read Out Protection` drop-down menu and click `Apply`
|
* Step 6: Select **Disable** in `Read Out Protection` drop-down menu and click `Apply`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Step 7: Click `Connect to target`
|
* Step 7: Click `Connect to target`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Step 8: If you see the window above, then you have successfully unlocked your MCU. You can now flash the MCU.
|
* Step 8: If you see the window above, then you have successfully unlocked your MCU. You can now flash the MCU.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user