Skip to main content
JBreu.1
Visitor II
April 29, 2021
Question

How to install STM32CubeMX on Windows 10 ARM64 on Raspberry Pi 4

  • April 29, 2021
  • 3 replies
  • 5097 views

As in the FYI note STM32CubeMX on Raspberry Pi 4 the Oracle Java is needed. But seems that Oracle java 1.8.x is only operative for Windows x64 or x86, not for ARM. Any alternatives? Thanks

This topic has been closed for replies.

3 replies

Houda GHABRI
ST Employee
May 18, 2021

Hi @JBreu.1​ ,

Can you please tell which version of CubeMX are you using?

Since version 6.2.0 STM32CubeMX embeds the JRE, no need to install Orcale Java.

To be sure to use the embedded java version you can use this command to launch CubeMX:

<CubeMX installer folder >\STMicroelectronics\STM32Cube\STM32CubeMX-6-2-0\jre\bin\java -jar STM32CubeMX.exe

Hope this helps you.

Houda

CPop.1
Associate
August 20, 2021

I found that the STLink driver doesn't work on arm64. Even after installing everything else, the device is not discovered. (I can see the mass storage portion of the composite device but the debugger device is listed in device manager as not having a driver).

(https://community.st.com/s/question/0D53W000011vaXZSAY/stlink-stcubeprogrammer-support-on-windows-arm64).

Pavel A.
Super User
August 20, 2021

> but the debugger device is listed in device manager as not having a driver).

It should be served with a standard in-box winusb driver.

ST, make a small fix in the INF file for the ST-LINK . Add .NTARM64 section:

[Standard.NTarm64]

... copy here content of [Standard.NTx86] or [Standard.NTamd64] section ...

Add this to [Version] section:

CatalogFile.NTARM64 = STLinkDbgWinUSB_A64.cat

Get the signature from Miscrosoft as usual ...

Nawres GHARBI
Technical Moderator
August 26, 2021

Hi @Pavel A.​ 

could you share the obtained drivers please

CPop.1
Associate
August 26, 2021

Workaround with unsigned drivers here :https://community.st.com/s/feed/0D53W000011vaXZSAY