cancel
Showing results for 
Search instead for 
Did you mean: 

How to use NUCLEO-H563ZI as a programmer for STM32F401CCU6?

JEngineerHW
Associate II

Hello, I read somewhere that I can use the ST-LINK built into my H563ZI to program my custom cards with STM32F401.
Could someone help me figure out how to do this?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

Older style Nucleo-144 boards had a breakaway programmer that could be used to program other chips. Newer Nucleo-144 boards like the NUCLEO-H563ZI do not have this feature and programming external chips is not supported. Sorry.

Programmers are cheap. Consider getting a STLINK-V3MINIE and putting a standard programming header on the board to debug and program.

STLINK-V3MINIE | Tool - STMicroelectronics

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

3 REPLIES 3
TDK
Super User

Older style Nucleo-144 boards had a breakaway programmer that could be used to program other chips. Newer Nucleo-144 boards like the NUCLEO-H563ZI do not have this feature and programming external chips is not supported. Sorry.

Programmers are cheap. Consider getting a STLINK-V3MINIE and putting a standard programming header on the board to debug and program.

STLINK-V3MINIE | Tool - STMicroelectronics

If you feel a post has answered your question, please click "Accept as Solution".
mfgkw
Senior III

Hi,

 

>  I read somewhere that I can use the ST-LINK built into my H563ZI to program my custom cards with...

 

This is only true for NUCLEO-64 and NUCLEO-144 boards with embedded ST-Link v2-1 (on a breakable part of the board).

Even without breaking the board the onboard ST-Link can be used for other STM32 MCUs.

See https://www.st.com/en/evaluation-tools/stm32-nucleo-boards/products.html and check for "Tool Type" is "Nucleo-64" or "Nucleo-144" *and* "ST-LINK" is "ST-LINK V2-1".

 

All others (Nucleo-32, or "ST-LINK" is "ST-LINK V3E") can not be used this way (ST-Link not detachable).

 

Your NUCLEO-H563ZI is this kind ("ST-LINK V3E") , so no way to program another MCU with this.

You should buy an external ST-Link (please take care of a genuine one, not the Ali-whatever "ST-Link v2 mini...") or another NUCLEO with detachable ST-Link V2.

Embedded ST-Link V2 on NUCLEO boards support only target voltage of 3V or 3.3V and no virtual COM port for external targets.

I would prefer an external one. But keep in mind that an external ST-Link V2 does not support virtual COM port, while an external ST-Link V3 does, and V3 is faster than V2.

And keep in mind that there also faked external ST-Link V2 around; choose a trusted dealer.

JEngineerHW
Associate II

Thank you for your guidance. To program my Black Pill with STM32F401CCU6, I used the BOOT method via UART, which worked successfully.