Skip to main content
Associate II
March 14, 2025
Solved

STM32CubeAI BUG

  • March 14, 2025
  • 2 replies
  • 607 views

Hi,

Every time I click on the AI model, my clock tree is forcibly changed, and the external clock is also changed for me.

9527_0-1741926220317.png

9527_1-1741926246640.png

 

Best answer by hamitiya

Hello,

Yes some parameters are defined as "required" and they apply at X-CUBE-AI launch.

The prompt you saw is only about "optimal parameters".

If you want to disable this behavior, here is the following:

- Open $HOME\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-AI\10.0.0\db\boardExternalMem.xml (Windows HOME equivalent is C:\Users\<username>)

- Find your Discovery Kit board or your Die ID (Example: STM32F746G-DISCO is die 0x449)

- Remove or comment the lines in object "requiredParameters"

 

Best regards,

Yanis

2 replies

Associate II
March 14, 2025

Has no one encountered this problem? Is there no expert using this thing?

hamitiya
hamitiyaBest answer
ST Employee
March 14, 2025

Hello,

Yes some parameters are defined as "required" and they apply at X-CUBE-AI launch.

The prompt you saw is only about "optimal parameters".

If you want to disable this behavior, here is the following:

- Open $HOME\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-AI\10.0.0\db\boardExternalMem.xml (Windows HOME equivalent is C:\Users\<username>)

- Find your Discovery Kit board or your Die ID (Example: STM32F746G-DISCO is die 0x449)

- Remove or comment the lines in object "requiredParameters"

 

Best regards,

Yanis

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Associate II
March 20, 2025

9527_0-1742478439848.png

Note that when I modify my hardware configuration, the external crystal oscillator is 25M and it changes to 8M every time I click on it. Your software forces it to be 8M. 

9527_1-1742478843087.png

These generated file paths are also missing some things and have to be changed every time. The library files have to be deleted manually every time.