cancel
Showing results for 
Search instead for 
Did you mean: 

connect error ST-LINK on 'STM32H7XI-DISCO'

JLee.00000
Associate II

I can't connect the STM32H7XI-disco board with the PC.

At first, it was connected through ST-Link.

I connected to the PC using a micro Btype cable to ST-LINK V3E (CN2) on the board.

However, it is not connected after the wrong version of download.

I want to know how to initialize or bypass the board to put in a normal program.

I will explain the current state and process of this.

This was a project created from "STM32Cube" on "STM32CubeIDE".

I modified the clock through the .ioc file, and after the correction, the project was built with all the error-prone parts disabled, such as the DCMI in 'image_3.'

At that time, set BCM4:1 and BCM7:0 from STM32CubrProgrammer

and download built project to MCU.

 If you refer to 'image_4, you can see that it is properly recognized on the PC.

However, errors such as 'image_1' and 'image_2' occur.

I hope we can connect it again somehow.

Thank you for your help.

1 ACCEPTED SOLUTION

Accepted Solutions

It's in a few spots, one of them is here:

https://www.st.com/resource/en/application_note/dm00597308-stm32h7x5x7-dualcore-microcontroller-debugging-stmicroelectronics.pdf

0693W00000JMJ92QAH.png 

0693W00000JMJ8sQAH.png

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

7 REPLIES 7
TDK
Guru

Try changing the mode to connect under reset.

If you feel a post has answered your question, please click "Accept as Solution".

I tried. but I don't found solution.

0693W00000JM9fcQAD.png0693W00000JM9fmQAD.png 

0693W00000JM9fXQAT.png

JLee.00000
Associate II

I solved it.

set 'Under​ reset' of Mode,

'Hardware reset' for Reset Mode

and Access port is '3'.

That was important key of this solution.

but I don't know how change to 3 that Access port ​

who that know anytime, teach me anything of this problem.

Access port 3 is for the the M4 core.
If you feel a post has answered your question, please click "Accept as Solution".

ah! by any chance, can I find that contents in the manual or somewhere?

It's in a few spots, one of them is here:

https://www.st.com/resource/en/application_note/dm00597308-stm32h7x5x7-dualcore-microcontroller-debugging-stmicroelectronics.pdf

0693W00000JMJ92QAH.png 

0693W00000JMJ8sQAH.png

If you feel a post has answered your question, please click "Accept as Solution".

Thank you so so so much for your kind :)