No ST-LINK detected! Please connect ST-LINK and restart the debug session.
Please help me. I am user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-25 1:25 AM
I am using STM32CubeIDE for my project . when i want to run the code i am getting this pop up.i am not able to solve this issue.
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 5:41 AM
i tried with open ocd and click on "show generator options" to select the "Software system reset".
now i am getting this error bellow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 5:53 AM
Can you try on an empty project to be sure that the code is ok.
Mass erase the device before debug.
Can you add "-d" in Openocd Options and attach the console log text to see why you have the "auto_probe failed".
Which device did you select in the project ?
And which device you have exactly ?
STM32H7B0VBT6 with a Q letter at the end ? or no letter ?
If you have the Q letter, it is a SMPS device and power supply is different from a normal device.
So the application schematic must reflect the part number on supplies.
Also on Cube project, select the right device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 6:07 AM
with SWD and internal clock even after the message "Debugger connection lost....shutting down " i am able to get some signal on my oscilloscope.
this code is for toggling LED.
but i am not able to operate it with JTAG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 6:15 AM
After selecting JTAG, it show some warning and i see red mark in rcc. if i put cursor it shows "crs sync conflict with DEBUG: Debug JTAG(5 pins)".
when i select low speed clock it becomes yellow. Please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 6:42 AM
OK, I think you need to double check the pins used for JTAG that can conflict on RCC stuff.
Why do you want to use JTAG if SWD is working fine ?
SWD uses less pins (no need of JTRST or JTDO) and you can do SWV with SWO pin (JTDO).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 7:34 AM
Looking again your schematic, it seems you are connecting Reset pin of STLink Pin 15 of 20 pin connector on your board to JTRST.
It should be connected to NRST of Mcu, not JTRST.
I think you should check STLink user manual on pins used.
On the 20 pin connector table, it is T_NRST for pin 15.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 12:17 AM
JTAG is working now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 12:21 AM
i have connected pin 15 of 20 pin connector to NRST of MCU,now its working.
In manual of MCU pin 90 is JTRST.and also during configuration it is selecting pin 90 (PB4).
my question is will pin 90 of MCU be kept open ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 12:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 12:22 AM
