1 Reply Latest reply on Jul 14, 2018 11:30 AM by GauravS_31

    canned_send example fails to run

      Hello everyone,

       

      I'm trying canned_send example in wwd folder for sending UDP data from CYW954907AEVAL1F to the PC. In the debug mode (wwd.canned_send-NoOS-NoNS-CYW954907AEVAL1F-debug download), the program is compiled without errors. However, on the terminal it only shows this:

       

      Platform CYW954907AEVAL1F initialised

      Starting Wiced vWiced_006.001.000.0040

       

      I traced down the code and realized that the program stops at wwd_clm.c in the following line:

       

      CHECK_IOCTL_BUFFER( iov_data );

       

      as function wwd_sdpcm_get_iovar_buffer returns Null one line before this.

       

      step into the function , internal_host_buffer_get returns a NULL, because the size requested is larger than internal_buffer_max_size

       

      so i change the pkt_buffer size in main , the wwd_sdpcm_get_iovar_buffer  works

       

      however another problem appears, the program loops in wwd_sdpcm_send_ioctl  ,it seems like it can not receive a sem from wifi chip when execute

       

      wwd_thread_poll_all( ); so the program stop here forever.

       

      so anybody knows the reason, please assist me with this?