2024-01-18 05:03 PM - last edited on 2024-02-28 06:49 AM by Amel NASRI
Trying to connect to a STM32H723ZGT6 for the first time.
Does the ST/LINK-V/2 have to use the JTAG connection on this device as I feel it probably does?
The 4 pin connection being for the STM8 only?
I jave connected as a JTAG connection using jumper leads from the programmer onto the board.
*******************************************************************************************************
19:35:36 : UR connection mode is defined with the HWrst reset mode
19:35:36 : ST-LINK SN : 52FF6B064849825028390367
19:35:36 : ST-LINK FW : V2J43S7
19:35:36 : Board : --
19:35:36 : Voltage : 3.50V
19:35:36 : ST-LINK error (DEV_UNKNOWN_MCU_TARGET)
19:35:36 : ST-LINK SN : 52FF6B064849825028390367
19:35:36 : ST-LINK FW : V2J43S7
19:35:36 : Board : --
19:35:36 : Voltage : 3.50V
19:35:36 : Error: ST-LINK error (DEV_UNKNOWN_MCU_TARGET)
****************************************************************************************************
I have checked the VDD caps all bypassed 100nF, VCAP bypassed caps 2.2uF and all seems good. Not sure what voltage I would see on the VCAP pins. I can see from the list I have the board powered at 3.5V. Not sure on what BOOT0 pin should be so it has been pulled low and high. VBAT is pulled high and bypassed with 100nF cap. Power supply looks stable. VDDA and VSSA connected to VDD and VSS respectively and bypassed with a 100nF. VREF+ strapped to VDDA using a 10K resistor.
I will shorten the JTAG jumper leads next butI do not think this is the issue... I just seem to be missing something.
I am attempting to detect the device using the CubeProgrammer or using a previous basic project in the CubeIDE.
Any suggestions on what may be the issue would be much appreciated.
Thank You.
Solved! Go to Solution.
2024-01-20 12:42 PM
The VCAP was not right, corrected it ended up at 1.02V stable on both VCAPS.
I used the 5 connections VDD VSS PA13, PA14 and NRST as you suggested.
I will explore the rest as I go.
Using the CubeProgrammer as a connection the chip was successfully read.
I will correct the PCB to go again as I did have to modify it on the fly.
Thank you very much for the suggestion and advice.
2024-01-18 05:25 PM - edited 2024-01-18 05:27 PM
An SWD connection is more common and typically works better. JTAG is not required.
VCAP should be about 1.2V, start there.
Connecting GND, SWDIO, SWCLK and optionally but recommended VCC and NRST to the programmer should let it connect, program, and debug the device.
2024-01-19 08:55 AM
Thank you.
My VCAP is not right then so I will look at that.
Thank you for the SWD answer I was not sure, I did even try that. I will revert to that as it is simpler
I do get the board voltage just not able to identify device.
2024-01-19 11:21 AM - edited 2024-01-19 11:22 AM
Nothing will work if VCAP is not correct. Most of the internals of the chip use that voltage rail for power.
Verify the part orientation is correct. Pin 1 is the bottom left when text is oriented normally from left to right.
Look for shorts or other manufacturing defects.
If you are stuck, post a high resolution photo of the chip and surrounding area and someone here can also double check.
2024-01-20 12:42 PM
The VCAP was not right, corrected it ended up at 1.02V stable on both VCAPS.
I used the 5 connections VDD VSS PA13, PA14 and NRST as you suggested.
I will explore the rest as I go.
Using the CubeProgrammer as a connection the chip was successfully read.
I will correct the PCB to go again as I did have to modify it on the fly.
Thank you very much for the suggestion and advice.