Skip to main content
Associate III
July 7, 2025
Solved

Not able to detect STM32H743 in MATLAB simulink

  • July 7, 2025
  • 2 replies
  • 638 views

Hi,

 

I am using Nucleo-144 boards in my project where I have changed the clock source for STLINK IC to external crystal using STLINK firmware upgrade tool. Before it was HSI/2 =8MHz. Now I am trying to revert the configuration back to 8MHz but I am not able to detect the Nucleo board now with 8 MHz. Is this known issue?

 

I tried configuring it back to 5MHz using tool below and it works fine , detects all the time in MATLAB. But not with 8MHz (HSI/2). 

 

How to revert back the configuration and make the board detectable?

 

 

DJ_IND_0-1751879373603.png

 

Best answer by Andrew Neil

You've marked this as solved, but it seems not solved?

See this for how to un-mark a solution.

Your log shows that there is no power on the Target:

AndrewNeil_0-1752482413042.png

 

2 replies

mƎALLEm
Technical Moderator
July 7, 2025

Hello,

Do you mean that you are not able to revert back to HSI/2 =8MHz?

If you are able to see this value after reverting back the settings: 

mALLEm_0-1751880704217.png

this is not a board issue but may be to your MATLAB Simulink config: clock config for example? forget to revert back the clock to 8MHz in Matlab simulink?

For Matlab/simulink questions please ask them in their forum: https://www.mathworks.com/matlabcentral/content/communities.html

 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
DJ_INDAuthor
Associate III
July 7, 2025

Yes. I probes the R5 resistor on Nucleo-144, I am getting 8MHz clock. But I am not able to connect with STM32 using MATLAB simulink. 

 

 

mƎALLEm
Technical Moderator
July 7, 2025

In that case it's not a board issue nor the STLINK module but it's a Matlab/simulink environement issue that we don't support. As I said please ask the question in their forums.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
DJ_INDAuthor
Associate III
July 14, 2025

Hi,

I have tried connecting same nucleo 144 board to ST32cube programmer after setting freq to8MHz but i am getting below error. So irrespective of MATLAB it is not detecting in any other tool. 

DJ_IND_0-1752482090588.png

 

 

Andrew Neil
Andrew NeilBest answer
Super User
July 14, 2025

You've marked this as solved, but it seems not solved?

See this for how to un-mark a solution.

Your log shows that there is no power on the Target:

AndrewNeil_0-1752482413042.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
Technical Moderator
July 14, 2025

@Andrew Neil unmarked the solution.

@DJ_IND  as pointed out by @Andrew Neil , the VDD voltage detected by STLINK is 0V. as if the MCU is not powered. Did you remove any jumper from the board? the IDD jumper for example?

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