2 Replies Latest reply on Apr 27, 2016 5:45 AM by nsankar

    TheadX: Scan snip wiced_wifi_scan_networks() return timeout when getting semaphore wwd_sdpcm_ioctl_sleep

    ielec

      I was testing the scan snip on BCM43438 with TheadX and NetX_Duo using WICED-SDK-3.5.2. It worked well only for seconds, printing scan results list. But it then didn't work any more, no scan result, even no log printed in the end. After investigating, the wiced_wifi_scan_networks() just returned timeout because of getting semaphore: "wwd_wifi_scan() -> wwd_sdpcm_send_iovar() -> wwd_sdpcm_send_ioctl(SDPCM_SET, ...) -> host_rtos_get_semaphore( &wwd_sdpcm_ioctl_sleep, ...)".

       

      I did test the same snip using FreeRTOS+LwIP and it always worked fine, kept printing scan results list as expected! Is there something wrong with ThreadX?

       

      Any idea would be appreciated!!

       

      KR.