6.3.10. OMAP-L138/C6748 LCDK Hardware Setup

6.3.10.1. Overview

The OMAP-L138/C6748 low-cost development kit (LCDK) enables fast and easy software and hardware development of everyday applications that require real-time signal processing and control functional, including industrial control, medical diagnostics and communications.

6.3.10.1.1. Hardware

Information on the LCDK hardware, including DIP switches, LEDs, and user bottons, can be found in the LCDK User’s Guide at the following link.

OMAP-L138/C6748 Low-Cost Development Kit User’s Guide

6.3.10.1.2. Powering the LCDK

The board can be powered with 5V input through the J1 barrel connector.

6.3.10.1.3. UART Connection

Connect a mini-USB cable between UART port (J3) of the EVM and the host PC. Open a serial console (e.g. Tera Term) on the host PC and configure the serial port as follows.

  • Baud rate - 115200
  • Data length - 8 bit
  • Parity - None
  • Stop bits - 1
  • Flow control - None

6.3.10.2. Linux Quick Start Guide

The quick start guide for booting Linux on the Arm core can be found at the following link.

OMAP-L138 DSP+ARM9™ Development Kit (LCDK) Quick Start Guide

6.3.10.3. Connecting the LCDK to Code Composer Studio

The following section describes how to connect to the LCDK and load code via CCS for application development and debug.

6.3.10.3.1. Hardware Setup

  • Set the SW1 DIP switches to UART boot mode as shown in the `DIP Switches`_ section.
  • Connect an external emulator to the J6 header.
  • Power on the LCDK using the J1 barrel connector.

6.3.10.3.2. Software Setup

Note

CCS versions 9.0 and later are 64-bit applications. Due to this, 32-bit emulators like the Spectrum Digital XDS510USB emulator are not supported with CCS versions 9.0 and later.

  • Processor SDK RTOS for OMAP-L138/C6748 - Download

Note

Please check the Processor SDK Release Notes for the recommended CCS version.

6.3.10.3.3. Creating a Target Configuration File

  • In CCS, navigate to View -> Target Configurations.
  • In the Target Configurations window, right-click and select “New Target Configuration.”
  • For Connection, select your external emulator.
  • For Board or Device, select LCDKC6748 or LCDKOMAPL138 as shown in the following image, and click Save.
linux/How_to_Guides/Hardware_Setup_with_CCS/../images/lcdk_targetConfig.png

  • Navigate to the Advanced tab and ensure the GEL file is loaded for the ARM9_0 core (OMAP-L138) or C674X_0 core (C6748).

OMAP-L138 LCDK GEL File:

linux/How_to_Guides/Hardware_Setup_with_CCS/../images/lcdk_omapl138_gel.png

C6748 LCDK GEL File:

linux/How_to_Guides/Hardware_Setup_with_CCS/../images/lcdk_c6748_gel.png

6.3.10.3.4. Connecting to Target and Loading/Running Program

Connecting to Target

  • In CCS, navigate to the Target Configurations window.
  • Right-click on the newly created target configuration and select “Launch Selected Configuration.”
  • Right-click on the ARM9_0 core for OMAP-L138 or C674X_0 core for C6748, and click “Connect Target.”

The following GEL outputs should appear in the CCS Console view.

OMAP-L138 LCDK:

ARM9_0: Output:         Target Connected.
ARM9_0: Output:         ---------------------------------------------
ARM9_0: Output:         Memory Map Cleared.
ARM9_0: Output:         ---------------------------------------------
ARM9_0: Output:         Memory Map Setup Complete.
ARM9_0: Output:         ---------------------------------------------
ARM9_0: Output:         PSC Enable Complete.
ARM9_0: Output:         ---------------------------------------------
ARM9_0: Output:         PLL0 init done for Core:300MHz, EMIFA:25MHz
ARM9_0: Output:         DDR initialization is in progress....
ARM9_0: Output:         PLL1 init done for DDR:150MHz
ARM9_0: Output:         Using DDR2 settings
ARM9_0: Output:         DDR2 init for 150 MHz is done
ARM9_0: Output:         ---------------------------------------------
ARM9_0: Output:         DSP Wake Complete.
ARM9_0: Output:         ---------------------------------------------

C6748 LCDK:

C674X_0: Output:        Target Connected.
C674X_0: Output:        ---------------------------------------------
C674X_0: Output:        Memory Map Cleared.
C674X_0: Output:        ---------------------------------------------
C674X_0: Output:        Memory Map Setup Complete.
C674X_0: Output:        ---------------------------------------------
C674X_0: Output:        PSC Enable Complete.
C674X_0: Output:        ---------------------------------------------
C674X_0: Output:        PLL0 init done for Core:300MHz, EMIFA:25MHz
C674X_0: Output:        DDR initialization is in progress....
C674X_0: Output:        PLL1 init done for DDR:150MHz
C674X_0: Output:        Using DDR2 settings
C674X_0: Output:        DDR2 init for 150 MHz is done
C674X_0: Output:        ---------------------------------------------

Loading Program

  • Select the desired core (ARM9_0 or C674X_0).
  • Go to “Run -> Load -> Load Program.”
  • Click “Browse” to choose a prebuilt .out or click “Browse project..” to choose a .out from an open project.
  • Select the desired .out and click OK.

Running Program

  • Go to “Run -> Resume”