Skip to main content
Visitor II
November 12, 2024
Question

STM32L011F4P6 can't upload code.

  • November 12, 2024
  • 7 replies
  • 1669 views

I have STM32L011 board that i make. I left NRST and BOOT0 open. And i try to upload code using ST Link V2. But seem like the ST link is not recognize the STM it always show "Target no device found". Can anyone help me identify the problem? Please..Thank you in advance.

    This topic has been closed for replies.

    7 replies

    Graduate II
    November 12, 2024

    Present schematic

    Error tends to be indicative of non-functional part, often due to power issues, or the VTarget not being presented to the ST-LINK/V2 (Pin 1 of 20-Pin Header)

    Is this an authentic ST-LINK? One on a NUCLEO Board?

    What exactly are we working with here, you post lacks a lot of contextual detail?

    Esa1Author
    Visitor II
    November 12, 2024

    Esa1_0-1731427601905.png

    Esa1_1-1731427640837.png

    This is both circuit diagram and ST Link i used. For ST link i try with the board i bought (STM32F401C) is working fine but it not working with STM32L011. Can you help me? Also if you need more information please let me know. Thank you so much

    Graduate II
    November 12, 2024

    Yes, so that's a boot-leg ST-LINK, using ST-LINK Utilities, or newer STM32 Cube Programmer?

     

    STM32L011D4P6, so SOIC 14 device

    https://www.st.com/content/ccc/resource/technical/document/datasheet/42/c0/ab/e5/71/7a/47/0b/DM00206508.pdf/files/DM00206508.pdf/jcr:content/translations/en.DM00206508.pdf

    Nothing is jumping out immediately from the schematic, and you can read 3.3V across the supply at the capacitor?

    Esa1Author
    Visitor II
    November 12, 2024

    For STM32 Cube Programmer is last version because i just download it. Also yes i can read voltage 3.3V across the supply at the capacitor and also i read direct on STM VDD pin to make sure 3.3V is reach STM.

    Esa1Author
    Visitor II
    November 12, 2024

    No. It said, it voltage is 3.29V

    Super User
    November 12, 2024

    That's fine - we can allow a 10mV error!

    Esa1Author
    Visitor II
    November 12, 2024

    Sorry that i can't provide you with testing image because i don't have a board with me now. but tomorrow. I will send you all testing picture. Also i confirm by read direct on NRST pin is 3.3V, for BOOT0 pin i also try to pull them to low. But seem nothing work. I even try to replace the STM32 chip but still the same result. :(

    Esa1Author
    Visitor II
    November 13, 2024

    Esa1_0-1731469134409.png

    This is the image of CubeProgrammer. I try put pin NRST to low while trying to connect. It seem can detect that the chip is in RST state.

    Esa1Author
    Visitor II
    November 13, 2024

    Esa1_1-1731469228010.png

    And when i try again is still the same result. Connect NRST to ST link or not is the same

    Esa1Author
    Visitor II
    November 13, 2024

    Esa1_2-1731469343896.png

    The same result when i try to decrease speed to the lowest and select under RST