Error in Simulink: No STM32 MCU Connected

51 views (last 30 days)
Ali
Ali on 22 Oct 2024
Edited: Saurav Shandilya on 30 Oct 2024 at 11:34
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.

Answers (2)

Divyanshu
Divyanshu on 28 Oct 2024 at 3:16
Hello @Ali,
You can try the following troubleshooting steps:
  • Ensure that the support package which is required for STM32 hardware devices in installed and configured properly. You can download the support package from Add-ons section of MATLAB.
  • Another step is to ensure that both STM32CubeProgrammer and Simulink are not trying to access the same port simultaneously i.e. they are not trying to communicate to STM32 hardware through same port.
  1 Comment
Ali
Ali on 28 Oct 2024 at 17:52
Hello @Divyanshu,
Thank you for your responce.
After a small research about STM32 in Mathworks, It shows a list of the STM32 hardwares Matlab supports, I saw that NUCLEO-U545RE-Q wasn't found in the list, therefore Matlab won't read it.
Is there another hardware that can be selected from Matlab that will help read my hardware ?

Sign in to comment.


Saurav Shandilya
Saurav Shandilya on 30 Oct 2024 at 11:33
Edited: Saurav Shandilya on 30 Oct 2024 at 11:34
Hi @Ali
As you have not mentioned details about products and support package version you are using, I am assuming that you are using Embedded Coder Support Package for STMicroelectronics STM32 Processors - File Exchange - MATLAB Central. As of R2024b, We have validated the support for U5xx Based Boards using STM32CubeMX-6.4.0, flashing using STM32CubeProgrammer-2.6.0 and having support for STM32Cube FW U5 V1.0.2 firmware. Support for the U545 series is not present in the STM32Cube FW U5 V1.0.2 firmware driver file.
Therefore you can use Nucleo boards based on U575x and U585x series.
Support for the U545x series has been added in a later version of the firmware. If you wish to use the U545x board, you will need to update to the new firmware version. Please contact Technical Support, and provide details of the tools you are using, such as CubeMX and the firmware version, so we can help you in enabling the board.
Thanks

Products

Community Treasure Hunt

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

Start Hunting!