Skip to main content
Associate III
September 4, 2024
Question

Target not found error in STM32H743ZI2

  • September 4, 2024
  • 3 replies
  • 5999 views

i am using nucleo-144, H743ZI2 board. while i am uploading code in the stm32cubeide i am getting error as "target not found". i have searched in the community and then tried connect the boot0 to high, and power the board, connect to cube programmer and erase full chip flash memory. while i do that i am not able to connect board. i am getting an error as: no stm32 target found. i have tried to connect boot 0 to vcc and power it. In the cube programmer i am unable to get the connect. and i have gone through the user manual of the board h743zi2 board, but there also i received the same answer. when i connect or power the board, we get the firmware right, i am getting mbed, details and failed also. in the fail text document i have "The interface firmware FAILED to reset/halt the target MCU". what should i do? I want to upload the new code and will it be possible to erase the old code.

3 replies

mƎALLEm
Technical Moderator
September 4, 2024

Hello,

Did you check the power supply of the MCU? Check the jumpers, especially the ones related to the power especially JP4. 

SofLit_0-1725447465669.png

Also be sure you are using a data cable and not a charging cable.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
suhfiAuthor
Associate III
September 5, 2024

Hello,

Yes i have checked the power supply of MCU, the jumpers are connected to that of JP4 and the data cable also. these two are not the issue. could you add more details why is it unable to upload the code.

mƎALLEm
Technical Moderator
September 5, 2024

Did you measure the VDD level on JP4?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
suhfiAuthor
Associate III
September 5, 2024

yes, i have got that on vdd. and the power i am using is usb pwr(CN1) to the usb cable connected to the laptop

mƎALLEm
Technical Moderator
September 5, 2024

Unfortunately, I think your board is broken (may be the 3.3V regulator was burned inducing to pass the previous regulator 5V voltage?) as well as your MCU.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
suhfiAuthor
Associate III
September 6, 2024

so, the thing is i measured it wrong. now when i correct it i am getting it as 0volts nearly. so i guess my board isn't broken. what is this 0 volts. how much should i get and everything?

suhfiAuthor
Associate III
September 13, 2024

Hello SofLit, I borrowed a new board and i am getting 3.2 volts. but the issue is the same. for the photos you can refer to the initial message of this chat. quick response will be much appreciated. it is so frustrating to see the new board with same problem. could you please suggest some troubleshoots.

Tesla DeLorean
Guru
September 13, 2024

Inability to connect after code has been loaded is indicative of incorrect SMPS / LDO settings, check you're using LDO on the NUCLEO-H743ZI2, check also VOS and PLL settings are within scope. Check the MCO/HSE source options on ST-LINK/V3,how that correlates to HSE_VALUE and PLL gearing.

Watch usage/interference of PA13/PA14

The method to fix the SMPS/LDO issue is to strap BOOT0 to VDD (HIGH) and cycle the power completely a couple of time until you can connect and delete user code.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
mƎALLEm
Technical Moderator
September 13, 2024

For STM32H743 (Single core line) the SMPS is not available. Only LDO is available. So I don't think it's an issue of power config.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.