Error in Simulink: No STM32 MCU Connected

51 Ansichten (letzte 30 Tage)
Ali
Ali am 22 Okt. 2024
Bearbeitet: Saurav Shandilya am 30 Okt. 2024 um 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.

Antworten (2)

Divyanshu
Divyanshu am 28 Okt. 2024 um 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 Kommentar
Ali
Ali am 28 Okt. 2024 um 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 ?

Melden Sie sich an, um zu kommentieren.


Saurav Shandilya
Saurav Shandilya am 30 Okt. 2024 um 11:33
Bearbeitet: Saurav Shandilya am 30 Okt. 2024 um 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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by