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.

Problems with passing SD-Card and Ethernet tests on OMAP-L137EVM

Dear E2E Community!

My company bought new OMAP L137 EVM. I'm trying to test this board with EVMOMAPL137 Test Codes ( http://support.spectrumdigital.com/boards/evmomapl137/revg/files/revg_EVMOMAPL137_BSL.zip ). For test I use programs from the Folder "evmomapl137_v1" (I cann't compile programs from another folder, "evmc6747_v1").  Mostly , these tests are completed sucessfully. Exceptions are tests for SD-Card ("sd") and Ethernet ("emac_loopback").

1) Test for  SD-Card: after launching STD-out window of CCS displays: "01  Testing SD Card..." I waited more than one hour... Nothing changes... I tryed to pass the test with three different SD-Cards... nothing. (All SD-Cards have Windows-file system). When a SD-Card isn't inserted to the Media Card Connector of EVM, the test program returns the error message. Consequently, EVM sees SD Card, but can't pass the test.

2) The test for Ethernet. Every time it ends with the error message. Part with initialisation ( emac_init( ) ) completes succesfully. Errors appear while execution of test_packet() function. (in the end of this function, while execution of verify_packet() function) Ethernet Cable is connected  properly. I tryed to connect it to PC (with Windows XP) and from the first to second Ethernet connectors of EVM. In the case of connection to PC, PC sees Local Ethernet Network after connection of the Cable.

I will be very pleased for Any Help and Advices. Thanks in advance! Vitalii

PS: For compilation I use Code Composer Studio Code Composer Studio Ver. 3.3.81.11 (From CD ROM of the purchased EVM).

  • Vitalii,

    EMAC tests to send data to external loopback cable.
    This requires an external loopback cable as per the description.
    That is not connecting it with PC, but looping back externally.
    It loopback the Rx to Tx and Tx to Rx.
    For SD test someone can help you.

  • Dear Pubesh!

    Thank You for the help with the Ethernet-test! This test is passed successfully!

    (After crossing (shorting) next conductors of the Ethernet-Cable: 1-3; 2-6; 4-7; 5-8 )

    Many thanks, Vitalii

  • Vitalii,

    Thanks for your effort to verified the EMAC test.
    The "evmc6747_v1" folder have example projects like evmomapl137_v1.
    I hope this example projects also should compile through CCS without error.
    Kindly make sure the project settings and environment path.
    Please mention the compile error, if not able to solve by yourself.

    I think so SD card test also will Pass, please use step by step debug through CCS to identify where it is going wrong.
    And also add some printf for debug the reason or error.

  • Dear Pubesh!

    OK! I will try! During my previous efforts the SD-Card-Test-Program was compiled without errorrs. But the program freezed up during the execution. The STD-Out-Window of CCS displays the message: "01  Testing SD Card..."

    Vitalii

  • The problem with SD-Card test is still alive!

    I have loaded example project (sd0.prj) from the ...\evmc6747_v1\sd folder. CCS is connected (Build-> Connect) to the EVM. The project is compiled and loaded without any errors. There are three warnings: 1) "mmcsd_evm.c", line 191: warning: variable "status" was set but never used; 2) "sd_test.c", line 33: warning: variable "current_state2" was declared but never referenced; 3)"sd_test.c", line 33: warning: variable "current_state3" was declared but never referenced.

    After "Run" the program freezes up. The SD-out window of CCS displays: "01  Testing SD-Card..." After Step-by-Step running of the program I can conclude: The program freezes after function MMCSD_initCard().

    I tryed to Lock/Unlock a SD-Card, ... nothing changes... When SD-Card isn't inserted in Connector P2 of EVM, The SD-out window of CCS displays: "01  Testing SD Card...   FAIL... error code 1... quitting"

    Regards, Vitalii