cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in stm32f4xx_hal_nor.c

Johanan1
Associate II
Posted on October 03, 2014 at 20:20

In  HAL_NOR_GetStatus(..) timeout is not working due to an error:

-----------------

while(status != NOR_SUCCESS)

  {

    /* Get tick */

    tickstart = HAL_GetTick(); // this should be before the while !!!

    /* Check for the Timeout */

    if(Timeout != HAL_MAX_DELAY)

    {

      if((Timeout == 0)||((HAL_GetTick () - tickstart ) > Timeout)) ;// AS it is this will always be ==

      {

        status = NOR_TIMEOUT; 

      } 

    } 

.

.

.

}

-----------------------------

I have no idea who to report this, so I post it here.

Johanan

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Posted on October 07, 2014 at 12:35

Hi Johanan,

We have already the limitation in the STM32Cube HAL bugs list and will be fixed in next releases of CubeF4. Thanks for the report.

Regards,

Heisenberg.

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.