Skip to main content
Associate II
November 29, 2024
Solved

My project stop running after migration to STM32CubeIDE v1.17.0

  • November 29, 2024
  • 1 reply
  • 1360 views

Hi,

My project use STM32H750IBK6 MCU and it works well with STM32CubeIDE v1.16.1.

But it stop running after migration to STM32CubeIDE v1.17.0 with FW H7 V1.12.0.

Any suggestions?
m.png

BRs,

-Engin

Best answer by Engin Lee

Hi @STTwo-32 ,

Today I have a chance to dig this issue again, and finally I find the problem.

In the H7 SDK V1.12.0, something changed in HAL_RNG_Init(), like this difference:

RNG.png

It seems to be a longer time to wait for a random number generated.

And I am using LSI clock source for RNG in my product, if I modify RNG_TIMEOUT_VALUE from 2 to 200 like this:

#define RNG_TIMEOUT_VALUE 200U //before: 2U

Then the program can continue run without blocking.

So could you review about RNG_TIMEOUT_VALUE to a reasonable value for different clock sources?

Thanks,

-Engin

1 reply

STTwo-32
Technical Moderator
November 29, 2024

Hello @Engin Lee 

Have you selected the option Migrate or Continue on the pop-up you have added to your post. 

Best Regards.

STTwo-32

Engin LeeAuthor
Associate II
November 29, 2024

Yes, it goes without any problem if I select "continue" button..

But it stop running if I select "migrate" button, compile program and then flash.

STTwo-32
Technical Moderator
November 29, 2024

Please share your .ioc file.

Best Regards.

STTwo-32