2 Replies Latest reply on Feb 1, 2020 5:03 AM by HiIw_4620611

    When using OTA with external sflash, can DCT be placed in internal flash?

    HiIw_4620611

      Hello.

       

      My platform's component is MPU:STM32F412 with external sflash added.

       

      According to WICED-OTA.pdf 2.1 Internal + External FLASH.

      In OTA(not OTA2) external sflash can understand LUT, DCT and OTA_APP and APP_image to be arranged.

      Then is it possible to place DCT in the built-in flash?

       

      If possible, please tell me how to changing.

       

       

      According to WICED-WAF.pdf 2, the DCT used is described as internal flash side only.

      The result of "make snip.ota_fr-<platform_name> download download_apps" is that DCT looks like internal flash.

       

      And when analyze the source of WICED, it seems that EXTERNAL DUCT can be used to switch on making, but this definition alone will cause an error in make.

       

      メッセージ編集者: Hiroyuki Iwasaki I wanted to get some answers, so translated it into English. Thank you.

        • 1. Re: When using OTA with external sflash, can DCT be placed in internal flash?
          RuzheZ_36

          Iwasaki-san:

           

          WICED SDKの現在の設定では、内部Flashのみが使用されます。

          外部FLASHに、DCTを使用してOTA Applicationをテストしておりません。

          もし外部フラッシュを試したい場合は、makefileで、macro:EXTERNAL_DCTを有効にする必要があります。

          通常、OTA2にはEXTERNAL_DCTがあります。しかし、OTA2 documentにあるように、OTA2はSTM32F4xxのWICED SDKに実装されていません。

           

          The current settings in WICED SDK uses internal flash only.

          We have not tried to test the ota application with DCT located in external flash.

          If need to try external flash, needs to enable EXTERNAL_DCT micro in the makefile.

          Usually, OTA2 has EXTERNAL_DCT. But as the OTA2 Document says, OTA2 is not implemented in WICED SDK for STM32F4xx.

          • 2. Re: When using OTA with external sflash, can DCT be placed in internal flash?
            HiIw_4620611

            Thank you for answering.

            It seems that DCT_IMAGE of wiced-ota.pdf-2.1 is assigned to the external FS, so it is a mistake.

            It was good. Thank you!