Skip to main content
Visitor II
October 22, 2024
Question

Error in Simulink: No STM32 MCU Connected

  • October 22, 2024
  • 2 replies
  • 1120 views

Though I made sure that the STM32 NUCLEO-U545RE-Q device was connected to CubeProgrammer, MATLAB Simulink is unable to read it. Any help that can be provided will be appreciated!
I appreciate any help you can provide.

 

 

2 replies

STTwo-32
Technical Moderator
October 22, 2024

Hello @Khadratov and welcome to the ST Comunity.

For this implementation, I suggest you contact Matlab community that is the responsible of the Matlab/Simulink implementation on the STM32 MCUs.

Best Regards.

STTwo-32

Andrew Neil
Super User
October 22, 2024

The first thing to check is whether the ST-Link is actually visible to your computer:

https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/tac-p/698105/highlight/true#M956

 


@Khadratov wrote:

Though I made sure that the STM32 NUCLEO-U545RE-Q device was connected to CubeProgrammer...


So STM32CubeProgrammer can connect & works OK ?

Does MATLAB require that you disconnect the CubeProgrammer first ?

If CubeProgrammer connects OK, but MATLAB can't, then it's a MATLAB issue - as @STTwo-32 said, you need to contact MATLAB in that case.

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.