Skip to main content
gocchan
Associate III
June 23, 2026
Question

How to program software to a custom board using a Nucleo board

  • June 23, 2026
  • 5 replies
  • 50 views

Hello, 
I'm trying to program a custom board equipped with an STM32WBA23CE.
I've tried wiring it from a Nucleo board (MB1801D), but the programming is failing.
CN3 pin5 -> Custom Board VDD
pin9 -> PA13
pin11 -> PA14

Even when I press Connect in CubeProgrammer, an error dialog appears.
 

It works normally when I disconnect the wiring to the custom board, so it doesn't seem to be an issue with the application or the Nucleo board.
The custom board does not have 32 kHz support.
Are there any resources or descriptions that might be helpful regarding this method?

5 replies

Aziz BRIGUI
ST Technical Moderator
June 23, 2026

Hello ​@gocchan,

I think power shouldn’t be going to the on Nucleo MCU. Try setting JP1 to 5V_VIN. Also try connecting GND between the custom board and the Nucleo board.

PS: If you’re not connecting the reset pin, HW reset isn’t triggered => it’s better to change the reset mode in this case.

Aziz

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Andrew Neil
Super User
June 23, 2026

Welcome to the forum

As it’s a custom board, you’ll need to share the schematic - Please see How to write your question to maximize your chances to find a solution 

 

Have you ever been able to program this board before?

Are you sure that it is working at all ?

 

Similar question here, only yesterday:

 

TL;DR 

While it should be possible, this does come with a few issues which complicate things.

Therefore I would strongly recommend that you get a genuine standalone STLink.

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Visitor
June 23, 2026

Ensure SWD connections include shared GND correct NRST/BOOT0 state, and JP1 set to 5V VIN on the Nucleo, as ST Link detection failures usually stem from reset or power domain mismatch.

gocchan
gocchanAuthor
Associate III
June 24, 2026

Hello everyone,
Thank you for your comments.
The evaluation board I'm using is a NUCLEO-WBA25CE1. The IC mounted on the custom board is an STM32WBA23KE.
I tried changing JP1 from 5V_STLK to VIN, but I couldn't connect.
 


Changing the reset mode to Software Reset didn't solve the problem either.
GND is wired from CN12 to the custom board.
I also wired NRST (CN3 pin14) to the custom board, but that didn't solve the problem either.
The custom board is a very new prototype, and I haven't programmed or worked with it yet. I'm sorry, but I'm not allowed to disclose the schematic.
If I can't resolve this after further investigation, I will consider obtaining a genuine standalone STLink.

gocchan
gocchanAuthor
Associate III
June 24, 2026

I've attached a screenshot because the response was different when JP1 was set to VIN.