STM32 Dual core " No STM32 MCU connected" issue

Dear all!
I'm trying to buid a model blink a led via Matlab simulink 2025a for custom board STM32H via STlin V2, when download program have issue" No STM32 MCU conneted" but when i try to manual flash, it OK, i don't know why. can you share how to fix this iusse

Answers (1)

Hi,
  1. I checked the image you attached, looks like the path you shared for elf is incorrect. It should be outside stm32h755_ert_rtw.Please update the .elf path and try again.
  2. Model you are shared here and name of model in the image are different, please verify if you are using the correct model.
  3. What do you mean by manual flash? can you first try to connect in STM32CubeProgrammer, is it getting connected there?
  4. Can you try erasing the memory(if needed) from programmer and try to do "Build, Deploy & Start" from Simulink.
  5. If you are still facing issues please reach out to Technical Support for further assistance: https://in.mathworks.com/support/contact_us.html .Ensure that the Simulink model as well as the STM32CubeMX IOC file are attached.
Thank you,
Madhu Varshini

Asked:

on 8 Apr 2026

Answered:

on 5 May 2026 at 6:05

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!