SOLVED BELOW
I'm using a Nucleo-L432kc and im powering it from the +5v pin,
to prevent it being held under reset by the unpowered ST-LINK I have removed SB9 which has succeeded, but now I am unable to program it, despite the success others report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 01:00 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-07 05:03 PM
Updating this post as I have since found a solution, attaching wires to the contacts of the solder bridge allowed me to make a jumper circuit. When programming the device the pins must be shorted, these can then be separated when running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 01:03 PM
Edit: oh, you're still using the onboard ST-Link.
Should work, what error message or issue are you running into? You will need to ensure SWDIO/SWCLK are not reprogrammed, the chip doesn't enter low power states, otherwise you will need to boot up into the bootloader to connect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 01:14 PM
This is what I get in MBED studio, interestingly, it seems to work despite the error maybe 1 out of 30 times?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 01:15 PM
Replied to myself accidentally, see my comment below, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 01:17 PM
Sounds like a software issue rather than a hardware one. Perhaps the debugger is assuming NRST is connected. If STM32CubeProgrammer can connect, issue isn't with the hardware connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 01:20 PM
No success with Cube:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-07 05:03 PM
Updating this post as I have since found a solution, attaching wires to the contacts of the solder bridge allowed me to make a jumper circuit. When programming the device the pins must be shorted, these can then be separated when running.