BCM43362 - SDIO based WICED porting - Struck after downloading the firmware

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

We have interfaced BCM43362 controller with SDIO based kit.

In the function wwd_bus_init(), firmware downloading (VERIFY_RESULT( wwd_bus_sdio_download_firmware( ) )) finishes successfully,

but in the following loop (which checks through command 52 that whether SDIO_FUNC_READY_2 is set. But we are getting only SDIO_FUNC_READY_1). Can you please help us in knowing how to change from Function_1 to Function-2.

while ( ( ( result = wwd_bus_sdio_read_register_value( BUS_FUNCTION, SDIOD_CCCR_IORDY, (uint8_t) 1, &byte_data ) ) == WWD_SUCCESS ) &&

        ( ( byte_data & SDIO_FUNC_READY_2 ) == 0 ) &&

        ( loop_count < (uint32_t) F2_READY_TIMEOUT_MS ) )

{

    (void) host_rtos_delay_milliseconds( (uint32_t) 1 ); /* Ignore return - nothing can be done if it fails */

    loop_count++;

}

timeout occurs, that is in all the attempts of SDIO read, the byte_data variable has the value 0x00,

which means that SDIO_FUNC_READY_2 is not set (1000 attempts with a delay of 1ms between each attempt). If you have any documents related to SDIO based porting, please share with us.

0 Likes
6 Replies