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.

CCS/TMDSEVM6657: Helloworld dhcp ping timeout

Part Number: TMDSEVM6657
Other Parts Discussed in Thread: SYSBIOS,

Tool/software: Code Composer Studio

Dear Sir/Madam

The helloworld built by CCSv8.5 has lots of ping timeout.

We have built  Helloworld  from different environments.

#1, Helloworld from mcsdk_2_01_01_04/../ndk with CCSV5.5 , these are in shipped DVD with EVM board, and mcsdk will not be supported by TI.

#2 Helloworld from Processor-SDK c665x_5_03_00_07 with CCSV8.3, Processor-SDK currently supported TI.

Result:

#1 run perfect on evm6657 loaded by emulator with evm6657l.gel.

#2 run with lots of ping timeout  loaded by emulator with evm6657l.gel.

We need to use Processor-SDK c665x_5_03_00_07, CCSv8 in our project this time and the Helloworld will be our reference code.

Is there anything else we should to make #2 Helloworld without ping timeout?

Thank you in advance

Min

  • Hi,

    For MCSDK in #1, the software package is obsolete, no support anymore.

    For PRSDK in #2, this is what our current software offering and you tried to make it working. It is surprise you have ping timeout, how long you ping it and what is the loss rate?

    Regards, Eric

  • Hi,

    Attached is my binary. It is built with CCS 8.3 for PRSDK 5.3 you mentioned, pdk_c665x_2_0_13\packages\MyExampleProjects\NIMU_emacExample_EVMC6657C66BiosExampleProject

    Build log:

    **** Clean-only build of configuration Debug for project NIMU_emacExample_EVMC6657C66BiosExampleProject ****

    "C:\\ti\\ccs_8_3_0\\ccsv8\\utils\\bin\\gmake" -k -j 8 clean -O

    DEL /F "NIMU_emacExample_EVMC6657C66BiosExampleProject.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "NIMU_emacExample_EVMC6657C66BiosExampleProject.out"
    DEL /F "helloWorld_c6657.obj" "nimu_osal_c6657.obj" "udpHello.obj"
    DEL /F "helloWorld_c6657.d" "nimu_osal_c6657.d" "udpHello.d"
    RMDIR /S/Q "configPkg\"
    Could Not Find C:\ti\pdk_c665x_2_0_13\packages\MyExampleProjects\NIMU_emacExample_EVMC6657C66BiosExampleProject\Debug\NIMU_emacExample_EVMC6657C66BiosExampleProject.hex
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project NIMU_emacExample_EVMC6657C66BiosExampleProject ****

    "C:\\ti\\ccs_8_3_0\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/c6657/c66/bios/helloWorld.cfg"
    Invoking: XDCtools
    "C:/ti/ccs_8_3_0/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/bios_6_75_02_00/packages;C:/ti/pdk_c665x_2_0_13/packages;C:/ti/edma3_lld_2_12_05_30D/packages;C:/ti/ipc_3_50_03_05/packages;C:/ti/ndk_3_40_01_01/packages;C:/ti/uia_2_30_01_02/packages;C:/ti/bios_6_75_02_00/packages/ti/posix/ccs;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6657 -r debug -c "C:/ti/ti-cgt-c6000_8.3.2" "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/c6657/c66/bios/helloWorld.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring helloWorld.xe66 from package/cfg/helloWorld_pe66.cfg ...
    generating custom ti.sysbios library makefile ...
    Linking with library ti.transport.ndk.nimu:./lib/c6657/c66/release/ti.transport.ndk.nimu.ae66
    Linking with library ti.drv.emac:./lib/c6657/c66/release/ti.drv.emac.ae66
    Linking with library ti.drv.qmss:./lib/c66/ti.drv.qmss.ae66
    Linking with library ti.osal:./lib/tirtos/c66/release/ti.osal.ae66
    Linking with library ti.csl:./lib/c6657/c66/release/ti.csl.ae66;./lib/c6657/c66/release/ti.csl.intc.ae66
    Starting build of library sources ...
    making C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/c6657/c66/bios/src/sysbios/sysbios.ae66 ...
    cle66 C:/ti/bios_6_75_02_00/packages/ti/sysbios/BIOS.c ...
    asme66 C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
    asme66 C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
    asme66 C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
    asme66 C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
    asme66 C:/ti/bios_6_75_02_00/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
    asme66 C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
    asme66 C:/ti/bios_6_75_02_00/packages/ti/sysbios/timers/timer64/Timer_asm.s64P ...
    are66 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj ti_tls_get_tp.obj c62_TaskSupport_asm.obj timer64_Timer_asm.obj ...
    Build of libraries done.
    cle66 package/cfg/helloWorld_pe66.c ...
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "C:/ti/ti-cgt-c6000_8.3.2/include/../include/signal.h", line 54: remark #195-D: zero used for undefined preprocessing identifier "__PRU__"
    "package/cfg/helloWorld_pe66.c", line 3285: warning: variable "rc" was declared but never referenced
    Finished building: "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/c6657/c66/bios/helloWorld.cfg"

    Building file: "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/udpHello.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6600 --include_path="C:/ti/pdk_c665x_2_0_13/packages/MyExampleProjects/NIMU_emacExample_EVMC6657C66BiosExampleProject" --include_path="C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu" --include_path="C:/ti/pdk_c665x_2_0_13/packages" --include_path="{NDK_INSTALL_DIR}/packages" --include_path="C:/ti/ti-cgt-c6000_8.3.2/include" --define=USE_BIOS --define=SOC_C6657 --define=C6657 -g --diag_suppress=1111 --diag_suppress=827 --diag_suppress=824 --diag_suppress=837 --diag_suppress=1037 --diag_suppress=195 --diag_suppress=77 --diag_suppress=232 --diag_warning=225 --diag_warning=994 --diag_warning=262 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="udpHello.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/udpHello.c"
    "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/udpHello.c", line 67: warning #169-D: argument of type "struct sockaddr_in *" is incompatible with parameter of type "struct sockaddr *"
    "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/udpHello.c", line 72: warning #169-D: argument of type "struct sockaddr_in *" is incompatible with parameter of type "struct sockaddr *"
    Finished building: "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/udpHello.c"

    Building file: "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/helloWorld_c6657.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6600 --include_path="C:/ti/pdk_c665x_2_0_13/packages/MyExampleProjects/NIMU_emacExample_EVMC6657C66BiosExampleProject" --include_path="C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu" --include_path="C:/ti/pdk_c665x_2_0_13/packages" --include_path="{NDK_INSTALL_DIR}/packages" --include_path="C:/ti/ti-cgt-c6000_8.3.2/include" --define=USE_BIOS --define=SOC_C6657 --define=C6657 -g --diag_suppress=1111 --diag_suppress=827 --diag_suppress=824 --diag_suppress=837 --diag_suppress=1037 --diag_suppress=195 --diag_suppress=77 --diag_suppress=232 --diag_warning=225 --diag_warning=994 --diag_warning=262 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="helloWorld_c6657.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/helloWorld_c6657.c"
    "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/helloWorld_c6657.c", line 195: warning #994-D: missing return statement at end of non-void function "main"
    "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/helloWorld_c6657.c", line 253: warning #225-D: function "bzero" declared implicitly
    "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/helloWorld_c6657.c", line 287: warning #225-D: function "bzero" declared implicitly
    "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/helloWorld_c6657.c", line 203: warning #179-D: variable "i" was declared but never referenced
    Finished building: "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/helloWorld_c6657.c"

    Building file: "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/nimu_osal_c6657.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6600 --include_path="C:/ti/pdk_c665x_2_0_13/packages/MyExampleProjects/NIMU_emacExample_EVMC6657C66BiosExampleProject" --include_path="C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu" --include_path="C:/ti/pdk_c665x_2_0_13/packages" --include_path="{NDK_INSTALL_DIR}/packages" --include_path="C:/ti/ti-cgt-c6000_8.3.2/include" --define=USE_BIOS --define=SOC_C6657 --define=C6657 -g --diag_suppress=1111 --diag_suppress=827 --diag_suppress=824 --diag_suppress=837 --diag_suppress=1037 --diag_suppress=195 --diag_suppress=77 --diag_suppress=232 --diag_warning=225 --diag_warning=994 --diag_warning=262 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="nimu_osal_c6657.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/nimu_osal_c6657.c"
    Finished building: "C:/ti/pdk_c665x_2_0_13/packages/ti/transport/ndk/nimu/example/helloWorld/src/nimu_osal_c6657.c"

    Building target: "NIMU_emacExample_EVMC6657C66BiosExampleProject.out"
    Invoking: C6000 Linker
    "C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6600 --define=USE_BIOS --define=SOC_C6657 --define=C6657 -g --diag_suppress=1111 --diag_suppress=827 --diag_suppress=824 --diag_suppress=837 --diag_suppress=1037 --diag_suppress=195 --diag_suppress=77 --diag_suppress=232 --diag_warning=225 --diag_warning=994 --diag_warning=262 --diag_wrap=off --display_error_number -z -m"NIMU_emacExample_EVMC6657C66BiosExampleProject.map" -i"C:/ti/ti-cgt-c6000_8.3.2/lib" -i"C:/ti/ti-cgt-c6000_8.3.2/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="NIMU_emacExample_EVMC6657C66BiosExampleProject_linkInfo.xml" --rom_model -o "NIMU_emacExample_EVMC6657C66BiosExampleProject.out" "./helloWorld_c6657.obj" "./nimu_osal_c6657.obj" "./udpHello.obj" -l"configPkg/linker.cmd" -llibc.a
    <Linking>
    Finished building target: "NIMU_emacExample_EVMC6657C66BiosExampleProject.out"

    C:/ti/pdk_c665x_2_0_13/packages/pdkAppImageCreate.bat C:/ti/pdk_c665x_2_0_13/packages C:/ti/ti-cgt-c6000_8.3.2 C:/ti/pdk_c665x_2_0_13/packages/MyExampleProjects/NIMU_emacExample_EVMC6657C66BiosExampleProject/Debug NIMU_emacExample_EVMC6657C66BiosExampleProject C6657 dsp

    **** Build Finished ****

    C6657 EVM gel initialization log:

    IcePick_D: Warning: A firmware update is recommended for the XDS200 debug probe. Click the "Update" button to update the firmware. Click the "Continue" button to continue without updating. (Emulation package 8.0.903.2)
    C66xx_0: GEL Output: Setup_Memory_Map...
    C66xx_0: GEL Output: Setup_Memory_Map... Done.
    C66xx_0: GEL Output:
    Connecting Target...
    C66xx_0: GEL Output: DSP core #0
    C66xx_0: GEL Output: C6657L GEL file Ver is 1.00800002
    C66xx_0: GEL Output: Global Default Setup...
    C66xx_0: GEL Output: Setup Cache...
    C66xx_0: GEL Output: L1P = 32K
    C66xx_0: GEL Output: L1D = 32K
    C66xx_0: GEL Output: L2 = ALL SRAM
    C66xx_0: GEL Output: Setup Cache... Done.
    C66xx_0: GEL Output: Main PLL (PLL1) Setup ...
    C66xx_0: GEL Output: PLL in Bypass ...
    C66xx_0: GEL Output: PLL1 Setup for DSP @ 1000.0 MHz.
    C66xx_0: GEL Output: SYSCLK2 = 333.333344 MHz, SYSCLK5 = 200.0 MHz.
    C66xx_0: GEL Output: SYSCLK8 = 15.625 MHz.
    C66xx_0: GEL Output: PLL1 Setup... Done.
    C66xx_0: GEL Output: Power on all PSC modules and DSP domains...
    C66xx_0: GEL Output: Power on all PSC modules and DSP domains... Done.
    C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup ...
    C66xx_0: GEL Output: DDR3 PLL Setup... Done.
    C66xx_0: GEL Output: DDR3 Init begin (1333 auto)
    C66xx_0: GEL Output: XMC Setup ... Done
    C66xx_0: GEL Output: IFRDY bit is SET: DDR3 Interface Ready
    C66xx_0: GEL Output:
    DDR3 initialization is complete.
    C66xx_0: GEL Output: DDR3 Init done
    C66xx_0: GEL Output: DDR3 memory test... Started
    C66xx_0: GEL Output: DDR3 memory test... Passed
    C66xx_0: GEL Output: PLL and DDR3 Initialization completed(0) ...
    C66xx_0: GEL Output: configSGMIISerdes Setup... Begin
    C66xx_0: GEL Output: SGMII SERDES has been configured.
    C66xx_0: GEL Output: Enabling EDC ...
    C66xx_0: GEL Output: L1P error detection logic is enabled.
    C66xx_0: GEL Output: L2 error detection/correction logic is enabled.
    C66xx_0: GEL Output: MSMC error detection/correction logic is enabled.
    C66xx_0: GEL Output: Enabling EDC ...Done
    C66xx_0: GEL Output: Global Default Setup... Done.
    C66xx_0: GEL Output: Invalidate All Cache...
    C66xx_0: GEL Output: Invalidate All Cache... Done.
    C66xx_0: GEL Output: GEL Reset...
    C66xx_0: GEL Output: GEL Reset... Done.
    C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.

    CCS CIO log:

    [C66xx_0]
    TCP/IP Stack 'Hello World!' Application

    Service Status: DHCPC : Enabled : : 000
    Service Status: DHCPC : Enabled : Running : 000
    Network Added: If-1:158.218.116.244
    Service Status: DHCPC : Enabled : Running : 017

    Ping test:

    c:\>ping 158.218.116.244 -t

    Pinging 158.218.116.244 with 32 bytes of data:
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=4ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=1ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=3ms TTL=253
    Reply from 158.218.116.244: bytes=32 time=2ms TTL=253

    Ping statistics for 158.218.116.244:
    Packets: Sent = 80, Received = 80, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 4ms, Average = 2ms
    Control-C
    ^C
    c:\>158.218.116.244

    In summary, I don't have any packet loss. Please try the attached binary if it works for you.

    Regards, Erichttps://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/3750.NIMU_5F00_emacExample_5F00_EVMC6657C66BiosExampleProject.out

  • Thank you Eric  for the prompt reply

    Loss rate around 10%, sometimes even no dhcp(built with dhcp needed) request sent out.

    in MCSDK HUA and helloworld work perfect after built; found hua and helloword in MCSDK call platform_init with phy=1, while helloworld in  PRSDK comments out EVM_init() and platform_init(), acctually GEL init phy with configSGMIISerdes() same as platform_init().

    Should we init SGMII again in helloworld?

    Best regards

    Min

  • Thank you Eric , I'll try this file

    Min

  • Hi,

    In MCSDK, platform_init() was called with phy=1, this is:

    if (p_flags->phy) {
    configSerdes();
    }

    This is:

    void configSerdes()
    {
    int i;
    /* Unlock the chip configuration registers to allow SGMII SERDES registers to
    * be written */
    CSL_BootCfgUnlockKicker();

    /* Configure the SERDES */
    /* Multiply to be 8 with Quarter Rate in the Rx registers */
    CSL_BootCfgSetSGMIIConfigPLL (0x00000051);

    platform_delaycycles(100);

    //31:25 Reserved 0000000
    //23:24 LOOPBACK 00
    // 22 ENOC 1
    //21:18 EQ 0001
    //17:15 CDR 001 -- first order threshold of 17
    //14:12 LOS 000 -- tie off
    //11:10 ALIGN 01 -- Comma Aligned
    //09:07 TERM 100 -- tie off (100)
    // 06 INVPAIR 0
    //05:04 RATE 01 -- tie off (10) //00 = Full Rate, 01 = Half Rate (*0.5), 10 = Quarter Rate (*0.25)
    //03:01 BUSWIDTH 000 -- tie off
    // 00 ENRX 1
    // 0000 0000 0100 0100 0000 0010 0001 0001 = 0x0044_0211 -- My estimated value
    // 0000 0000 0100 0100 0000 0100 0001 0001 = 0x0044_0411 -- New DV value
    // 0000 0000 0000 1000 0000 1000 0100 0001 = 0x0008_0841 -- Original DV value

    CSL_BootCfgSetSGMIIRxConfig (0, 0x00700621);

    //31:22 Reserved 0
    //21:20 LOOPBACK 00
    //19:18 RDTCT 00 -- tie off
    // 17 ENIDL 0 -- tie off
    // 16 MYSNC 1 -- tie off
    //15:12 DEMPHASIS ???? - 0001 Lets give some de-emphasis
    //11:08 SWING ????
    // 07 CM 1 -- tie off
    // 06 INVPAIR 0
    //05:04 RATE 01 -- tie off
    //03:01 BUSWIDTH 000 -- tie off
    // 00 ENTX 1
    // 0000 0000 0011 0001 ???? ???? 1001 0001 = 0x0031_1E91 -- My estimated value
    // 0000 0000 0000 0001 0000 1111 0001 0001 = 0x0001_0F11 -- New DV value
    // 0000 0000 0100 0000 0001 1110 0100 0001 = 0x0040_1e41 -- Original DV value
    CSL_BootCfgSetSGMIITxConfig (0, 0x000108A1);

    /* Poll the SGMII0 lock bit to confirm that the sgmii module has recognized
    that the SERDES PLL has locked */
    /*
    do
    {
    CSL_SGMII_getStatus(0, &sgmii_status);
    } while (sgmii_status.bIsLocked != 1);
    */
    for(i = 0; i < 10000; i++)
    {
    if (SGMII_SERDES_STS & 0x01)
    break;
    platform_delay(1000);
    }
    /* All done with configuration. Return Now. */
    return;
    }

    This is the same as GEL implementation:

    hotmenu configSGMIISerdes()
    {
    int i;

    GEL_TextOut( "configSGMIISerdes Setup... Begin\n" );


    /* Unlock Chip Level Registers */
    KICK0 = KICK0_UNLOCK;
    KICK1 = KICK1_UNLOCK;

    /* Multiply to be 8 with Quarter Rate in the Rx registers */
    SGMII_SERDES_CFGPLL = 0x00000051; /* EVM SGMII @250Mhz */

    /* Wait */
    Wait_Soft(100);

    SGMII_SERDES_CFGRX0 = 0x00700621;

    SGMII_SERDES_CFGTX0 = 0x000108A1;

    /* waitforclock() */
    for(i = 0; i < 10000; i++) {
    if (SGMII_SERDES_STS & 0x01)
    break;
    Wait_Soft(1000);
    }

    /* Lock Chip Level Registers */
    KICK0 = KICK_LOCK;
    KICK1 = KICK_LOCK;

    GEL_TextOut("SGMII SERDES has been configured.\n");

    }

    I don't think you need to do the SGMII initialization twice as MCSDK did (code + GEL). But you may use a dedicated connection between a PC and EVM with fixed IP (disable DHCP) and try ping to debug, please make sure no switch/router in between.

    Regards, Eric

  • Eric

    We tried several times of the out file from you, the performances were similar with ours

    Ping statistics for 10.22.255.203:
        Packets: Sent = 56, Received = 50, Lost = 6 (10% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 2001ms, Average = 40ms

    This is the best one

    Ping statistics for 10.22.255.203:
        Packets: Sent = 144, Received = 136, Lost = 8 (5% loss),
    Approximate round trip times in milli-seconds:

        Minimum = 0ms, Maximum = 126ms, Average = 1ms

    any possible our EVM board has issues ? but seems all examples from MCSDK are good

    Thanks

    Min

  • Eric

    We recently purchased 2 evaluation boards supplied by TI with the following contents:

    board TMDSEVM6657
    PCB REV:17-00132-02
    PCA REV:18-00132-02
    Prod-1260-1316; Prod-1260-2099


    SDK shipped with evaluation board on the DVD
    mcsdk_2_01_01_04
    CCSv5.2 (later we found v5.5 fit with this EVM )

    If we run the supplied code on these boards they run with no issues.

    The problem is this SDK supplied is no longer supported. I received a build yesterday from you that I loaded on both of our evaluation boards and if I perform a constant ping on these boards approximately > 5% of the PINGS result in no response. My question is were we shipped old boards that are not compatible with the latest TI SDKs?

    The newer SDK is
    CCSV8.3
    Processor-SDK c665x_5_03_00_07

    Thanks

    Min

  • Hi,

    The C6657 software is in maintenance without any development work for years. The PRSDK is not much different from MCSDK, it is just a repackage and bug fixes. The EVM was manufactured by eInfochip, when I looked at their website: https://www.einfochips.com/partnerships-and-alliances/device-partnerships/texas-instruments/tms320c6657-evm/, it is listed as:

    18-00132-01 17-00132-01

    without update since 2012. Your board is newer. My board used for testing is also PCB REV 17-00132-02, PCA REV 18-00132-02, Prod-1237-409, same as your PCB/A. There is no known software issue with the board. NDK/NIMU ping is a basic network test and expect to work reliably. Especially old MCSDK worked on your setup but PRSDK failed, this more like a software issue than hardware.

    Why your round trip ping delay is so big, are you able to test a direct connection?

    Regards, Eric   

  • Thank you Eric,

    Test with direct direct connection

    #this is from you, 3750.NIMU_emacExample_EVMC6657C66BiosExampleProject

    Ping statistics for 10.22.255.201:
        Packets: Sent = 414, Received = 384, Lost = 30 (7% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 3ms, Average = 0ms

    #this is from MCSDK HelloWorld

    Ping statistics for 10.22.255.201:
        Packets: Sent = 192, Received = 192, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 1ms, Average = 0ms

    Regards

    Min

  • Hi,

    Are you able to disable both L1D cache and L2 cache and do the same test with the direct connection using my binary? The simple way to do it is, in the GEL file cs_base\emulation\boards\evmc6657l\gel\evmc6657.gel:

    hotmenu Set_DSP_Cache( )

    {
    int l1p, l1d, l2;

    GEL_TextOut( "Setup Cache... \n");

    // Modify for the desired cache settings needed
    CACHE_L1PCFG = 4; // L1P on, MAX size
    CACHE_L1DCFG = 4; // L1D on, MAX size =====< change this to 0
    CACHE_L2CFG = 0; // L2 off, use as RAM

    After you connected to DSP core, use CCS memory browser to check 0x184_0000 and 0x184_0040 are BOTH zero, then load the binary and run, will you see the packet loss? I am not sure if any cache issue caused the problem.

    Regards, Eric

  • Hi,

    Any update?

    Regards, Eric

  • Thank you Eric

    I tried what you said but 0x184_0000 did not change to 0, and ping loss same as before > 10%

    Also our board based on C6654 core/ddr3 run on 850Mhz/1066Mh, Has the same issue from these two SDK,

    What should  we do to make PSDK's Helloworld could run on both EVM and our new board without ping loss?

    1,MCSDK: HelloWorkd, HUA  run new board are good

    TCP/IP Stack 'Hello World!' Application

    emac_init: core 0, port 0, total number of channels/MAC addresses: 1/1
    MAC addresses configured for channel 0:
    94-E3-6D-20-17-40
    SGMII reset successful........
    SGMII config successful........
    emac_open core 0 port 0 successfully
    Registration of the EMAC Successful, waiting for link up ..
    Service Status: DHCPC    : Enabled  :          : 000
    Service Status: DHCPC    : Enabled  : Running  : 000
    Network Added: If-1:10.22.255.203
    Service Status: DHCPC    : Enabled  : Running  : 017

    2,Processor-SDK: Helloworld

    [C66xx_0]
    TCP/IP Stack 'Hello World!' Application

    Service Status: DHCPC    : Enabled  :          : 000
    Service Status: DHCPC    : Enabled  : Running  : 000
    Service Status: DHCPC    : Enabled  : Fault    : 002

    Seesm the fault value from "netcfg.h" (ndk_3_40_01_01)

    #define CIS_SRV_STATUS_IPTERM   0x0002  /* Service terminated via IP synch */

    Regards

    Min

  • Hi,

    I tried what you said but 0x184_0000 did not change to 0, and ping loss same as before > 10% ===========> Maybe the SYSBIOS has its own cache setup. Can you: 1) load your application, it should halt at main() 2) use CCS memory browser to change 0x1840000 (L2CFG) = 0 and 0x1840040 (L1DCFG) = 0. 3) Run and  test ping again to see if any packet loss?

    Regards, Eric

  • Hi, Eric

    The EVM borad may has hardware issues.

    The Helloworld works well on our another  TMDSEVM6657 board recently purchased two days ago.

    Thank you for the supporting.

    Regards

    Min