cancel
Showing results for 
Search instead for 
Did you mean: 

STM32: No device found

tekky0_
Visitor

Im attempting to program an stm32H523CET6 MCU, i bought an ST-Link for it, and begun trying a basic blink sketch, debug said no errors and proceeded to load it onto the MCU. However, it displays the following: Target no device found

 

Error in initializing ST-LINK device.

Reason: No device found on target.

i looked online and people seem to use STM32 ST-Link Utility app to erase or atleast connect to the chip but i cant even do that, it will ask to change to connect upon reset but it doesnt work.

Steps taken:
1.checked physical connections via datasheet and multimeter, it is correct.
2. Checked if everything shares the same GND. It does.
3. Checked for faulty ST-Link, it is abled to have its firmware upgraded and can connect(only the link), also shows up in device manager as "STM32 ST-LInk" or something like that.
4. Checked Vs, its at 3.32V which is correct in the datasheet.
5. checked using STM32 programmer, doesnt work. Cant connect.
6. Attempted debug auth, also doesnt work, it says its not connected.
7. Checked the current preloaded sketch it came with. Blue LED connecyed to PC13 is blinking with a blink sketch i didnt load.

i searched youtube, ive also ordered another ST-Link and im waiting for it, checked ST forums, and some reddit posts here, I want to give up but i cant and i wont. Please help if youve had this issue.

2 REPLIES 2
TDK
Super User

Is this on a custom board? Can you share the schematic?

Chip needs to be powered correctly and have GND/SWDIO/SWCLK connected to connect over SWD. Also needs not to be locked out (RDP 2) and some other things.

If you feel a post has answered your question, please click "Accept as Solution".

I don't think ST-LINK Utilities support H5 parts

Need SWDIO,SWCLK,GND connected and pin 1 or 2 of the 20-pin ARM JTAG connectors needs to see the Target's 3.3V supply.

STM32 Cube Programmer should report the observed voltage

Perhaps picture your Board, the connectivity you've wired and the ST-LINK.

We're not familiar with your board

Generally it means the board is not viable. Needs both digital and analogue power. Check level on NRST, should be High. Check level on VCAP, should be around 1.25V if part has them.

Check part orientation if a custom board, and that you've correctly identified pin 1

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