1 2 Previous Next 25 Replies Latest reply on Jan 15, 2017 9:25 AM by mifo Branched to a new discussion.

    OTA support for BCM94343W?

    akolamb1

      Does BCM4343W have OTA Support?

       

      http://cloudconnectkits.org/sites/default/files/Tutorial%20Part2%20-%20App%20Development%20using%20WICED%20SDK%20%28v1.0…

       

      Slide#22 mentions OTA Support. But am seeing conflicting information. 

       

      Can you please provide some links with information on implementing OTA Updates.

      Thanks.

        • 1. Re: OTA support for BCM94343W?
          akolamb1

          Am using WICED SDK 3.5.2

          • 2. Re: OTA support for BCM94343W?
            mifo

            I believe that SDK 3.5.2 was the release where we were transitioning to OTA2 from the original form of OTA (changes to the DCT structure): Re: Issue with OTA on SDK 3.5.2 with BCM943362WCD4_EVB

             

            OTA on 3.1.2 is discussed here: WICED OTA Upgrade and Factory Reset (SDK 3.1.2 through WICED Studio 4.x) 

             

            OTA2 was introduced with SDK 3.7.0, but I believe that it still is only tested with the BCM43907 product.  More here: WICED OTA Upgrade and Factory Reset (SDK 3.1.2 through WICED Studio 4.x)

             

            The first link above offers a work around on SDK 3.5.2.  You may want to give that a try.

             

            In addition, we are working on putting together a matrix which shows which devices are supported under which SDK, so this should help as well.

            • 3. Re: OTA support for BCM94343W?
              axel.lin_1746341

              The fact is OTA for BCM94343W does not work on latest 3.7.x SDK.

              Multiple users reported this issue for 1 or 2 months.

              Note, I mean OTA not OTA2.

              Hope this will be fixed in next 3.7.x release.

              • 4. Re: OTA support for BCM94343W?
                mifo

                axel.lin_1746341

                 

                Per this thread and several of the others where you have commented on the same issue, I have managed to garnish some attention from the core developers on this issue.

                 

                I have been asked to collect all of the pertinent details for how to recreate the issue on one of the broad market platforms supported here on the community: BCM43362, BCM43364, BCM43340, BCM4343W.  Preferably, on one of our eval boards.

                 

                Since you have alot of experience with our SDK, would you be able to provide some guidance in the area of how to build, test, etc. on a specific platform to start (one of those above).  I will then push this back into the core team and try to get them to prioritize as if we figure out the workaround, it can help many others here on the community.

                 

                Thanks in advance for your help.

                • 5. Re: OTA support for BCM94343W?
                  axel.lin_1746341

                  Hi mifo,

                   

                  Thanks for steping in.

                  I test it on SPIL N08 which is a BCM94343W platform.

                  Regarding how to build/test, there is no special work. Just follow the ota_fr procedure.

                   

                  Actually, I had spent whole day to debug this issue but still no idea so far.

                  For your team, I think it's important to check if it's a regression or not.

                  If it's a regression, you should be able to find the bad commit quickly.

                  In the discussion on the other thread, it seems OTA only fails on platforms with internal flash.

                   

                  I thought BCM94343W is used by many users so it's really a surprise that the OTA does not work.

                  PS. xavier@candyhouse reported similar issue 4 months ago but cypress team does not provide the real fix so far.

                  • 6. Re: OTA support for BCM94343W?
                    axel.lin_1746341

                    axel.lin wrote:

                    PS. xavier@candyhouse reported similar issue 4 months ago but cypress team does not provide the real fix so far.

                    Hi mifo

                    What I want to say is:

                    It's really strange that an issue reported for many months but don't get proper fix.

                    There are many developers from different companies are open mind and share

                    some patches/fixes on the forum. It would be better if WICED team can actively

                    interact on the forum to review bug reports/patches, to discuss and send fix on the forum.

                    It's actually pretty common in software that people find issues *after* sdk release.

                    Send back the fix on the forum for testing is better than let people waiting for next release.

                    1 of 1 people found this helpful
                    • 7. Re: OTA support for BCM94343W?
                      mifo

                      Let's not stray off track; I'm aware of all of the other threads on the topic and have been actively trying to address them internally.

                       

                      We need to prove the theory which states that since SDK 3.6 (or was it 3.5.2?) was released, OTA (NOT OTA2) has not worked on any of our "standard" platforms.

                       

                      I then need to define a very straight forward OTA Scenerio using a common platform (i.e. one of our evaluation boards for the 4343W, 43362, 43364, 43340) that fails.  I see alot of threads on the topic, but most involve custom applications, memory partitioning, partner modules, etc.  I am essentially trying to reduce the initial analysis down to something basic that can be reproduced by the team in their lab,

                       

                      With the understanding that the standard OTA app (ota_fr) is copied to (and runs from) MCU RAM during an OTA upgrade, and that MCU RAM size itself imposes limitations on the image size, I need to define a test scenario where the process shown here: WICED OTA Upgrade and Factory Reset (SDK 3.1.2 through WICED Studio 4.x)

                      • 8. Re: OTA support for BCM94343W?
                        axel.lin_1746341

                        In below thread, rash already replied he can reproduce this issue on Nov, 1.

                        https://community.cypress.com/thread/7328

                        So I assume cypress team has no problem to reproduce it.

                        Since your team can reproduce, so you don't need to suspect custom applications,

                        memory partitioning, partner modules, etc.

                         

                        You don't need to ask the people to image size as you will get various different answers by different users.

                        Your team should be able no problem to simulate different image size and test it.

                        i.e. Your team should be no problem to figure out if image size is a problem or not.

                         

                        Regarding if it's a regression or not, it's your team's responsibility to figure out.

                        It's simple by just testing ota_fr on different SDK version.

                        I personally don't think the image size is a problem because my factory reset default image is very small.

                         

                        I might over react yesterday, my apologies.

                        My firmware application is almost feature ready, but I am still waiting for the BESL memory leak issue.

                        I finally convince my customer that there is an issue in TLS support now, it will be fixed soon by OTA.

                        But recently I found OTA also does not work!

                        This is really embarrassed and I'm afraid we cannot deliver the firmware without working OTA.

                        Hope you can understand my situation -- the blocking issue is now in the SDK.

                        1 of 1 people found this helpful
                        • 9. Re: OTA support for BCM94343W?
                          mifo

                          I will create a use case for the developers and include a detailed version of dialog noted in the discussion noted above.

                          • 10. Re: OTA support for BCM94343W?
                            akolamb1

                            WICED OTA2 Application Note PDF Documents says ...

                            "OTA2 is supported on BCM94390x and STM32F4xx platforms under ThreadX"

                             

                            ota2_example.mk file, supports the documentation.

                            VALID_PLATFORMS    := BCM943909WCD1_3* BCM943907WAE_1* BCM943907WAE2_1* BCM943907AEVAL2F* BCM943907AEVAL1F* BCM943907WCD1

                            INVALID_PLATFORMS := BCM943909WCD1_3_SDIO*

                             

                            Am i to assume now that OTA Support does not exists for BCM94343W. Any one knows otherwise or have gotten it to work? It does have STM32F4xx MCU.

                            • 11. Re: OTA support for BCM94343W?
                              axel.lin_1746341

                              akolamb1 wrote:

                               

                              Am i to assume now that OTA Support does not exists for BCM94343W. Any one knows otherwise or have gotten it to work? It does have STM32F4xx MCU.

                              OTA should still work.

                              • 12. Re: OTA support for BCM94343W?
                                axel.lin_1746341

                                akolamb1 wrote:

                                 

                                WICED OTA2 Application Note PDF Documents says ...

                                "OTA2 is supported on BCM94390x and STM32F4xx platforms under ThreadX"

                                 

                                I'm wondering if Cypress team has tested OTA2 on STM32F4xx platforms.

                                If yes, which platform file is the best choice for reference?

                                1 of 1 people found this helpful
                                • 13. Re: OTA support for BCM94343W?
                                  mifo

                                  I have escalated the OTA issue with developers (provided use case scenario that our internal L1 team validated as well) and was given a two week window before they would have a chance to look into it.

                                  • 14. Re: OTA support for BCM94343W?
                                    axel.lin_1746341

                                    My issue is already fixed by applied robjderr's change.

                                    1 2 Previous Next