5 Replies Latest reply on Jan 25, 2016 4:14 PM by mkochhal

    wiced 3.4.0-aws ota-fr issues

    mkochhal

      Sunculture-Manish-Kochhal:WICED-SDK-3.4.0-AWS sunculturesolar$ ./make snip.ota_fr-BCM943341WCD1 download download_apps run

      Building Bootloader

      Building Serial Flash Loader App

      waf.sflash_write-NoOS-BCM943341WCD1-SDIO

      ----------------------------------|---------|---------|

                                        |         |  Static |

                    Module              |  Flash  |   RAM   |

      ----------------------------------+---------+---------|

      App                               |       0 |   21126 |

      Host MCU-family library           |       0 |   11302 |

      Interrupt Vectors                 |       0 |     388 |

      libc                              |       0 |     548 |

      platform                          |       0 |     908 |

      Ring_Buffer                       |       0 |      36 |

      SPI_Flash_Library_BCM943341WCD1   |       0 |     924 |

      Startup Stack & Link Script fill  |       0 |     486 |

      WWD                               |       0 |     174 |

      ----------------------------------+---------+---------|

      TOTAL (bytes)                     |       0 |   35892 |

      ----------------------------------|---------|---------|

       

      Build complete

      Finished Building Bootloader

      Finished Building Serial Flash Loader App

       

       

      snip.ota_fr-BCM943341WCD1

      ----------------------------------|---------|---------|

                                        |         |  Static |

                    Module              |  Flash  |   RAM   |

      ----------------------------------+---------+---------|

      App                               |     293 |       0 |

      base64                            |     523 |       0 |

      crypto_open                       |   42480 |       0 |

      DHCP_Server                       |    1538 |     132 |

      DNS                               |      68 |      84 |

      Host MCU-family library           |   13972 |    2484 |

      Interrupt Vectors                 |     388 |       0 |

      libc                              |   33815 |    3136 |

      micro_ecc                         |    5850 |       0 |

      Networking                        |    4624 |   13184 |

      NetX-Duo - Interfaces & Stacks    |       0 |      16 |

      OTA_Server                        |    8235 |     684 |

      Other                             |   43528 |     535 |

      Packet Buffers                    |       0 |   23086 |

      platform                          |    1036 |     172 |

      RAM Initialisation                |    2428 |       0 |

      resources                         |      16 |       0 |

      Ring_Buffer                       |      92 |       0 |

      SPI_Flash_Library_BCM943341WCD1   |     880 |       0 |

      Startup Stack & Link Script fill  |      67 |       7 |

      Supplicant - BESL                 |   15431 |     484 |

      ThreadX                           |    8596 |     396 |

      Wi-Fi Firmware                    |  370096 |       0 |

      WICED                             |    2900 |     824 |

      WWD                               |   12912 |    3024 |

      ----------------------------------+---------+---------|

      TOTAL (bytes)                     |  567340 |   48248 |

      ----------------------------------|---------|---------|

       

      Downloading Bootloader ...

      Building apps lookup table

      No changes detected

       

      Download complete

       

      Downloading DCT ...

      Download complete

       

      Downloading Application ...

      No changes detected

       

      Download complete

       

      Downloading FR_APP build/snip.ota_fr-BCM943341WCD1/binary/snip.ota_fr-BCM943341WCD1.stripped.elf at sector 1 address 4096...

      make[1]: *** [FR_APP_DOWNLOAD] Error 1

      make: *** [main_app] Error 2

      Sunculture-Manish-Kochhal:WICED-SDK-3.4.0-AWS sunculturesolar$

        • 1. Re: wiced 3.4.0-aws ota-fr issues
          mkochhal

          ting Packet pools

           

          Starting WICED v3.4.0-AWS

          Platform BCM943341WCD1 initialised

          Started ThreadX v5.6

          Initialising NetX_Duo v5.7_sp2

          Creating Packet pools

          WWD SDIO interface initialised

          WLAN MAC Address : 6C:AD:F8:F0:E9:3B

          WLAN Firmware    : wl0: Oct 13 2014 15:25:13 version 6.10.190.51 (r507746) FWID 01-60cadeb3

          Hi, I'm the Production App (ota_fr).

          Watch while I toggle some LEDs ...

          Time for an upgrade. OTA upgrade starting ...

          IPv4 network ready IP: 192.168.10.1

          Setting IPv6 link-local address

          IPv6 network ready IP: FE80:0000:0000:0000:6EAD:F8FF:FEF0:E93B

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          Error setting application size!!

          • 2. Re: wiced 3.4.0-aws ota-fr issues
            vikr

            There is an issue on 43341 hardware, developers are yet to fix the same. Will update you once we have a fix for it.

            • 3. Re: wiced 3.4.0-aws ota-fr issues
              mkochhal

              Any updates to the OTA fix for 43341 hardware.

              • 4. Re: wiced 3.4.0-aws ota-fr issues
                vikr

                So I figured that the SPI interface is shared between the external serial flash and the NFC on the 43341 platform. By default the SPI interface from the ST is mapped to NFC, we will have to change the platform file , the GPIO mappings accordingly to serial flash instead of NFC

                • 5. Re: wiced 3.4.0-aws ota-fr issues
                  mkochhal

                  Vikram,

                  Hi.

                   

                  Can you share how do I change the settings to have the SPI being used for Serial Flash instead of the NFC?

                   

                  thanks!

                   

                  Regards,

                  Manish