2023-07-03 06:32 AM - edited 2023-07-03 01:38 PM
Hey guys,
I have nucleo and STLINK mini boards that I can upload programs into my custom boards with STM32. But I decided to buy the new STLINK MINIE.
When I try to connect some board with STM32 (custom board or nucleo), using STLINK-MINIE, I get this error: "Error: No STM32 target found!". Even with the nucleo board it doesn't work (I removed the CN2 connector from the nucleo board and connected the SWDIO, SWCLK and GND of the MINIE to the arduino header on the nucleo board).
Can anyone help me with this problem? We can focus on the nucleo board that we are sure the hardware is ok, I even was able to program the nucleo board using STLINK-V2, only using SWDIO, SWCLK and GND connected to the arduino header, the same way that I have tried with STLINK MINIE, as I said above.
In short, I removed the CN2 jumpers from the nucleo board and connected SWDIO, SWCLCK and GND of STLINK-MINIE to the nucleo board and it didn't work. With STLINK-V2 it works.
Error with STLINK-MINIE:
Thanks
Solved! Go to Solution.
2023-07-03 07:23 AM - edited 2023-07-03 07:31 AM
first - see MY problems with new STLINK MINIE .
now got it working... ( and i use connect "software reset" , so dont need working reset connection. )
+ on your pic :V3 shows target voltage 0,21v . so you didnt connect VDD ! depending on firmware, stlink thinking there is no cpu with power...and dont connect. so make vdd pin on minie to 3v3 , from target.
2023-07-03 07:19 AM
Hello @MRebo.3,
Try mode "Under Reset".
Check BOOT0 high.
Imen
Imen
2023-07-03 07:23 AM - edited 2023-07-03 07:31 AM
first - see MY problems with new STLINK MINIE .
now got it working... ( and i use connect "software reset" , so dont need working reset connection. )
+ on your pic :V3 shows target voltage 0,21v . so you didnt connect VDD ! depending on firmware, stlink thinking there is no cpu with power...and dont connect. so make vdd pin on minie to 3v3 , from target.
2023-07-03 12:11 PM
I have tried all combinations and none of them worked... the HW is the nucleo board, so the BOOT0 is low I think. In my custom board is low, but why STLINKV2 works and STLINK MINIE doesn't work?
Thanks for help.
2023-07-03 12:14 PM - edited 2023-07-03 12:14 PM
I saw your issue and tried one time put 3v3 on VCC of MINIE, but I did only one test with this way. I will perform more tests with VCC connected on 3v3, changing to "software reset" and so on...
This VCC for MINIE is input? Do I need to add 3v3 from my custom board (in this case, from nucleo), correct? I was thinking that this VCC on MINIE was output...
Thanks for help.
2023-07-03 12:58 PM - edited 2023-07-03 01:06 PM
VCC for MINIE is input - yep. only to check target voltage - you have to supply your board by separate power supply.
stlink V2 (the nice "clones") giving power output at 3v3 and 5v , simple and good - but not by STM.
now we have genuine STM design.
2023-07-03 01:37 PM
I see,
I connected the VCC and now it is working! Thanks very much my friend. As you said, the VCC was missing and needs to work.