How to disable read out (RDP) protection?​
Hi All,
I am trying to use STM 32 ST-LINK utility to flash my .hex code to STM32L4 microcontroller on my custom board using SWD. I have tried all the modes under Target Settings (Normal, Hot Plug, Connect Under Reset) without any luck. With hot plug selected, I think, I can connect to the microcontroller, it displays ID, flash size etc. but I can not erase chip or write hex code because it displays 'Read out protection is activate'. If I try to open Option Bytes, it gives me error but ends up displaying the window anyway. On the window, read out protection is set to level 1. In this mode I can make changes on the GUI but can not save them, because of the protection, so I am stuck in a never ending loop, I think. Can you please let me know what needs to be done so that I can fix this issue and able to write hex code to my microcontroller using ST-LINK/V2?
Thanks!
Dushyant.
#st-link/v2