cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L011F4P6 can't upload code.

Esa1
Associate II

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.

11 REPLIES 11

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?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Esa1
Associate II

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

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?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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.

Does the Cube Programmer report the correct target voltage?

Esa1
Associate II

No. It said, it voltage is 3.29V

Esa1
Associate II

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. :(

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

Esa1
Associate II

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.