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.

RTOS/TMDSLCDK138: UART Examples of PROCESSOR-SDK-RTOS-OMAPL138 don’t work

Part Number: TMDSLCDK138

Tool/software: TI-RTOS

Hello!
I got a problem with UART_BasicExample_lcdkOMAPL138_c674xExampleProject and others examples that uses UART.
I installed SDK and built example without errors using CCS 7.3.
Before run the example I’ve extracted sd-card from the LCDKOMAPL138 board, so I expect that u-boot powers up DSP-core and Linux doesn’t work and use any resources.
Then I connected Terminal to the board and after power up the first characters in the terminal is the u-boot output. Then I started example application using CCS and USB510L JTAG Emulator.
When application preform code  

  UART_puts("\nuart driver and utils example test cases :\nEnter 16 characters or press Esc \n",sizeof("uart driver and utils example test cases : please enter 16 characters or press Esc or carriage return\n"));

... I see unreadable symbols in terminal.

Then when application go through code line

UART_gets(buffPointer, INPUT_LENGTH);

... it blocks and it doesn’t unblocks even I type a lot of characters in terminal.

Can you explain me why it’s going wrong?

  • I've forwarded your query to the software experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Sergey,

    Can you please provide us what you are trying to achieve. If you are using RTOS examples, why are you booting uboot and then loading code.

    If you have a board in NAND flashed with uboot then, you need to change the SW1 settings to noboot/UART or emulation boot to prevent uboot from booting and to allow the GEL configuration to configure the chip.

    The boot switch setting is described here:
    processors.wiki.ti.com/.../C6748_Development_Kit_(LCDK)

    Connecting emulator with LCDK and CCS is described here:
    processors.wiki.ti.com/.../AM1808_EVM_board_using_CCS?

    GEL setup and Linux boot don`t go together so please keep them independent unless you want to do IPC development where you should use remoteproc to power up the DSP and then connect to DSP using CCS.

    Regards,
    Rahul
  • Hello!

    My goal is to develop application, that uses DSP-core only. And so I started with RTOS examples.

    Thank you for second link, i didn't read it before. Now i'm using emulator exactly like in documentation.

    And what i have in result.

    When I select DIP-switches to boot from SD-card and SD-card slot is empty in LCDK, the UART example app work without problems (all symbols are correct).

    So my problem is resolved. Thank you!

    But according the documentartion "LCDK doesn`t have support for emulation boot, so we recommend that Users set the SW1 to UART boot as described in the setting in the LCDK USer guide before connecting an emulator". In my experiment when i switch SW1 to UART boot, the UART example app don't work correctly (see the picture).

    I think it's becouse UART boot umode uses UART. Pehaps it's wrong recomendation becouse a lot of examples use UART.