7 Replies Latest reply on Sep 10, 2018 10:57 PM by jone_yi_1844281

    SDK 6.2.1 OTA is Brooken

    johan.jeppsson_1683281

      OTA seems brooken in SDK 6.2.1

       

      I'm following the "snip.ota_fr" app instructions and it doesn't work. I have verified my setup with SDK 6.1 and there it works.

       

      In SDK 6.2.1, when trying to perform the OTA it only produces this output as for the upgrade web page:

       

      -web page loads:

      -stuck with "NaN%"

       

       

      There is no activity on the console either, showing we are not reading any blocks:

       

      - board boots fine and toggle LEDs

      - No activity from OTA start

        • 1. Re: SDK 6.2.1 OTA is Brooken
          riya

          I have verified the ota_fr snip in WICED 6.2.1 and it is working as expected. I am able to update the file. You may check the browser snapshot or the attached console log.

          There should be some other reason for NaN. Can you please check the image you are updating? Also kindly let me know the platform you are using.

          • 2. Re: SDK 6.2.1 OTA is Brooken
            johan.jeppsson_1683281

            43362WCD4

             

            I think it's showing in the terminal.

             

             

            Mvh

            Johan Jeppsson

             

            Den fre 7 sep. 2018 08:19riya <community-manager@cypress.com> skrev:

             

            <http://www.cypress.com>

            Cypress Developer Community

            <https://community.cypress.com/?et=watches.email.thread>

            SDK 6.2.1 OTA is Brooken

             

            reply from riya

            <https://community.cypress.com/people/riya?et=watches.email.thread> in *WICED

            Studio Wi-Fi/Combo Forums* - View the full discussion

            <https://community.cypress.com/message/168562?et=watches.email.thread#168562>

             

            • 3. Re: SDK 6.2.1 OTA is Brooken
              akramjaveed_2970116

              I am using BCM94343WWCD1 board to try the default application in WICED SDK version Wiced_006.001.000.0085.

              You mean to say OTA will not work in this version of SDK. I will have to change to WICED SDK 6.2.1 to evaluate OTA

              • 4. Re: SDK 6.2.1 OTA is Brooken
                akramjaveed_2970116

                OTA upgarde starts but fails to complete. It stops at some point randomly.

                 

                Find the attached screenshot and update logs for the same.

                 

                Screenshot_20100111-060434.png

                • 5. Re: SDK 6.2.1 OTA is Brooken
                  akramjaveed_2970116

                  OTA UPDATE LOGS:

                   

                  10-Sep-18 16:52:40.75 [RX] - <CR><LF>

                  Starting WICED vWiced_006.001.000.0085<CR><LF>

                  Platform BCM94343WWCD1 initialised<CR><LF>

                  Started ThreadX v5.8<CR><LF>

                  Initialising NetX_Duo v5.10_sp3<CR><LF>

                  Creating Packet pools<CR><LF>

                  WLAN MAC Address : 00:A0:50:23:A0:95<CR>

                  <CR><LF>

                  WLAN Firmware    : wl0: Feb 12 2018 04:08:14 version 7.79.2 (r683798 CY) FWID 01-27b63357<CR>

                  <CR><LF>

                  WLAN CLM         : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-02-12 04:00:50 <CR>

                  <CR><LF>

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

                  <CR><LF>

                  Watch while I toggle some LEDs ...<CR>

                  <CR><LF>

                  Time for an upgrade. OTA upgrade starting ...<CR>

                  <CR><LF>

                  <CR>

                  <CR><LF>

                  SoftAP start, AP name: WICED Device<CR>

                  <CR><LF>

                  IPv4 network ready IP: 192.168.10.1<CR><LF>

                  Setting IPv6 link-local address<CR><LF>

                  IPv6 network ready IP: FE80:0000:0000:0000:02A0:50FF:FE23:A095<CR><LF>

                   

                   

                  10-Sep-18 16:54:08.23 [RX] - Writing chunk 1 of size 1024 from offset 0 <CR>

                  <CR><LF>

                  Writing chunk 2 of size 1024 from offset 1024 <CR>

                  <CR><LF>

                  Writing chunk 3 of size 1024 from offset 2048 <CR>

                  <CR><LF>

                  Writing chunk 4 of size 1024 from offset 3072 <CR>

                  <CR><LF>

                  Writing chunk 5 of size 1024 from offset 4096 <CR>

                  <CR><LF>

                  Writing chunk 6 of size 1024 from offset 5120 <CR>

                  <CR><LF>

                  Writing chunk 7 of size 1024 from offset 6144 <CR>

                  <CR><LF>

                  Writing chunk 8 of size 1024 from offset 7168 <CR>

                  <CR><LF>

                  Writing chunk 9 of size 1024 from offset 8192 <CR>

                  <CR><LF>

                  Writing chunk 10 of size 1024 from offset 9216 <CR>

                  <CR><LF>

                  Writing chunk 11 of size 1024 from offset 10240 <CR>

                  <CR><LF>

                  Writing chunk 12 of size 1024 from offset 11264 <CR>

                  <CR><LF>

                  Writing chunk 13 of size 1024 from offset 12288 <CR>

                  <CR><LF>

                  Writing chunk 14 of size 1024 from offset 13312 <CR>

                  <CR><LF>

                  Writing chunk 15 of size 1024 from offset 14336 <CR>

                  <CR><LF>

                  Writing chunk 16 of size 1024 from offset 15360 <CR>

                  <CR><LF>

                  Writing chunk 17 of size 1024 from offset 16384 <CR>

                  <CR><LF>

                  Writing chunk 18 of size 1024 from offset 17408 <CR>

                  <CR><LF>

                  Writing chunk 19 of size 1024 from offset 18432 <CR>

                  <CR><LF>

                  Writing chunk 20 of size 1024 from offset 19456 <CR>

                  <CR><LF>

                  Writing chunk 21 of size 1024 from offset 20480 <CR>

                  <CR><LF>

                  Writing chunk 22 of size 1024 from offset 21504 <CR>

                  <CR><LF>

                  Writing chunk 23 of size 1024 from offset 22528 <CR>

                  <CR><LF>

                  Writing chunk 24 of size 1024 from offset 23552 <CR>

                  <CR><LF>

                  Writing chunk 25 of size 1024 from offset 24576 <CR>

                  <CR><LF>

                  Writing chunk 26 of size 1024 from offset 25600 <CR>

                  <CR><LF>

                  Writing chunk 27 of size 1024 from offset 26624 <CR>

                  <CR><LF>

                  Writing chunk 28 of size 1024 from offset 27648 <CR>

                  <CR><LF>

                  Writing chunk 29 of size 1024 from offset 28672 <CR>

                  <CR><LF>

                  Writing chunk 30 of size 1024 from offset 29696 <CR>

                  <CR><LF>

                  Writing chunk 31 of size 1024 from offset 30720 <CR>

                  <CR><LF>

                  Writing chunk 32 of size 1024 from offset 31744 <CR>

                  <CR><LF>

                  Writing chunk 33 of size 1024 from offset 32768 <CR>

                  <CR><LF>

                  Writing chunk 34 of size 1024 from offset 33792 <CR>

                  <CR><LF>

                  Writing chunk 35 of size 1024 from offset 34816 <CR>

                  <CR><LF>

                  Writing chunk 36 of size 1024 from offset 35840 <CR>

                  <CR><LF>

                  Writing chunk 37 of size 1024 from offset 36864 <CR>

                  <CR><LF>

                  Writing chunk 38 of size 1024 from offset 37888 <CR>

                  <CR><LF>

                  Writing chunk 39 of size 1024 from offset 38912 <CR>

                  <CR><LF>

                  Writing chunk 40 of size 1024 from offset 39936 <CR>

                  <CR><LF>

                  Writing chunk 41 of size 1024 from offset 40960 <CR>

                  <CR><LF>

                  Writing chunk 42 of size 1024 from offset 41984 <CR>

                  <CR><LF>

                  Writing chunk 43 of size 1024 from offset 43008 <CR>

                  <CR><LF>

                  Writing chunk 44 of size 1024 from offset 44032 <CR>

                  <CR><LF>

                  Writing chunk 45 of size 1024 from offset 45056 <CR>

                  <CR><LF>

                  Writing chunk 46 of size 1024 from offset 46080 <CR>

                  <CR><LF>

                  Writing chunk 47 of size 1024 from offset 47104 <CR>

                  <CR><LF>

                  Writing chunk 48 of size 1024 from offset 48128 <CR>

                  <CR><LF>

                  Writing chunk 49 of size 1024 from offset 49152 <CR>

                  <CR><LF>

                  Writing chunk 50 of size 1024 from offset 50176 <CR>

                  <CR><LF>

                  Writing chunk 51 of size 1024 from offset 51200 <CR>

                  <CR><LF>

                  Writing chunk 52 of size 1024 from offset 52224 <CR>

                  <CR><LF>

                  Writing chunk 53 of size 1024 from offset 53248 <CR>

                  <CR><LF>

                  Writing chunk 54 of size 1024 from offset 54272 <CR>

                  <CR><LF>

                  Writing chunk 55 of size 1024 from offset 55296 <CR>

                  <CR><LF>

                  Writing chunk 56 of size 1024 from offset 56320 <CR>

                  <CR><LF>

                  Writing chunk 57 of size 1024 from offset 57344 <CR>

                  <CR><LF>

                  Writing chunk 58 of size 1024 from offset 58368 <CR>

                  <CR><LF>

                  Writing chunk 59 of size 1024 from offset 59392 <CR>

                  <CR><LF>

                  Writing chunk 60 of size 1024 from offset 60416 <CR>

                  <CR><LF>

                  Writing chunk 61 of size 1024 from offset 61440 <CR>

                  <CR><LF>

                  Writing chunk 62 of size 1024 from offset 62464 <CR>

                  <CR><LF>

                  Writing chunk 63 of size 1024 from offset 63488 <CR>

                  <CR><LF>

                  Writing chunk 64 of size 1024 from offset 64512 <CR>

                  <CR><LF>

                  Writing chunk 65 of size 1024 from offset 65536 <CR>

                  <CR><LF>

                  Writing chunk 66 of size 1024 from offset 66560 <CR>

                  <CR><LF>

                  Writing chunk 67 of size 1024 from offset 67584 <CR>

                  <CR><LF>

                  Writing chunk 68 of size 1024 from offset 68608 <CR>

                  <CR><LF>

                  Writing chunk 69 of size 1024 from offset 69632 <CR>

                  <CR><LF>

                  Writing chunk 70 of size 1024 from offset 70656 <CR>

                  <CR><LF>

                  Writing chunk 71 of size 1024 from offset 71680 <CR>

                  <CR><LF>

                  Writing chunk 72 of size 1024 from offset 72704 <CR>

                  <CR><LF>

                  Writing chunk 73 of size 1024 from offset 73728 <CR>

                  <CR><LF>

                  Writing chunk 74 of size 1024 from offset 74752 <CR>

                  <CR><LF>

                  Writing chunk 75 of size 1024 from offset 75776 <CR>

                  <CR><LF>

                  Writing chunk 76 of size 1024 from offset 76800 <CR>

                  <CR><LF>

                  Writing chunk 77 of size 1024 from offset 77824 <CR>

                  <CR><LF>

                  Writing chunk 78 of size 1024 from offset 78848 <CR>

                  <CR><LF>

                  Writing chunk 79 of size 1024 from offset 79872 <CR>

                  <CR><LF>

                  Writing chunk 80 of size 1024 from offset 80896 <CR>

                  <CR><LF>

                  Writing chunk 81 of size 1024 from offset 81920 <CR>

                  <CR><LF>

                  Writing chunk 82 of size 1024 from offset 82944 <CR>

                  <CR><LF>

                  Writing chunk 83 of size 1024 from offset 83968 <CR>

                  <CR><LF>

                  Writing chunk 84 of size 1024 from offset 84992 <CR>

                  <CR><LF>

                  Writing chunk 85 of size 1024 from offset 86016 <CR>

                  <CR><LF>

                  Writing chunk 86 of size 1024 from offset 87040 <CR>

                  <CR><LF>

                  Writing chunk 87 of size 1024 from offset 88064 <CR>

                  <CR><LF>

                  Writing chunk 88 of size 1024 from offset 89088 <CR>

                  <CR><LF>

                  Writing chunk 89 of size 1024 from offset 90112 <CR>

                  <CR><LF>

                  Writing chunk 90 of size 1024 from offset 91136 <CR>

                  <CR><LF>

                  Writing chunk 91 of size 1024 from offset 92160 <CR>

                  <CR><LF>

                  Writing chunk 92 of size 1024 from offset 93184 <CR>

                  <CR><LF>

                  Writing chunk 93 of size 1024 from offset 94208 <CR>

                  <CR><LF>

                  Writing chunk 94 of size 1024 from offset 95232 <CR>

                  <CR><LF>

                  Writing chunk 95 of size 1024 from offset 96256 <CR>

                  <CR><LF>

                  Writing chunk 96 of size 1024 from offset 97280 <CR>

                  <CR><LF>

                  Writing chunk 97 of size 1024 from offset 98304 <CR>

                  <CR><LF>

                  Writing chunk 98 of size 1024 from offset 99328 <CR>

                  <CR><LF>

                  Writing chunk 99 of size 1024 from offset 100352 <CR>

                  <CR><LF>

                  Writing chunk 100 of size 1024 from offset 101376 <CR>

                  <CR><LF>

                  Writing chunk 101 of size 1024 from offset 102400 <CR>

                  <CR><LF>

                  Writing chunk 102 of size 1024 from offset 103424 <CR>

                  <CR><LF>

                  Writing chunk 103 of size 1024 from offset 104448 <CR>

                  <CR><LF>

                  Writing chunk 104 of size 1024 from offset 105472 <CR>

                  <CR><LF>

                  Writing chunk 105 of size 1024 from offset 106496 <CR>

                  <CR><LF>

                  Writing chunk 106 of size 1024 from offset 107520 <CR>

                  <CR><LF>

                  Writing chunk 107 of size 1024 from offset 108544 <CR>

                  <CR><LF>

                  Writing chunk 108 of size 1024 from offset 109568 <CR>

                  <CR><LF>

                  Writing chunk 109 of size 1024 from offset 110592 <CR>

                  <CR><LF>

                  Writing chunk 110 of size 1024 from offset 111616 <CR>

                  <CR><LF>

                  Writing chunk 111 of size 1024 from offset 112640 <CR>

                  <CR><LF>

                  Writing chunk 112 of size 1024 from offset 113664 <CR>

                  <CR><LF>

                  Writing chunk 113 of size 1024 from offset 114688 <CR>

                  <CR><LF>

                  Writing chunk 114 of size 1024 from offset 115712 <CR>

                  <CR><LF>

                  • 6. Re: SDK 6.2.1 OTA is Brooken
                    akramjaveed_2970116

                    I was not able to exactly figure out why this happened. But after some try i was able to complete the OTA successfully

                    • 7. Re: SDK 6.2.1 OTA is Brooken
                      jone_yi_1844281

                      I think you run out your external SPI flash space!