2 Replies Latest reply on Nov 10, 2020 10:11 PM by kach_4703581

    How to configure for freeRTOS or ThreadX in the project?

    DeXi_1316761

      I konw that the WICED studio support freeRTOS and ThreadX. In the project, how to configure for freeRTOS or ThreadX?

        • 1. Re: How to configure for freeRTOS or ThreadX in the project?
          GauravS_31

          You can modify or create a new make target on the right hand side of WICED Studio to include the appropriate RTOS-Network stack for your project. For FreeRTOS, the make target would be snip.scan-BCM943364WCD1-FreeRTOS-LwIP download download_apps run. For ThreadX, it would be snip.scan-BCM943364WCD1-ThreadX-NetX_Duo download download_apps run.

          1 of 1 people found this helpful
          • 2. Re: How to configure for freeRTOS or ThreadX in the project?
            kach_4703581

            Is this FreeRTOS Support all Platform files ? Because I am using ISM43340 inventek Wif/ble Combo Module. This Module working in ThreadX RTOS  mode . Whatever you mention above examples (snip.scan-ISM43340--ThreadX-NetX-download download_apps run) . There is no problem at all in ThreadX RTOS.  If I change to FreeRTOS mode. It's not working . It's went platform_mcu_reset funtion . I mean  wiced_init function getting failed. Here I those please verify it.

             

            ThreadX logs  --- It's working in ThreadX RTOS

             

            Starting WICED Wiced_006.004.000.0061

            Platform ISM43340_M4G_L44 initialised

            Started ThreadX v5.8

            WICED_core Initialized

            Initialising NetX v5.10_sp3

            Creating Packet pools

            WLAN MAC Address : C4:7F:51:8C:FB:4E

            WLAN Firmware    : wl0: Nov 18 2015 20:26:53 version 6.49.1 (r600471) FWID 01-a0191015

            WLAN CLM         : API: 7.2 Data: 6.2.4 Compiler: 1.9.3 ClmImport: 1.9.3 Inc Data: 9.3.7 Inc Compiler: 1.29.24 Inc ClmImport: 1.29.20

            Waiting for scan results...

              # Type  BSSID              RSSI Rate Chan Security               SSID                            CCode    Flag

            ------------------------------------------------------------------------------------------------------------------

              0 Infra C4:71:54:0C:C5:D4 -57 300.0    1   WPA2 AES PSK         TP-Link_C5D4                             PROBE        

              1 Infra 48:EE:0C:A4:C1:E9 OFF  54.0   10   WEP PSK              D-Link                                   PROBE        

              2 Infra CC:9F:7A:99:0A:7E -57  72.2   11   WPA2 AES PSK         kasi                                     PROBE        

             

             

            Scan complete in 2533 milliseconds

            Waiting for scan results...

              # Type  BSSID              RSSI Rate Chan Security               SSID                            CCode    Flag

            ------------------------------------------------------------------------------------------------------------------

              0 Infra C4:71:54:0C:C5:D4 -57 300.0    1   WPA2 AES PSK         TP-Link_C5D4                             PROBE        

              1 Infra 00:AD:24:F6:AE:E9 OFF 300.0    7   WPA2 AES PSK         Mohan                                    BEACON       

              2 Infra 48:EE:0C:A4:C1:E9 OFF  54.0   10   WEP PSK              D-Link                                   PROBE        

              3 Infra CC:9F:7A:99:0A:7E OFF  72.2   11   WPA2 AES PSK         kasi                                     PROBE        

             

             

            Scan complete in 2540 milliseconds

             

             

            FreeRTOS Log

             

            Starting WICED Wiced_006.004.000.0061

            Platform ISM43340_M4G_L44 initialised

            Started FreeRTOS v9.0.0

            WICED_core Initialized

            Initialising LwIP v2.0.3

            DHCP CLIENT hostname WICED IP

             

             

            After this it went system_reset.  Can you please guide me for this issue

            FreeRTOS_error.PNG