NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Running PSP Components on OMAP-L138 LCDK EVM

From Texas Instruments Wiki
Jump to: navigation, search

Booting U-Boot[edit]

U-Boot is an open source boot loader and is responsible for booting the Linux kernel.

Connect a serial cable from the USB serial port on the EVM to the COM port on the host machine. Set up the serial terminal software as below

The board contains FD232 USB UART IC, which can be connected to a host PC via a standard mini-USB to USB cable, and it acts an external serial port. It is connected to the OMAP-L138/C6748 UART2 peripheral.

Windows and Linux drivers for the chip can be found on the FTDI Product Page.

Configure your serial terminal application (such as Tera Term or HyperTerminal) for 115200 baud, 8 data bits, 1 stop bit, no parity, choosing the COM port corresponding to the USB device:

AM18x OMAPL138 WinCE 6 0 BSP Quick Start Guide 01.png

In Windows, you can determine which COM port the USB serial port is using in Device Manager, as shown below:

USB-Serial.JPG


Note: Boot images may not have been pre-flashed on the EVM for all boot modes. In this case, follow the procedures in Flashing images to flash the required boot images.

Booting from NAND16 Flash[edit]

  • Set the SW2 switch on the DSK board as follows. (X indicates the setting is 'don't care')


Pin# 1 2 3 4
Position 0 1 1 1


Booting from MMC/SD[edit]

  • Set the SW2 switch on the DSK board as follows. (X indicates the setting is 'don't care')


Pin# 1 2 3 4
Position 0 0 0 1


Flashing images to NAND flash using Serial Flasher[edit]

Restoring U-Boot on a bricked LCDK[edit]

If the board does not boot, first check the dip switch SW1 settings to make sure the correct NAND boot mode is set as per the Boot from NAND. The LCDK should come with u-boot already flashed. If for some reason U-Boot does not come up, the u-boot flashed on NAND may get corrupted. You can easily restore the LCDK with the pre-built u-boot image  and serial flashing tool included with the LCDK Linux SDK. The prebuilt U-Boot image is u-boot-lcdk_ais.bin and is located under images/u-boot/omapl138-lcdk. The serial flashing tool is located under /host-tools/OMAP-L138_FlashAndBootUtils_2_40.tar.gz.

Follow the tool documentation to install the utility (MS-Windows or Linux host environment). More information can be found here.

To use the serial flasher, the LCDK SW1 settings needs to be in "Serial Boot Mode".

Pin# 1 2 3 4
Position 0 1 0 1


In this mode, the LCDK will boot via the USB serial port. To flash the u-boot image mentioned above using this utility, the command line like below can be used (change COM3 to the correct serial port number for your PC):

sfh_OMAP-L138 -targettype OMAPL138_LCDK -flashtype NAND -p COM3 -flash_noubl u-boot-lcdk_ais.bin
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Running PSP Components on OMAP-L138 LCDK EVM here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Running PSP Components on OMAP-L138 LCDK EVM here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Running PSP Components on OMAP-L138 LCDK EVM here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Running PSP Components on OMAP-L138 LCDK EVM here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Running PSP Components on OMAP-L138 LCDK EVM here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Running PSP Components on OMAP-L138 LCDK EVM here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Running PSP Components on OMAP-L138 LCDK EVM here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Running PSP Components on OMAP-L138 LCDK EVM here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Running PSP Components on OMAP-L138 LCDK EVM here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity