Cannot program using JLink - "Could not verify ST device!" with real device with correct identifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-30 1: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...
- Labels:
-
STM32F0 Series
-
STM32F3 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-30 1:48 PM
Ok, and....
Are you using a real STM32 part? Is this a blue-pill board or something else?
Please expand a little
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-30 1:49 PM
Sorry, hit tab and enter and it posted. Edited now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-30 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-30 1: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-30 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-30 2: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
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-30 2: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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-20 3: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-20 5: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. ​
Up vote any posts that you find helpful, it shows what's working..
