Skip to main content
Graduate
June 24, 2024
Solved

I can't connect my Nucleo to my STM32L0 board

  • June 24, 2024
  • 1 reply
  • 3233 views

Well, I'm new to the STM32. I'm developing vibration and temperature sensors, which used to be equipped with an atmega.
With the new demand for processing I decided to upgrade by putting an STM32L0 in place of the old controller.
The problem is that now I can't use my CUBE Programmer to connect to my board via Nucleo's STM Link.
An error message appears whenever I click Connect, and my Nucleo board flashes red.
I think I may have made a connection or PCB design error.

Information:
My system has 1 accelerometer 1 temperature sensor 1 Lora radio 1 battery sensor and a 3v3 regulator.
The clock has been set to 25KHz by means of an Oscillator Crystal.
and the BOOT0 pin is not connected to anything other than the pull-down resistor.

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    Ok, so now it sees the ST-LINK

    The complaint is the target is not viable.

    So power and connections become critical. Schematic looks reasonable. Check components and orientation. Common grounds. Check state/level of NRST signal

    The target will need both analogue and digital supplies connected.

    SWCLK, SWDIO, GND

    The CM0(+) will not support PB3/SWO

    Disconnect the local target on the NUCLEO-F103RB board, pair of jumpers.

    1 reply

    Graduate II
    June 24, 2024

    The error is that it can't even find the ST-LINK / NUCLEO, so perhaps a short or power issue.

    I'd assume you've used the NUCLEO previously? Which model of NUCLEO?

    Does it show up in Device Manager?

    Graduate
    June 24, 2024

    I've used NUCLEO a few times, and it works perfectly. I made a new board soldering only the STM32 system and now my NUCLEO is showing up in the device manager and also in the Programmer.
    However, I can't connect to it.

     

    Super User
    June 24, 2024

    @MatheusMarkies wrote:

    I made a new board soldering only the STM32 system and now my NUCLEO is showing up in the device manager and also in the Programmer.
    However, I can't connect to it.


    So you're using the ST-Link part of your Nucleo board to program your own custom board?

    Are you sure you've set all the links correctly for that?

    Does the Nucleo's ST-Link still work with the Nucleo Target?