2020-07-30 01:42 PM
I am unable to program any boards from CUBE IDE at the moment. I am using Segger JLink, which connects and correctly identifies the chips from the Commander.
When I use Debug, with configurations I have been using for ages, and successfully programming boards with for ages, it says ! Could not verify ST device!"
This is the same across multiple boards, f303 and f030.
I'm at a standstill because of this. The chips are genuine, they were purchased from RS components UK about a year ago.
Coincidentally, CubeIDE just updated itself...
2020-07-30 01:48 PM
Ok, and....
Are you using a real STM32 part? Is this a blue-pill board or something else?
Please expand a little
2020-07-30 01:49 PM
Sorry, hit tab and enter and it posted. Edited now
2020-07-30 01:54 PM
Specifically, the chips are STM32F303CB and STM32F030K6.
I have two boards with the f303, both have genuine chips and both used to work. The F030 is a new board, but the Jlink can see it fine. I previously programmed an F030 on a breakout board, which worked fine.
2020-07-30 01:59 PM
I have tried on another computer (I have a work computer and my personal computer...) it works on one but not the other.
Unfortunately, it works on the one that I am not allowed to use.
This is some spontaneous ST software brickage, where would I begin to look?
2020-07-30 02:03 PM
Reboot. Does it connect with STM32 ST-Link Utility? Or STM32CubeProgrammer?
Working on one computer but not another certainly suggests the hardware is fine.
2020-07-30 02:08 PM
Not sure the J-Link is going to work in Utilities or Programmer.
Segger has their own test software.
Might want to double check the Segger DLL/Drivers are up to date and there's not conflicts with versions, etc.
Check GDB Server settings, function, etc
Sorry I use Keil
2020-07-30 02:35 PM
Well, I repeatedly restarted, opened and closed the various Segger and ST things, something eventually triggered J-Link to auto-update... and now it spontaneously works, and I have no idea why and am none the wiser, and poorer by a few hours.
Cheers guys...
2022-10-20 03:32 AM
@DMolo @Community member I am also facing the same issue with STM32H745I-DISCO when debugging with Segger J-link in SWD mode. I am getting error "Could not verify ST device". Do I need to use a J-link script for debugging in CubeIDE. Plz help
2022-10-20 05:14 AM
Why?
Is the board designed to permit this?
Review the schematic check signal paths permit an inbound connection and that those pins get to the IC and are not conflicted by the onboard ST-LINK/V3.
Check if you need to remove parts or solder bridges.