Problem uploading code in custom board.
Hi I designed a custom board based on the STM32G030K8 MCU, I was able to upload my code on the device successfully and the device was working fine, I updated the code a few times and was able to successfully upload the code to the board. However I disabled the Serial wire in the .ioc file under SYS mode and configuration tab, the code uploaded successfully, but now I am unable to upload the code again on the same board, I am attaching a screenshot of the error here as well, I used the ST link to upload code in other devices and they seem to be working fine, I am not even able to upload a blank code on the board now. Can someone explain this please.
Thanks