2019-06-04 12:27 PM
I have been working with the trial version of the IAR IDE and with the STM32 processor family.
I have been using the ST-Link/2 device to connect to my target for debugging with no problems.
I began having a problem when starting debug, I am getting a message for the driver:
Fatal error: ST-Link, No MCU device found / Session Aborted!
I've tried updating the ST-Link firmware and reinstalling the driver but no luck.
I've also installed the ST-Link Utility and this does not connect either. I find the same problem with several ST-Link devices and all target boards.
However, a Nucleo board does function properly.
Does anyone have any suggestions?
Solved! Go to Solution.
2019-06-05 10:34 AM
Thank you Gentleman. The problem was, indeed, with the power supply!
2019-06-05 01:48 AM
Did you try connect under reset? Try also other combinations of debugger/target if you have access to more devices.
2019-06-05 07:11 AM
Thank you Uwe. I have tried three different types of target board (all operated with ST-Link/V2 dongle previously.)
The ST-Link Utility will communicate with the dongle, but not with any target connected.
2019-06-05 07:26 AM
Check that the ST-LINK can see and report the Target Voltage, pin 1/2 need to see power.
Strap BOOT0 high to observe if the part is responsive when executing ROM code.
2019-06-05 07:30 AM
Strapping boot network is useful if the user code is in stop mode. A simple workaround to reduce this pb is in the user code to delay going to power mode after reset so you have a time window to connect...
2019-06-05 10:34 AM
Thank you Gentleman. The problem was, indeed, with the power supply!
2019-06-05 11:09 AM
Well that, but also stuff like configuring the pins very tight in the ResetHandler. It is a diagnostic method to rule out user code, and a lack of NRST pin connectivity.