Unable to program STM32G031
Hello, I am not able to program STM32G031. I have Nucleo kit F401RE and STM32G031 connected to SWD. I have connected SWDIO, SWCLK, 3V3, GND and nRST.
STM32CubeProgrammer can connect only in Hot Plug mode, but writting or errasing gives me: Error: Mass erase operation failed.Please verify flash protection
If I try to connect in Normal mode or Under reset mode, the error is: Error: ST-LINK error (DEV_TARGET_HELD_UNDER_RESET).
Can you help me how to continue? STM32G031 is completely new, never programmed before.
ST-LINK FW : V2J39M27

