Skip to main content
Associate II
Mar 14, 2025 4:24 AM UTC
Solved

STM32CubeAI BUG

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

 

This topic has been closed for replies.
hamitiya
hamitiyaBest answer
ST Technical Moderator
Mar 14, 2025 8:19 AM UTC

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 'Best answer' on the reply which solved your issue or answered your question.

3 replies

Associate II
Mar 14, 2025 6:35 AM UTC

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

hamitiya
hamitiyaBest answer
ST Technical Moderator
Mar 14, 2025 8:19 AM UTC

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 'Best answer' on the reply which solved your issue or answered your question.
Associate II
Mar 20, 2025 1:55 PM UTC

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.