Skip to main content
Associate II
November 29, 2024
Solved

My project stop running after migration to STM32CubeIDE v1.17.0

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

This topic has been closed for replies.
Engin LeeBest answer
Associate II
December 11, 2024

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

7 replies

STTwo-32
ST 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

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.
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
ST Technical Moderator
November 29, 2024

Please share your .ioc file.

Best Regards.

STTwo-32

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.