5 years, 3 months ago.

Program Nucleo L152RE after cutting ST Link


I'm trying to program L152RE after cutting off the ST Link part. I'm not able to clearly understand the connection details given on the Nucleo board pdf file. Can anyone please help me with this?

Thanks! :)

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L152RET6 microcontroller.

1 Answer

5 years, 3 months ago.

You can find more information in the STM32 Nucleo User Manual: http://www.st.com/content/ccc/resource/technical/document/user_manual/98/2e/fa/4b/e0/82/43/b7/DM00105823.pdf/files/DM00105823.pdf/jcr:content/translations/en.DM00105823.pdf

According to section 6.1 "Cuttable PCB" at page 14: The STM32 Nucleo board is divided into two parts: ST-LINK part and target MCU part. The ST-LINK part of the PCB can be cut out to reduce the board size. In this case the remaining target MCU part can only be powered by VIN, E5V and 3.3V on ST morpho connector CN7 or VIN and 3.3V on Arduino connector CN6. It is still possible to use the ST-LINK part to program the main MCU using wires between CN4 and SWD signals available on ST morpho connector (SWCLK CN7 pin 15 and SWDIO CN7 pin 13).

After you have cut the PCB, you can still program and debug your MCU by following the instructions described in section 6.2.4 at page 17 "Using ST-LINK/V2-1 to program and debug an external STM32 application".

Hope that helps.

Accepted Answer

Hello, some more details about cuttable PCB and mbed : if you want to use mbed you should use the ST-Link cut PCB of the same platform than the one you cut from. I mean that you should use the STlink cut PCB from the L152RE platform (or any other L152RE platform) if you need it to be recognized by mbed environment.

posted by Armelle DubocST 23 Dec 2016