2 Replies Latest reply on Jun 8, 2017 1:34 PM by mifo

    Can't get WiFi firmware size

    josh.yu_1995211

      Hi,

       

      I'm having trouble loading the WiFi firmware during wiced_init(). In WWD/internal/bus_protocols/wwd_bus_common.c,

       

      result = host_platform_resource_size( resource, &size );
      
          if( result != WWD_SUCCESS )
          {
              WPRINT_WWD_ERROR(("Fatal error: download_resource doesn't exist\n"));
              goto exit;
          }
      
          if ( size <= 0 )
          {
              WPRINT_WWD_ERROR(("Fatal error: download_resource cannot load with invalid size\n"));
              result = WWD_BADARG;
              goto exit;
          }
      

       

      size would come up to be 0 causing that "Fatal error: download_resource cannot load with invalid size\n".

       

      Any idea why?