Skip to main content
psiva.13
Associate II
October 3, 2019
Question

Using ST-LINK trying to connect to STM32H745 Disco board ,But giving cannot connect to target???

  • October 3, 2019
  • 6 replies
  • 1915 views

Hi ,I am using STM32H745 Discovery board and trying to connect to target ,but it is giving an error prompt of cannot connect to target.

Actually I have made changes in the option bytes that is by mistake I have unchecked both the BOOT_CM7 and BOOT_CM4 option byte .Then after the board is not being connected.

I have tried of selecting the"connect under reset " in settings and holding the reset button and tried to full flash erase option but no use the issue still persists.

I have also tried of keeping BOOT0 pin in high state and tried to erase the code but no use Kindly help me out with this issue .

Thanks,

Parvathi.

This topic has been closed for replies.

6 replies

Nesrine.JLASSI
Visitor II
October 28, 2019

Hello @psiva.13​ 

Please try to use CubeProgrammer instead of STM32 ST-LINK Utility, it works properly.

Best regards,

Nesrine

psiva.13
psiva.13Author
Associate II
November 12, 2019

Hi @Nesrine.JLASSI​ ,

I have used cubeprogrammer and somehow made my device to work but again the same problem occurred now , why this issue happening very frequently with this processor ,and how to completely overcome this issue??

Regards,

Parvathi

Tesla DeLorean
Guru
November 12, 2019

Make sure you system clock start up code correctly selects the power supply method and VOS settings.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
psiva.13
psiva.13Author
Associate II
November 12, 2019

My system clock start up code is now set to PWR_DIRECT_SMPS_SUPPLY previously it was PWR_LDO_SUPPLY. I have observed in the hardware that no voltage is getting at SMPS output side . Is it mean that the internal SMPS is gone bad ???? If yes what is the other option to overcome this issue and make my board to work.

RGari
Associate II
November 14, 2019

As for the power supply setting, the 745I Discovery board comes from the factory wired for SMPS mode. BUT (and I still need to repro to make sure it was not my mistake) STMCubeMX incorrectly configures it for LDO mode if you tell it to configure the Discovery board settings to their defaults.

psiva.13
psiva.13Author
Associate II
December 9, 2019

Thank you all ,my issue got resolved it is because of misconfiguration of my system Power configuration start up code.