Skip to main content
SametKocatepe
Associate
January 14, 2022
Question

Why ST Motor Control Workbench can not generate code for H745 nucleo board.

  • January 14, 2022
  • 6 replies
  • 2780 views

Hi Everyone.

For some reasons, we want to switch the current MCU to STM32H745 in our new generation designs. To make POC, We are trying to generate code for Nucleo H745 example in the C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.Y.3\Projects\NUCLEO-H745ZI folder. So far, unfortunately, We could not achieve code generation.

We have tried different versions of the CUBEMX and also different version of the MCSDK software. In total, We´ve tried about 10 combination of that versions. but unfortunately We could not. On the other hand, for STM32G4xx and STM32F4xx series boards, we could achieve. In addition, I tried all steps with my personal computer (w10), but no success.

Here is a photo what i mean

0693W00000Hrfu9QAB.png0693W00000HrfusQAB.pngAlso, I tried all the H7 HAL SDK includin V1.9.1 , V1.9.0, 1.5.0 but no success.

So, It will be really appreciated if you help me on this.

Best Regards.

Samet Kocatepe

This topic has been closed for replies.

6 replies

MK.1
Associate III
January 14, 2022

MC_SDK_5.Y.3 incompatible with Cube MX 6.4.0.

Use Cube MX 6.3.0.

SametKocatepe
Associate
January 17, 2022

Hi,

Thank you for your answer,

The first photo indicates mxV6.4

Second photo indicates mxV6.3.

I also tried all possible combinations of CubeMX version, MCSDK workbench and H7 FW.

As I said, I achieved to generate code for F4 series and G4 series. But I need to generate for H7 nucleo board.

Best Regards

Samet Kocatepe

MK.1
Associate III
January 17, 2022

Supported devices and boards

  • Supported Devices:
    • STM32F0xx Family: STM32F030RC / STM32F030R8 / STM32F031C6 / STM32F051R8 / STM32F051C8 / STM32F072VB / STM32F072RB
    • STSPIN32 Family: STSPIN32F0601 / STSPIN32F0602 / STSPIN32F0251 / STSPIN32F0252 / STSPIN32F0A / STSPIN32F0B
    • STM32F1xx Family: STM32F103 High, Medium and Low Densities
    • STM32F3xx Family: STM32F302VB / STM32F302VC / STM32F302R8 / STM32F303VB / STM32F303VC / STM32F303ZE / STM32F303VE / STM32F303RE
    • STM32F4xx Family: STM32F417IG / STM32F415ZG / STM32F407IG / STM32F446ZE / STM32F446RE / STM32F401RE
    • STM32F7xx Family: STM32F746ZG / STM32F769NI
    • STM32L4xx Family: STM32L452RE / STM32L476RG
    • STM32G0xx Family: STM32G081
    • STM32G4xx Family: STM32G431CB / STM32G431RB / STM32G474QE
    • STM32H7xx Family: partially supported with examples STM32H745ZI

MK.1
Associate III
January 17, 2022
  • STM32H7xx Family: partially supported with examples STM32H745ZI

only through a ready-made example

SametKocatepe
Associate
January 17, 2022

Hi,

Actually that was exactly what i am trying to success.

There is an example with STM32 H745 NUCLEO board (under "C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.Y.3\Projects\NUCLEO-H745ZI" folder ).

I am trying to generate the code for that example without changing anything.

SametKocatepe
Associate
January 24, 2022

I am still trying to get to work this. Is there anyone who can help me on this?

Best Regards.

Samet Kocatepe

MK.1
Associate III
January 24, 2022

I assume that your board is not supported. The new version MSDK 5.y.4 does not have an example for the controller H745

RBrec.1
Associate II
January 24, 2022

I was able to generate some code, however with some errors. Try the following:

  • Open the workbench file (under C:\Program Files (x86)\MC_SDK_5.Y.3\Projects\NUCLEO-H745ZI\Demonstration\IHM07-3Shunts-ShinanoMotor) and save it to a chosen folder, close it again.
  • Open the new workbench file in the new folder and click generate code. This will create a subfolder, but you will not be able to generate any code.
  • Copy the CubeMX file into the new subfolder and open the workbench again.
  • It should look like this

0693W00000JN70ZQAT.png 

0693W00000JN70yQAD.png 

You should now be able to click update and it will generate code. I dont recall what errors I got, but I think it wasnt able to generate all the files. Please, respond if you are able to generate and run code.

Best regards