2021-05-25 01: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.
2021-05-26 05: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
2021-05-26 05: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.
2021-05-26 06: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.
2021-05-26 06: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.
2021-05-26 06: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).
2021-05-26 07: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.
2021-06-02 12:17 AM
JTAG is working now.
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 ?
2021-06-02 12:22 AM
2021-06-02 12:22 AM