This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPL138 LCDKC6748 Starterware UART example issue

Other Parts Discussed in Thread: OMAPL138, SYSBIOS, OMAP-L138

Hello,

I am using OMAPL138 LCDK, with CCSv6.1.1. I have installed BIOS C6SDK 2.0. As per the getting started guide, I managed to check the Linux kernel boot from SD/MMC Card. My issues start as follows:

1. Boot mode switch is set to: 2-ON, 3-ON, 4-ON, all others are OFF

1. I tried to create a DSP based hello world application using CCS and tested it.

2. I wanted to test the RASTER example from Starterware, the project builds fine but does not show any output on the VGA  Display. I also tried other examples from Starterware UART, and  few related to USB, but could not verify the output.

3. From the rt-dsp.com  website, I came to know about reflashing the OMAPL138 LCDK with WINDSK8 for proper operation of the LCDK. So, i did that and retried the RASTER, FACEDETECTION AND VIDEO LOOPBACK  examples, everything worked without any issues.[ Boot mode switch is set to: 2-ON, 3-ON, 4-ON, 8-ON].

4. Now, I wanted to test UART-USB communication, so I imported the UART_ECHO example from starterware and tried executing it. I use hyperterminal to check the communication, and i get the following

Since, its an Echo example, I press the buttons on the keyboard, however I cannot see any characaters printed on the Terminal window. I tried to debug the code and found that the execution never enetrs the ISR, but waits infinitely at the while(1) loop. One thing to note is that RTC example from Starterware also uses UART to communicate with the Terminal to update the Time, this works fine, but examples such as HOST_MSC, USB_dev_Serial which utilises the UART module does not receive any data fro the terminal.

Any suggestions will matter a lot to me.

  • Hi Rohit,

    You say:
    I managed to check the Linux kernel boot from SD/MMC Card

    and then you continue referring to SYSBIOS examples & booting SYSBIOS RTOS from SD Card..
    Could you elaborate are you running Linux or Sysbios on your OMAP-L138 board?

    Best Regards,
    Yordan
  • Hello Yordan,

    What I mean to say is:- The SD card comes preloaded with Linux kernel , and the Flash(By default) is also programmed with Bootloader to boot linux OS from SD Card.

    THE FIRST STEPS:

    What I do is--

    1. Connect SD Card to the OMAPL138LCDK

    2. Power on the OMAPL138  LCDK.

    3. Connect a cable on J3(USB-UART) to the PC. I use Hyperterminal

    4. Finally Reset the board, the hyperterminal shows the boot messages. What I understand is that the Linux OS is loaded onto the ARM9 core and is running. I can even communicate with the OS using commands from the hyperterminal. 

    WHAT I EXACTLY WANT TO DO:- My current interest is not about developing applications on Linux but use only the DSP only part using CCSv6 and an Emulator XDS100V2.

    WHAT I HAVE DONE: - Since none of the examples from starterware were working with the board running the linux OS, I felt that I should REFLASH the OMAPL138LCDK with WINDSK8 as per the guide below:

    Now, I have my OMAPL138 LCDK with WINDSK8 kernel running on ARM9 !

  • Hi Rohit,

    WHAT I HAVE DONE: - Since none of the examples from starterware were working with the board running the linux OS, I felt that I should REFLASH the OMAPL138LCDK with WINDSK8 as per the guide below:

    Now, I have my OMAPL138 LCDK with WINDSK8 kernel running on ARM9 !

    No need to flash with WINDSK8, this is a third party software release, you should use the TI BIOSLINUX SDK. See these links:
    processors.wiki.ti.com/.../MCSDK_OMAPL138_User_Guide_Chapter_Tools
    www.ti.com/.../spruex3q.pdf

    Best Regards,
    Yordan