1 Reply Latest reply on Feb 10, 2020 5:56 PM by ZhengbaoZ_96

    Firmware update using only internal flash

    BeTu_3769071

      Hi All,

       

      I'm trying to create a custom platform to support a board I'm working on, using the PSoC 6 WiFi-BT pioneer kit as a reference. One major difference with this board is the lack of external flash in order to conserve space. I was hoping someone could answer the following questions I have in order to make sure the board can support firmware update.

       

      1. My understanding from the documentation is that neither OTA or OTA2 will work with only internal flash, is that correct? The MCU has a 1MB internal flash for reference.

       

      2. Is the flash layout controlled strictly by the bootloader? If not, how do I control the flash layout? I figure I'd have to strip things down to just bootloader, main application, update region, and resources to make this work.

        • 1. Re: Firmware update using only internal flash
          ZhengbaoZ_96

          1. My understanding from the documentation is that neither OTA or OTA2 will work with only internal flash, is that correct? The MCU has a 1MB internal flash for reference.

          A: we have a document named Wiced_OTA.pdf in the SDK release,  it explains the external flash only mode, and  internal flash +external flash mode,    I think 1MB internal flash is not big enough for the OTA upgrade.  wifi firmware will occupy a big part of the flash .

           

           

          2. for the internal flash layout ,   need your help to check the directory :

          /WICED/platform/MCU/PSoC6/GCC/cy8c6x7/memory_with_bootloader.ld

          the file has the detailed addresses for the bootloader and app arrangement