SPRACM8A June   2019  – January 2021 OMAP-L132 , OMAP-L132 , OMAP-L138 , OMAP-L138 , TMS320C6742 , TMS320C6742 , TMS320C6746 , TMS320C6746 , TMS320C6748 , TMS320C6748

 

  1.   Trademarks
  2. 1OMAP-L138 Boot Process
    1. 1.1 During Reset
    2. 1.2 After Reset
  3. 2Boot Utilities
    1. 2.1 AISgen
    2. 2.2 Serial Boot and Flash Loading Utility
      1. 2.2.1 Compiling
        1. 2.2.1.1 Under Windows
        2. 2.2.1.2 Under Linux
      2. 2.2.2 Running
        1. 2.2.2.1 Under Windows
        2. 2.2.2.2 Under Linux
      3. 2.2.3 Serial Flasher Options
    3. 2.3 Modifications for Custom Boards
    4. 2.4 Rebuilding and Customization of Boot Utilities
      1. 2.4.1 Download the Flash and Boot Utilities
      2. 2.4.2 Install and Configure the Required Software
        1. 2.4.2.1 Cygwin
        2. 2.4.2.2 Microsoft .NET Framework
      3. 2.4.3 Compiler Tools
        1. 2.4.3.1 Compiler Tools (CODESOURCERY G++ LITE)
        2. 2.4.3.2 C6X Compiler Tools
        3. 2.4.3.3 Newer CCS
      4. 2.4.4 Rebuilding the Serial Flash and Boot Utils Package for a Particular Platform
      5. 2.4.5 Rebuilding the HexAIS Utility for OMAPL13x
  4. 3Boot Examples
    1. 3.1 Booting Binaries
      1. 3.1.1 Description
      2. 3.1.2 Obtaining the Software
      3. 3.1.3 Running
    2. 3.2 Booting DSP Binaries on AM1808/OMAPL138
      1. 3.2.1 Description
      2. 3.2.2 Obtaining the Software
      3. 3.2.3 Running
        1. 3.2.3.1 OMAP-L138 EVM
        2. 3.2.3.2 C6748 EVM
  5. 4Debugging Bootloader
  6. 5OMAP-L138 Boot Benchmarks
    1. 5.1 Host Boot Performance
    2. 5.2 Test Details
      1. 5.2.1 Methodology
      2. 5.2.2 43
      3. 5.2.3 Software
      4. 5.2.4 Hardware
      5. 5.2.5 Discussion
  7. 6OMAP-L138 Bootloader FAQ
  8. 7References
  9.   A Setting c_int00 Using SYS/BIOS
  10.   Revision History

Debugging Bootloader

The OMAP-L1x Debug GEL file can be used to debug boot issues, determine ROM revisions, and display other information such as PLL settings. This GEL file was created to work with all OMAP-L13x, AM1x, and C674x devices.

The Debug GEL file comes bundled with the CCS installation and can be found at CCS_INSTALL_PATH\ccs_base\emulation\boards\evmomapl138\gel.

Directions for CCS:

  1. Connect to the processor, can be Arm or DSP of any OMAP-L1x, AM1x, or TMS320C674x device.
  2. Tools -> Gel Files.
  3. Right-click on the window and select "Load Gel".
  4. Go to Scripts -> Diagnostics -> Run All.
Note:

Make sure the MMU is disabled when you run the scripts in order to properly read the registers. You can disable the ’s MMU in CCS by going to Tools -> Advanced Features.

The GEL file will print out the following information:

  • ROM ID: Revision number of the boot ROM
  • Silicon revision number
  • Boot Mode: Current boot mode, as selected by the boot pins latched at reset
  • ROM Status Code: Current status of the ROM code
  • Description: Description of any error messages that the ROM may have encountered during boot
  • Program Counter: The current program counter of the connected device ( or DSP)
  • Device Information: Generic device information that may be helpful when getting support from TI
  • Clock information: PLLm_SYSCLKn is output
    Note:

    If your board uses an input clock other than 24 MHz you need to modify the definition at the start of the gel file accordingly.

  • PSC state information