Solved
STM32CubeIDE code run error and ST-LINK/V2 firmware update error
I was trying to run a code in STM32CubeIDE v1.19.0. I have connected the MCU to my laptop via ST-LINK/V2 but when I tried running the program or updating the firmware on the ST-LINK/V2 I get the respective error messages:


I am new to STM32 development.
