SPRACN3 September   2019 66AK2E05 , 66AK2H06 , 66AK2H12 , 66AK2H14 , 66AK2L06 , AM5K2E02 , AM5K2E04

 

  1.   Using ARM ROM Bootloader on Keystone II Devices
    1.     Trademarks
    2. Keystone2 Boot loader Overview
    3. Boot Examples Package Download
    4. Software Dependencies
    5. Supported Hardware
    6. Software Features
    7. Directory Structure
    8. Building the Examples
    9. Description of the Examples
      1. 8.1 Single Stage Boot Examples
      2. 8.2 Multi-Stage Boot Example
      3. 8.3 Boot Media-Specific Details
        1. 8.3.1 SPI Boot Example
        2. 8.3.2 I2C Boot Examples
        3. 8.3.3 NAND Examples
        4. 8.3.4 UART Boot Examples
        5. 8.3.5 Ethernet boot examples
        6. 8.3.6 K2E Ethernet Boot Errata Workaround
      4. 8.4 Flashing and Running Boot Examples
        1. 8.4.1 Dip Switch Settings
        2. 8.4.2 Running I2C EEPROM example
        3. 8.4.3 Running SPI NOR Example
        4. 8.4.4 Running NAND Example
        5. 8.4.5 Running UART Example
        6. 8.4.6 Running Ethernet Examples
    10. Boot Utilities
    11. 10 Frequently Asked Questions (FAQ)
    12. 11 References

Running UART Example

  • Location of boot image binaries:
    • examples/<k2 device>/uart/singleStage/bin/uartImage.dat
    • examples/<k2 device>/uart/multiStage/bin/uartStage1.dat
    • examples/<k2 device>/uart/multiStage/bin/uartStage2.dat
  • Running and verifying the UART boot:
    1. UART is a slave boot mode that requires the host to pass the blob boot image. Connect the serial terminal to the host. You can use hyperterminal or TeraTerm on the Windows to transfer the image from the host to the target. Configure the UART port to 115200 baud rate. After you power on, you will see the ping character "C" on the host terminal. On the hyperterminal or TeraTerm select "File" menu, select Transfer->Xmodem-Send and browse to the UART boot binaries.
    2. UART_ping.gifUART_XMODEM_transfer.gifFigure 4. Teraterm Serial Terminal Usage for XMODEM Transfer of UART Boot Image
    3. Set the EVM switches to UART boot as shown in Section 8.4.1.
    4. Power on the EVM. If you are running the single stage example when the boot image transfer completes successfully, the device puts out a UART message indicating the cores have woken up and are standing by. If you are running the multi-stage after the first stage boot, you will see the ping character "C" on the host serial terminal.
    5. Select the "File" menu and select Transfer->Xmodem-Send, then browse to the second stage UART boot binary. After the second stage boot completes, you should see the UART messages from the application to indicate boot is complete.
    6. The following messages will be displayed on the terminal window:

      Core 0 standing by.... Core 1 standing by.... Core 2 standing by.... Core 3 standing by....