You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I am failing to flash a stm32l011f4ux; the error I get is:
$ pyocd flash --target stm32l011f4ux bin/firmware.elf
0000414 I Loading /home/user/bin/firmware.elf [load_cmd]
0000545 C Memory transfer fault (read) @ 0x08000000-0x0800003f [__main__]
This is because the RDP (read-out protection) option byte is set to 0xBB. If I set this back to 0xAA (no protection) using STM32CubeProg, flashing is once again possible.
Is there a way to write to the option bytes of STM32 microcontrollers from pyOCD to be able to reset them to 0xAA, and be able to write to the chip again?
The text was updated successfully, but these errors were encountered:
Currently, I am failing to flash a
stm32l011f4ux
; the error I get is:This is because the RDP (read-out protection) option byte is set to 0xBB. If I set this back to 0xAA (no protection) using STM32CubeProg, flashing is once again possible.
Is there a way to write to the option bytes of STM32 microcontrollers from pyOCD to be able to reset them to 0xAA, and be able to write to the chip again?
The text was updated successfully, but these errors were encountered: