openmv/tools/st/cubeprog/bin/STM32WLScripts/UnlockChip.bat
iabdalkader f9ee15bf46 tools/st: Add cubeprog.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-02-11 17:22:20 +01:00

4 lines
247 B
Batchfile

::put to level 1
STM32_Programmer_CLI -c port=swd mode=UR -ob RDP=0xBB
::put to level 0
STM32_Programmer_CLI -c port=swd mode=UR -ob WRP1A_STRT=0x7F WRP1A_END=0x0 WRP1B_STRT=0x7F WRP1B_END=0x0 ESE=0x0 RDP=0xAA DDS=0x0 C1BOOTLOCK=0x0 C2BOOTLOCK=0x0