SPRACR5A february   2020  – may 2023 AWR2243

 

  1.   Trademarks
  2. 1Introduction
  3. 2Basic Bootloader Flow
    1. 2.1 Bootmode – SFLASH
      1. 2.1.1 Image Load Sequence
      2. 2.1.2 ROM Assisted Image Download Sequence
    2. 2.2 Bootmode – SPI
  4. 3Programming Serial Data Flash Over UART (Bootloader Service)
    1. 3.1 File to Download
    2. 3.2 Flash Programming Sequence
    3. 3.3 Supported Commands and Format
    4. 3.4 Flashing Sequence
  5. 4Revision History

ROM Assisted Image Download Sequence

The ROM assisted image download sequence is entered by placing the device in flashing mode. Refer to section 3, for further details on the handshake with an external host to receive the image. The communication with the SDF is depicted in Figure 2-3.

GUID-0E1A637F-FD51-4B0C-B3CF-0735E74D60D5-low.gif Figure 2-3 ROM Assisted Image Download Sequence

Key Points:

  • The ROM assisted download should work with all flash variants that allow for “Memory mapped mode” and “Page program command (0x2)” with 1 dummy byte and 24bit addressing.
  • The setting of the “Quad Enable” bit varies from one SDF vendor to another. The ROM bootloader supports setting the “Quad Enable” bit for Spansion and Macronix variants (certain specific part variants only) in this flow.

In addition to a checksum based integrity check for every packet received over the UART, a CRC32-based integrity check is performed over the complete image. The CRC32 is computed incrementally as the packets are received and written to the SDF.