ΣSigmaStudio Ask AI Русский Log in

Power_On_Self_Test

Processors & DSP SVarghaei385 Feb 3, 2020 00:00 1 replies Original on forum ↗
Subscribe
SVarghaei385 Question
Feb 3, 2020 00:00

Hi,

I am using a customer board with BF706 processor series with w25q32bv, and trying to debug the Power_On_Self_Test example.

The issue I get is that when calling flash_open(flash_info), the debug will run for ever in the following loop:

static int adi_spi_bf6xx_recv_until (int (*condition)(const uint8_t))
{
uint8_t data;

*pREG_SPI_RXCTL = ENUM_SPI_RXCTL_RX_EN | ENUM_SPI_RXCTL_RTI_EN;

do
{
while (*pREG_SPI_STAT & BITM_SPI_STAT_RFE)
;
data = *pREG_SPI_RFIFO;
}
while (!condition(data));

*pREG_SPI_RXCTL = 0;

return 0;
}

Anyone can please tell what is the issue?

Best Regards

power_on_self_test

bf706

cces 2.3.0

blackfin

ADIApproved Reply
Feb 14, 2020 00:00

Hi ,

This issue is already handled through private support. To avoid duplication of efforts, you can continue the discussions through private support and we will post the final resolution here if appropriate.

Regards,
Anand Selvaraj.