Skip to main content
Visitor II
April 9, 2022
Question

I am working with a stm32l452rct6 microcontroller and when power is connected, the microcontroller is immediately in boot mode. St-link v2 also does not connect. What should I do?

  • April 9, 2022
  • 3 replies
  • 1764 views

0693W00000LxRk8QAF.pngThis is scheme for debug with swd0693W00000LxRqkQAF.pngHow to do active sw-dp with st-link v2 and stm32cubeProgrammer?

    This topic has been closed for replies.

    3 replies

    Super User
    April 9, 2022

    > when power is connected, the microcontroller is immediately in boot mode

    How do you know it's in boot mode?

    > St-link v2 also does not connect.

    Try to connect under reset.

    If you can connect through some of the bootloader protocols, check the option bytes.

    JW

    DPavl.11Author
    Visitor II
    April 9, 2022

    I add second question. Gow to do active sw-dp with st-link v2 and stm32cubeProgrammer?0693W00000LxRqzQAF.png

    Visitor II
    April 9, 2022

    Check a SWCLK pin it should be Pull-down at Reset state about 10K value.

    Graduate II
    April 9, 2022

    Check part orientation

    Check VDDA/VSSA

    Check BOOT0

    Check NRST

    ​Check VTarget goes to pin 1 or 2 of ST-LINK

    N​o magic options, should work out of the box unless something wrong with device.

    DPavl.11Author
    Visitor II
    April 9, 2022

    i don't connect only vdda and vssa, is it problem? do you know, how to solve this problem? Not connecting in my PCB, i need to rebuild PCB?

    Graduate II
    April 9, 2022

    VDDA/VSSA power the PLLs and POR circuits, not just DAC/ADC

    Without power, will clamp device in reset, you'll see NRST held low

    Perhaps you can solder on some fine wires to test/check