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.

C6657 client example via spi boot.

Hello.

I have  an EVM board with C6657 dsp. When i build a "Client" example and run it throw Debug mode - everything works fine. But when i save it to NOR memory (i use all required utilities to make proper boot image) and try to boot  via SPI - Ethernet does not work. Application boots from NOR, runs and prints:

TCP/IP Stack Example Client
Network Added: If-1:192.168.2.100
Service Status: Telnet   : Enabled  :          : 000
Service Status: HTTP     : Enabled  :          : 000

Services (ping, telnet, http) don't work. I tried different PLL values and other settings in *.map file, but it didn't help.

Can you help me?

Thanks and sorry for my english.

  • Dmitriy,

    I am not boot expert, but like to share some details here about the network example.
    The NDK based client example is working in the debug mode(Using CCS,Emulator) on your side. It is normal and expected only.
    When you try to boot from SPI, this application is also running, but not able to ping.

    In the case of debug mode, the gel will take care the initalization part of network interface. Please check those routines in the part of SPI boot for ethernet interface.
    Try to make sure the link is up or not. You know well the physical connectivity of RJ-45 and external switch/PC via the etherent cable and other basic test setup like switch settings for the EVM.
    Are you using EVM or custom board?
    Did you check POST test and source code?
    C:\ti\mcsdk_2_01_02_06\tools\post\src
    Please refer the "Program EVM user guide" at: C:\ti\mcsdk_2_01_02_06\tools\program_evm
    In addition that, check the SGMII is configured or not.
    These are helpful to find the issue on your side.

  • Hi.

    I use both: EVM and custom board.

    I tried POST tool with Global_Default_Setup_Silent() function, gotten from GEL file. Emac test passed fine.

    I compared CPU register's state after boot from NOR  and in Debug mode - i didn't find any important difference.

    I checked SGMII registers - everything looks fine. When i use DEBUG mode i see in statistic registers of EMAC what board is getting packets.

    But at NOR boot i didn't see that.

    I wrote bootloader for NOR flash, which makes some partitions on it. And when i save Client demo in partition and then boot from NOR and start that partition - it works fine.

    Can anyone help me???