Skip to main content
boris239955_stm1_st
Associate II
August 9, 2016
Question

STM32F746, Flash

  • August 9, 2016
  • 2 replies
  • 944 views
Posted on August 09, 2016 at 16:30

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
    This topic has been closed for replies.

    2 replies

    boris239955_stm1_st
    Associate II
    August 10, 2016
    Posted on August 10, 2016 at 12:31

    I found where is the problem but I cant understand why.

    HAL_StatusTypeDef HAL_QSPI_Receive(QSPI_HandleTypeDef *hqspi, uint8_t *pData, uint32_t Timeout)

    {

     while(hqspi->RxXferCount > 0)

          {

            /* Wait until FT or TC flag is set to read received data */

            status = QSPI_WaitFlagStateUntilTimeout(hqspi, (QSPI_FLAG_FT | QSPI_FLAG_TC), SET, tickstart, Timeout);

            if  (status != HAL_OK)

            {

              break;

            }

            *hqspi->pRxBuffPtr++ = *(__IO uint8_t *)data_reg;

            hqspi->RxXferCount--;

          }

    }

    status is always HAL_ERROR
    Rocco Porcellio
    Associate
    August 21, 2017
    Posted on August 21, 2017 at 19:35

    Did you ever find  solution to this problem?  I am having a similar issue.