2020-07-27 07:10 AM
Hello ST team,
I use STM32CubeF4 1.25.0
in SystemInit_ExtMemCtl() of system_stm32f4xx.c
tmpreg is not initialized between each while loop, so tmpreg is 0 and the FMC_Bank status is not read
tmpreg = 0xFFFF; << is missing
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
Regards
2020-08-12 06:09 AM
Thanks @Community member for reporting this issue. It is tracked internally with the request to fix it for STM32F4 as well as other families like STM32F7 and STM32H7.
-Amel
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.