SWRA760A April   2023  – April 2024 AWR2544 , AWR2944

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Definitions, Abbreviations, Acronyms
  5. 2Introduction
  6. 3Basic Bootloader Flow
    1. 3.1 Boot Flow Introduction
    2. 3.2 Preparing the Application for Boot
      1. 3.2.1 SBL Image Format
      2. 3.2.2 Signing Scripts
    3. 3.3 ROM Boot
      1. 3.3.1 Boot mode - SFLASH
        1. 3.3.1.1 Image Load Sequence
        2. 3.3.1.2 Boot Mode UART
          1. 3.3.1.2.1 Image Download Sequence
    4. 3.4 SBL Boot
      1. 3.4.1 R5 SBL Flash Offset
      2. 3.4.2 R5 SBL Image Size
  7. 4Conclusion
  8. 5Revision History

Image Load Sequence

In functional mode, the bootloading of an image from the SDF is the first bootmode attempted by the bootloader. This bootmode involves the following steps:

  1. Pinmux the QSPI pins of the AWR294x device:
    • QSPI[0]: Ball U11
    • QSPI[1]: Ball V11
    • QSPI[2]: Ball T11
    • QSPI_CLK: Ball R10
    • QSPI_CS: Ball U12
  2. QSPI is set up to operate at (system clock / 5) = (200/5) = 40 MHz.
  3. The sFLASH discoverable parameters (SFDP) command is issued to retrieve the JEDEC compliant response, which includes information regarding the sFLASH capabilities and command set. When the SFDP response is received, the information is used to communicate with the SDF and further interpret the contents and load the images. For more information on the flash variants supported with AWR294x/AWR2544 devices please refer to the application note.
GUID-27BAE7A4-3FF9-435E-B84A-D1912A3C0BA6-low.png Figure 3-5 Loading of SBL and App Meta Image from SFLASH
Note: Please note that the CAN interface is not applicable for AWR2544 device.

Key points

  • The RBL performs the read from the SDF, based on the highest capability mode (quad, dual, or single) as published by the SDF in response to the SFDP command.
  • For SDF variants that support quad mode, the quad mode commands are issued; if the quad enable (QE) bit is not set, the communication fails. In such cases, the load flow assumes that the QE bit in the SDF is already set.
  • SBL is user implemented entity which has logic to achieve above mentioned flow. SBL can use any interface out of UART, CANFD or Ethernet if required.
  • Fallback images: the RBL supports loading of images from the following locations only as a fallback Mechanism, if one of the images is corrupted in the SDF. The locations of the images are:
    • – META IMG1(SDF offset – 0x0)
    • – META IMG2(SDF offset – 0x40000)