Error in Simulink: No STM32 MCU Connected

24 ビュー (過去 30 日間)
Ali
Ali 2024 年 10 月 22 日
編集済み: Saurav Shandilya 2024 年 10 月 30 日
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 件)

Divyanshu
Divyanshu 2024 年 10 月 28 日
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 件のコメント
Ali
Ali 2024 年 10 月 28 日
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 ?

サインインしてコメントする。


Saurav Shandilya
Saurav Shandilya 2024 年 10 月 30 日
編集済み: Saurav Shandilya 2024 年 10 月 30 日
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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by