Error in Simulink: No STM32 MCU Connected

60 次查看(过去 30 天)
Ali
Ali 2024-10-22,17:43
编辑: Saurav Shandilya 2024-10-30,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.

回答(2 个)

Divyanshu
Divyanshu 2024-10-28,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 个评论
Ali
Ali 2024-10-28,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 ?

请先登录,再进行评论。


Saurav Shandilya
Saurav Shandilya 2024-10-30,11:33
编辑:Saurav Shandilya 2024-10-30,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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by