• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » OMAP-L138 LCDK
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • OMAP-L138 LCDK

    OMAP-L138 LCDK

    This question is answered
    Ilayaraja Mahalingam
    Posted by Ilayaraja Mahalingam
    on Jul 10 2012 00:28 AM
    Prodigy160 points

    Hai Raghul,

     I got the "Linux host shell" (Serial Terminal Window) to enter the commands started with "host $" , but where i can found the "U-Boot Shell" and "LCDK- Linux Shell" to enter commands starting with "EVM #" and "target $" respectively ?

    Thanks and Regards,

    Ilayaraja

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Aaron Clarke
      Posted by Aaron Clarke
      on Jul 10 2012 02:49 AM
      Intellectual315 points

      If you can enter linux commands like ls, pwd, you are in a linux shell.  If you want to see u-boot on the LCDK, you can remove the SD card and boot.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aaron Clarke
      Posted by Aaron Clarke
      on Jul 10 2012 03:05 AM
      Verified Answer
      Verified by Ilayaraja Mahalingam
      Intellectual315 points

      Do you have your host PC connected to J3 on the target LCDK?  

      What terminal program are you using?

      Instructions to connect to a windows host for teraterm or hyperterm are here

      http://processors.wiki.ti.com/index.php/LCDK_User_Guide#Debug

      If you are connected to a Linux host you can use minicom

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ilayaraja Mahalingam
      Posted by Ilayaraja Mahalingam
      on Jul 10 2012 05:19 AM
      Prodigy160 points

      Hi Aaron,

       Thank you for your answer. And i missed my LCDK "Quick Start Guide" booklet, so where can i find the new one? Whether we can search in net? Is there any link available for Quick Start Guide.

      Thanks Again. 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ilayaraja Mahalingam
      Posted by Ilayaraja Mahalingam
      on Jul 11 2012 04:09 AM
      Prodigy160 points

      I have connected my PC with the LCDK BOARD through USB connector to J3, and started the Minicom and i did the necessary settings(115200, 8N1 &  port name as ttyUSB0), but nothing displayed on the minicom window. What maybe the problem?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aaron Clarke
      Posted by Aaron Clarke
      on Jul 11 2012 07:07 AM
      Verified Answer
      Verified by Ilayaraja Mahalingam
      Intellectual315 points

      Are you sure it is ttyUSB0?  After you connect type dmesg in a linux host window and check to see if it shows up as ttyUSB0, ttyUSB1 etc.

      You can flash the NAND back to factory condition following instructions here

      http://processors.wiki.ti.com/index.php/OMAP-L138_LCDK_Linux_Software_Developer%27s_Guide#Restoring_U-Boot_on_a_bricked_LCDK

      If you remove the sdcard and reboot after you restore, you should at least see U-boot messages.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ilayaraja Mahalingam
      Posted by Ilayaraja Mahalingam
      on Jul 12 2012 09:33 AM
      Prodigy160 points

      I studied from the Linux_Software_Developers_Guide#Restoring_U-Boot_on_a_bricked_LCDK  page and i executed the command as given, below i showed you, what i have executed,

      ilay@ilay-G41M-Combo:~$ sudo /home/ilay/ti-sdk-omapl138-lcdk-01.00.00/host-tools/flash_utils/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU/sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p /dev/ttyUSB0 -flash_noubl u-boot-lcdk_ais.bin

      [sudo] password for ilay:
      -----------------------------------------------------
      TI Serial Flasher Host Program for OMAP-L138
      (C) 2012, Texas Instruments, Inc.
      Ver. 1.67
      -----------------------------------------------------


      [TYPE] Single boot image
      [BOOT IMAGE] u-boot-lcdk_ais.bin
      [TARGET] OMAPL138_LCDK
      [DEVICE] NAND
      [NAND Block] 1

      Attempting to connect to device /dev/ttyUSB0...
      Press any key to end this program at any time.

      (AIS Parse): Read magic word 0x41504954.
      (AIS Parse): Waiting for BOOTME... (power on or reset target now)

      |

      these are the lines i got when i executed that command. After this i power cycled my board once and checked, and restarted once and checked, but nothing is happening after this. But, when i press "Enter" button, its showing as "Aborting Program". I waited after this for more than 1 hour, but no respponse, i dont know, whether its flashing or not?.

      Thanks,

      Ilayaraja.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aaron Clarke
      Posted by Aaron Clarke
      on Jul 12 2012 10:13 AM
      Verified Answer
      Verified by Ilayaraja Mahalingam
      Intellectual315 points

      Make sure the output of dmesg in linux shows that /dev/ttyUSB0 is connected.  It might be called something else like /dev/ttyUSB1 for example.

      Also make sure you set the switches correctly for UART2 (J3) booting the LCDK 

      http://processors.wiki.ti.com/index.php/LCDK_User_Guide#Switches_.28SW1.29

      After checking all that, remove the power connector and connect again when it says Waiting for BOOTME...

      It should only take a few seconds.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ilayaraja Mahalingam
      Posted by Ilayaraja Mahalingam
      on Jul 16 2012 04:32 AM
      Prodigy160 points

      Hi Aaron,

      I checked the USB connection, (it is ttyUSB0 connected to UART J3 on the board) and settings as (115200 8N1), SW1 switch no.2 as ON(for UART booting mode) and i executed this command(sudo /home/ilay/ti-sdk-omapl138-lcdk-01.00.00/host-tools/flash_utils/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU/sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p /dev/ttyUSB0 -flash_noubl u-boot-lcdk_ais.bin), it is showing as,

      -----------------------------------------------------
      TI Serial Flasher Host Program for OMAP-L138
      (C) 2012, Texas Instruments, Inc.
      Ver. 1.67
      -----------------------------------------------------


      [TYPE] Single boot image
      [BOOT IMAGE] u-boot-lcdk_ais.bin
      [TARGET] OMAPL138_LCDK
      [DEVICE] NAND
      [NAND Block] 1

      Attempting to connect to device /dev/ttyUSB0...
      Press any key to end this program at any time.

      (AIS Parse): Read magic word 0x41504954.
      (AIS Parse): Waiting for BOOTME... (power on or reset target now)

      |

      and after this i power cycled the board, but now also its taking much time but no result.  

      And the another thing is, i am calling the "MINICOM Window" as, 

      sudo minicom ttyUSB0

      it is displaying as,

      Welcome to minicom 2.5

      OPTIONS: I18n
      Compiled on May 2 2011, 00:39:27.
      Port /dev/ttyUSB0

      Press CTRL-A Z for help on special keys

      i am getting these lines, but after this no information about U-boot or Linux running on the LCDK. What i have to do?.


      Thanks,

      Ilayaraja.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aaron Clarke
      Posted by Aaron Clarke
      on Jul 16 2012 07:15 AM
      Verified Answer
      Verified by Ilayaraja Mahalingam
      Intellectual315 points

      What are your switch settings on SW1?

      Also, are you sure you don't have another device connected at ttyUSB0?  Are any other serial ports active?

      One way to check is to use this command before you connect the serial port

      $ tail -f /var/log/messages

      You should see a bunch of activity and one line like this:

      Jul 16 05:02:48 ubuntu kernel: [ 126.733797] usb 2-2.1: FTDI USB Serial Device converter now attached to ttyUSB0

      LCDK
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ilayaraja Mahalingam
      Posted by Ilayaraja Mahalingam
      on Jul 18 2012 06:10 AM
      Prodigy160 points

      Hi Aaron,

       My SW1 switch setting was(switch no.2 is ON and remaining switches 1,3,4,5,6,7,8 are OFF). And my serial port is ttyUSB0 only, no other devices are connected. Then, i think the bootloader in the LCDK is corrupted, thats why the U-boot messages are not shown in the minicom window. Now, i am trying to reboot the NAND by using the command,

      root@ilay-G41M-Combo:/home/ilay# mono /home/ilay/ti-sdk-omapl138-lcdk-01.00.00/host-tools/flash_utils/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU/sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p /dev/ttyUSB0 -flash_noubl u-boot-lcdk_ais.bin

      it is displaying as,

      -----------------------------------------------------
      TI Serial Flasher Host Program for OMAP-L138
      (C) 2012, Texas Instruments, Inc.
      Ver. 1.67
      -----------------------------------------------------


      [TYPE] Single boot image
      [BOOT IMAGE] u-boot-lcdk_ais.bin
      [TARGET] OMAPL138_LCDK
      [DEVICE] NAND
      [NAND Block] 1

      Attempting to connect to device /dev/ttyUSB0...
      Press any key to end this program at any time.

      (AIS Parse): Read magic word 0x41504954.
      (AIS Parse): Waiting for BOOTME... (power on or reset target now)

      |

      After this i pressed the restart button, and also i switched OFF and switched ON the board, but there is no change, it still remains in that line, i don't know whether the process (flashing the NAND)  is taking place or not ???... 

      Thanks,

      Ilayaraja.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aaron Clarke
      Posted by Aaron Clarke
      on Jul 18 2012 06:20 AM
      Intellectual315 points

      Switches 1,2,3 and 4 on SW1 set the boot method, you need to have both 2 and 4 on for uart2.

      http://processors.wiki.ti.com/index.php/L138/C6748_Development_Kit_(LCDK)#Features

      boot LCDK
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ilayaraja Mahalingam
      Posted by Ilayaraja Mahalingam
      on Jul 18 2012 06:41 AM
      Prodigy160 points

      Hi Aaron,

      Thanks for your answer. i made the switches 2 &4 of SW1 as ON, and i executed the command, now it is showing as,

      -----------------------------------------------------
      TI Serial Flasher Host Program for OMAP-L138
      (C) 2012, Texas Instruments, Inc.
      Ver. 1.67
      -----------------------------------------------------


      [TYPE] Single boot image
      [BOOT IMAGE] u-boot-lcdk_ais.bin
      [TARGET] OMAPL138_LCDK
      [DEVICE] NAND
      [NAND Block] 1

      Attempting to connect to device /dev/ttyUSB0...
      Press any key to end this program at any time.

      (AIS Parse): Read magic word 0x41504954.
      (AIS Parse): Waiting for BOOTME... (power on or reset target now)
      (AIS Parse): BOOTME received!
      (AIS Parse): Performing Start-Word Sync...
      (AIS Parse): Performing Ping Opcode Sync...
      (AIS Parse): Processing command 0: 0x58535901.
      (AIS Parse): Performing Opcode Sync...
      (AIS Parse): Loading section...
      (AIS Parse): Loaded 14372-Byte section to address 0x80000000.
      (AIS Parse): Processing command 1: 0x58535901.
      (AIS Parse): Performing Opcode Sync...
      (AIS Parse): Loading section...
      (AIS Parse): Loaded 1324-Byte section to address 0x80003824.
      (AIS Parse): Processing command 2: 0x58535906.
      (AIS Parse): Performing Opcode Sync...
      (AIS Parse): Performing jump and close...
      (AIS Parse): AIS complete. Jump to address 0x80000000.
      (AIS Parse): Waiting for DONE...
      (AIS Parse): Boot completed successfully.

      Waiting for SFT on the OMAP-L138...
      File u-boot-lcdk_ais.bin is not present.


      Interfacing to the OMAP-L138 via UART failed.
      Please reset or power-cycle the board and try again...

      What i have todo?.

       Thanks Again,

      Ilayaraja.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Aaron Clarke
      Posted by Aaron Clarke
      on Jul 18 2012 07:05 AM
      Verified Answer
      Verified by Ilayaraja Mahalingam
      Intellectual315 points

      The path for the file u-boot-lcdk_ais.bin is not correct.  You can copy it to the current directory or use the full path.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ilayaraja Mahalingam
      Posted by Ilayaraja Mahalingam
      on Jul 19 2012 01:18 AM
      Prodigy160 points

      Hi Aaron,

      Thanks. I entered the full path and then i executed it, now it is working properly. And also i booted Linux Kernel from SD Card also, it is also working properly. But the Ethernet Port i connected from my PC to the LCDK board is not showing up any ethernet connections, connection is not established between my PC and the Board, but when i connect the ethernet cable to my PC it is displaying as,

      root@omapl138-lcdk:~# PHY: 0:07 - Link is Up - 100/Full

      But in my PC, connection is not shown up.

      Then, how can i find the IP Address of the LCDK Board? I used the command,

      root@omapl138-lcdk:~# ifconfig

      the following lines are displayed, in that i don't know what is the IP Address of the Board,

      root@omapl138-lcdk:~# ifconfig
      eth0 Link encap:Ethernet HWaddr 9E:A9:0C:45:66:CE
      inet6 addr: fe80::9ca9:cff:fe45:66ce/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:85 errors:0 dropped:0 overruns:0 frame:0
      TX packets:258 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:13842 (13.5 KiB) TX bytes:149148 (145.6 KiB)
      Interrupt:33

      lo Link encap:Local Loopback
      inet addr:127.0.0.1 Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING MTU:16436 Metric:1
      RX packets:12 errors:0 dropped:0 overruns:0 frame:0
      TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:872 (872.0 B) TX bytes:872 (872.0 B)


      Now, what i want to do is, i have to find the IP Address of the Board, then i need to copy the "Hello World" program to LCDK by using that IP address

      host $ scp hello root@<LCDK IP address>:/home/root/

       and i want to see the output from the LCDK Board.

      Thanks,

      Ilayaraja.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Victor Mayoral
      Posted by Victor Mayoral
      on Nov 04 2012 04:33 AM
      Intellectual490 points

      Dear Ilayaraja,

      I'm having the same problems setting up connection between the host and the LCDK. The lights of the ethernet connector are working properly so i guess that it's not a solder problem (http://e2e.ti.com/support/embedded/linux/f/354/t/198486.aspx).

      Any tips?

      Thanks in advance,

      Víctor. 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    12
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use