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

Introduction

AWR2243 Device could be broadly split as two sub-systems:

  • Master Subsystem:
    • Bootloader – Responsible for the device initialization, boot time tests, APLL open loop calibration, loading of application images, downloading of images to SFLASH (device management mode, SOP5).
    • Functional firmware – Is responsible for the external host API communication, BSS API handshake, data path (LVDS/CSI2) control, safety and monitoring of the entire device.
  • Radar/Millimetre Wave Subsystem:
    • Is responsible for configuring RF/analog and digital front-end in real-time, as well as to periodically schedule calibration and functional safety monitoring. This enables the mm-Wave front-end to be self-contained and capable of adapting itself to handle temperature and ageing effects, and to enable significant ease-of-use from an external host perspective.
      GUID-54340B24-110D-4185-8C8B-1D4F5C853819-low.gif Figure 1-1 Simplified Representation of AWR2243 Device
  • Master subsystem is the first programmable block to get activated after AWR2243 device reset is de-asserted. AWR2243 device’s bootloader is hosted in master subsystem’s read only memory (ROM) and takes control immediately.
  • From this point onwards, the AWR2243 bootloader can operate in two modes: Flashing and Execution modes.
  • Bootloader looks for the state of Sense On Power (SOP) I/Os (SOP lines – driven externally for choosing the specific mode).
    Table 1-1 Sense On Power (SOP) Lines and Boot Modes
    SOP2 SOP1 SOP0 Bootloader mode & operation
    0 0 1 Functional Mode
    Primary deployment mode. After the patches are loaded (over SFLASH or SPI), the functional firmware executes and the device is controlled by commands over SPI. The ADC data is available on the high speed interface of choice (LVDS/CSI2).
    1 0 1 Device Management Mode
    Flash programming mode. The images (patches) are downloaded onto the SFLASH using a flashing utility that transfers the images over the UART.
  • Device Management (Flashing) Mode of the bootloader allows an external entity to load the customer application image to SerialDataFlash (SDF).
    GUID-DC6AA13C-1071-494C-9C75-3785198DC06A-low.gif Figure 1-2 Flashing Mode of Bootloader
  • Execution (or Functional) Mode of the bootloader has two boot modes:
    • Boot Mode – SFLASH (Development Phase)

      If the presence of a Serial Flash is detected with a valid image, the bootloader relocates the image stored in SDF to R4F and Radar section memory subsystems. Towards the end of this process, bootloader would pass the control MSS Functional firmware.

      The SFLASH is present only in development versions of the silicon where the functional firmware (MSS and Radar section) does not execute from ROM, hence, it is a large image size.

      GUID-E8537A43-65AF-4419-A569-50B1AE1885D6-low.gif Figure 1-3 Execution Mode of Bootloader (image load from SFLASH)
    • Boot Mode – SPI (Deployment Phase)

      If the serial flash is not detected or a valid image is not detected in the serial flash, the bootloader loads the images (patches) to the respective memories of the MSS R4F and Radar section subsystems by receiving the data from an external host over SPI. Towards the end of this process, the bootloader would pass the control MSS Functional firmware.

      GUID-7B272FA8-0E00-46A2-8323-AC78DA85AEE3-low.gif Figure 1-4 Execution Mode of Bootloader (image load over SPI)