Cannot upload to STM32G030F6P6 with CUBEIDE and CUBE Programmer :(
Hi,
I have a STM32G030F6P6 connected to an STLink. I cannot upload at least an LED toggle code to the chip. I get the following messages in the CubeProgrammer. And I get "Cannot insert all breakpoints" error in the CUBE IDE.
I double triple checked my voltages. They are 3.3V. But still the messages from the Cube Programmer shows as 2.93V. Can you please comment on this and help me.
09:30:41 : STM32CubeProgrammer API v2.8.0
09:30:41 : ST-LINK error (DEV_CONNECT_ERR)
09:31:01 : ST-LINK SN : 34FF6D064155303923251357
09:31:01 : ST-LINK FW : V2J38S7
09:31:01 : Board : --
09:31:01 : Voltage : 2.93V
09:31:01 : SWD freq : 4000 KHz
09:31:01 : Connect mode: Normal
09:31:01 : Reset mode : Hardware reset
09:31:01 : Device ID : 0x466
09:31:01 : Revision ID : Rev 1.1
09:31:02 : UPLOADING OPTION BYTES DATA ...
09:31:02 : Bank : 0x00
09:31:02 : Address : 0x40022020
09:31:02 : Size : 112 Bytes
09:31:02 : UPLOADING ...
09:31:02 : Size : 1024 Bytes
09:31:02 : Address : 0x8000000
09:31:02 : Read progress:
09:31:02 : Data read successfully
09:31:02 : Time elapsed during the read operation is: 00:00:00.008
09:31:04 : Memory Programming ...
09:31:04 : Opening and parsing file: DryBox Test.hex
09:31:04 : File : DryBox Test.hex
09:31:04 : Size : 5316 Bytes
09:31:04 : Address : 0x08000000
09:31:04 : Erasing memory corresponding to segment 0:
09:31:04 : Erasing internal memory sectors [0 2]
09:31:04 : Error: failed to erase memory
09:31:04 : Error: failed to erase memory
09:31:04 : Error: Unable to get core ID
09:31:04 : Error: Unable to get core ID
09:31:04 : Warning: Connection to device 0x466 is lost
09:31:05 : Disconnected from device.
09:31:05 : ST-LINK error (DEV_CONNECT_ERR)
09:31:15 : Error: Connection to target must be established before performing file download operation.
09:31:15 : Error: Connection to target must be established before performing the execute command.
09:31:18 : ST-LINK SN : 34FF6D064155303923251357
09:31:18 : ST-LINK FW : V2J38S7
