cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to debug the code but I am unable to do so. please help me

HPunm.1
Associate II

I am using STM32H745I-DISCO board While I was working with the board which was connected to my Laptop stlk pin but my laptop got shut down at that movement the display got off. It was detecting the COM port detecting when I try to connect ST link V2 and still it was not coming and unable to debug the code then I erase the full memory from that time it is even detecting the Com port and led Red and green at COM not glowing and then I am connecting the board via ST link V2 and the board with USB FS display is getting ON but when try to debug the code through ST link V2 but it is giving the error that target not found and then I try with ST cube programmer then it giving the error that unable erase the memory and core is locked up

and I try so many things but I am unable debug the code, please please me

8 REPLIES 8
MM..1
Chief III

What board?

Are we talking about this same board from here?

https://community.st.com/s/question/0D53W000020ICO4SAO/my-board-is-unable-to-detect-when-i-flashed-it-after-that-led-is-glow-is-not-glowing-plz-help-me

The board you erased the debugger (ST-LINK/V3), and bricked?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
HPunm.1
Associate II

STM32H745I-DISCO please please help me I have wasted 3 weeks for that

The JTAG/SWD for the H745 is exposed at the Tag-Connect pads (CN16), *not* the CN5 header

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Here's the schematic, have someone review this with you.

Understand what you're doing, before you do it, that way you won't waste time, or do things that cause more damage.

https://www.st.com/resource/en/schematic_pack/mb1381-h745xi-b03_schematic.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

What is your request 1. Repair STLINK V3 onboard or

2.use board with external STLINK ???

HPunm.1
Associate II

Need to Repair the STLINK V3 ​on board and but also I have tried to use external ST LINK but I am facing same issue

So need to repair on the board

>>I am facing same issue

What Issue? You're super bad at explaining the specifics of what you're doing, what you've done, and what's currently happening.

In your prior thread you connected the ST-LINK/V2 to the MCU implementing the ST-LINK/V3.

Through your random shot-gun debugging method you've wiped that, and without ST providing some recovery image, probably not directly recoverable. Did you try a CMSIS-DAP image for the ST-LINK/V3 implementation?

>>So need to repair on the board

You need to get some debug pod firmware on the F723 part for it to do anything moving forward.

You can connect to the H745 part using an ST-LINK/V2 (a V3 might be preferable, and definitely STM32 Cube Programmer over ST-LINK Utilities), attached to the Tag-Connect header CN16, JP2 (SWCLK/SWDIO). or CN4.

Go over the schematic, understand what is connected to what... verify..

Do you work with anyone with better diagnostic/communication skills, who can work through this with you?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..