Skip to main content
Associate
October 31, 2024
Solved

Problem to flash external 1,8V board with StlinkV2 Nucleo debugger

  • October 31, 2024
  • 1 reply
  • 1049 views

Hi,

I have a custom board with a STM32L4 powered at 1.8V. I program it without problems with a STLINK-V3MINIE.

Now I want to program it with the stlinkV2 of the NUCLEO -L4R5ZI-P (I have cut it, removed CN4 and connected pins 1,2,3,4 and 5 to CN5):

Ger_0-1730369354414.png

I can connect and read the memory, but if I try to program, the flash is erased, but not written and the IDE shows this error:

Ger_1-1730369534571.png

What could be the problem?

Thank you very much!

 

Best answer by Andrew Neil

The STLINK-V3MINIE supports 1.65 to 3.60 V targets.

https://www.st.com/en/development-tools/stlink-v3minie.html

From the schematic, the ST-Link on that Nucleo board is 3V3 only.

https://www.st.com/en/evaluation-tools/nucleo-l4r5zi.html?ecmp=tt9470_gl_link_feb2019&rt=db&id=DB3171#cad-resources

 

1 reply

Andrew Neil
Andrew NeilBest answer
Super User
October 31, 2024

The STLINK-V3MINIE supports 1.65 to 3.60 V targets.

https://www.st.com/en/development-tools/stlink-v3minie.html

From the schematic, the ST-Link on that Nucleo board is 3V3 only.

https://www.st.com/en/evaluation-tools/nucleo-l4r5zi.html?ecmp=tt9470_gl_link_feb2019&rt=db&id=DB3171#cad-resources

 

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.
GerAuthor
Associate
October 31, 2024

Hello Andrew,

I assume then, that I can't program external boards powered at 1.8V with the STLINKV2 of the NUCLEO.
Thanks a lot for the clarification.

Regards

 

 

Andrew Neil
Super User
October 31, 2024

@Ger wrote:

I assume then, that I can't program external boards powered at 1.8V with the STLINKV2 of the NUCLEO.


Indeed.

The standalone ST-Link V2 does support 1.65 V to 3.6 V targets.

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.