Trying to write on STM32L072CZ IOPORT registers with ST-LINK/V2 / ST-LINK_CLI.exe
Hi,
ST-LINK/V2 ISOL plugged on STM32L072CZT6 (custom board, nReset pin on swd interface is pulled up)
Reading with ST-LINK_CLI.exe works fine. (-r32 0x50000000 gives 0xEBFFFCFF)
Tried the following in order to write :
C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility>ST-LINK_CLI.exe -c SWD -w32 0x50000000 0xEBFFFCF0
STM32 ST-LINK CLI v3.6.0.0
STM32 ST-LINK Command Line Interface
ST-LINK SN: 55FF70067871515314171267
ST-LINK Firmware version: V2J40S7
Connected via SWD.
SWD Frequency = 4000K.
Target voltage = 3.0 V
Connection mode: Normal
Reset mode: Software reset
Device ID: 0x447
Device flash Size: 192 Kbytes
Device family: STM32L07x/L08x/L010
Writing 0xEBFFFCF0 at 0x50000000... Error!
I wonder whether there is any protection when trying a write access.
Any idea where to look up?
Regards,
