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.

HUA Demo Benchmark Test

Hello,

I am using CCS 5.2 and MCDSK 2.09.21. I connect to the EVM C6670L using the xds100usb. When I run the benchmark test the TCP Transmit succeeds but in the TCP receive case in the web window it says "sending packets" and does nothing. I would appreciate it if anyone can help me out with this issue!

Best Regars,

Burak

  • Hello again,

    and also to mention I followed the steps on the following guide:

    http://processors.wiki.ti.com/index.php/MCSDK_HUA_Demonstration_Guide#Troubleshooting

    Best regards,

    Burak

  • Can you please post what is seen on the console window of the CCS when the executable starts and when this test runs.

  • Can you try to power cycle the EVM and run the gel ‘Global Default Setup’ before loading the executable. And then try the TCP receive benchmark test. I could run it on C6678 EVM. The output is produced on the CCS console.

  • Ok, so here are the console outputs. I loaded first the gel file, performed the global setup function. Afterwards I loaded the hua(whatever).out file on the core 0. And this is what I get:

    C66xx_0: GEL Output: Setup_Memory_Map...
    C66xx_0: GEL Output: Setup_Memory_Map... Done.
    C66xx_0: GEL Output: Global Default Setup...
    C66xx_0: GEL Output: C6670L GEL file Ver is 2.003
    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: PLL1 Setup for DSP @ 983.0 MHz.
    C66xx_0: GEL Output:            SYSCLK2 = 327.6667 MHz, SYSCLK5 = 196.6 MHz.
    C66xx_0: GEL Output:            SYSCLK8 = 15.35938 MHz.
    C66xx_0: GEL Output: PLL1 Setup... Done.
    C66xx_0: GEL Output: Power on all PSC modules and DSP domains...
    C66xx_0: GEL Output: Security Accelerator disabled!
    C66xx_0: GEL Output: Power on all PSC modules and DSP domains... Done.
    C66xx_0: GEL Output: PA PLL (PLL3) Setup ...
    C66xx_0: GEL Output: PA PLL Setup... Done.
    C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup ...
    C66xx_0: GEL Output: DDR3 PLL Setup... Done.
    C66xx_0: GEL Output: DDR begin (1333 auto)
    C66xx_0: 2: XMC setup complete.
    C66xx_0: GEL Output:
    DDR3 initialization is complete.
    C66xx_0: GEL Output: DDR done
    C66xx_0: GEL Output: DDR3 memory test... Started
    C66xx_0: GEL Output: DDR3 memory test... Failed
    C66xx_0: GEL Output: Main PLL (PLL1) Setup ...
    C66xx_0: GEL Output: PLL1 Setup for DSP @ 983.0 MHz.
    C66xx_0: GEL Output:            SYSCLK2 = 327.6667 MHz, SYSCLK5 = 196.6 MHz.
    C66xx_0: GEL Output:            SYSCLK8 = 15.35938 MHz.
    C66xx_0: GEL Output: PLL1 Setup... Done.
    C66xx_0: GEL Output: Power on all PSC modules and DSP domains...
    C66xx_0: GEL Output: Security Accelerator disabled!
    C66xx_0: GEL Output: Power on all PSC modules and DSP domains... Done.
    C66xx_0: GEL Output: PA PLL (PLL3) Setup ...
    C66xx_0: GEL Output: PA PLL Setup... Done.
    C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup ...
    C66xx_0: GEL Output: DDR3 PLL Setup... Done.
    C66xx_0: GEL Output: DDR begin (1333 auto)
    C66xx_0: 2: XMC setup complete.
    C66xx_0: GEL Output:
    DDR3 initialization is complete.
    C66xx_0: GEL Output: DDR done
    C66xx_0: GEL Output: DDR3 memory test... Started
    C66xx_0: GEL Output: DDR3 memory test... Passed
    C66xx_0: GEL Output: PLL and DDR Initialization completed(1) ...
    C66xx_0: GEL Output: configSGMIISerdes Setup... Begin
    C66xx_0: GEL Output:
    SGMII SERDES has been configured.
    C66xx_0: GEL Output: Set Board and DSP IO/Timers Pins...
    C66xx_0: GEL Output: Set Board and DSP IO/Timers Pins... Done.
    C66xx_0: GEL Output: Configuring CPSW ...
    C66xx_0: GEL Output: Configuring CPSW ...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] QMSS successfully initialized
    [C66xx_0] CPPI successfully initialized
    [C66xx_0] PA successfully initialized
    [C66xx_0] HUA version 2.00.00.04
    [C66xx_0] Setting hostname to tidemo-063026
    [C66xx_0] MAC Address: 04-E4-51-96-5E-F3
    [C66xx_0] EVM in StaticIP mode at 192.168.2.100
    [C66xx_0] Set IP address of PC to 192.168.2.101
    [C66xx_0] PASS successfully initialized
    [C66xx_0] Ethernet subsystem successfully initialized
    [C66xx_0] Ethernet eventId : 48 and vectId (Interrupt) : 7
    [C66xx_0] Registration of the EMAC Successful, waiting for link up ..
    [C66xx_0] Network Added: If-1:192.168.2.100
    [C66xx_0] Service Status: THTTP    : Enabled  :          : 000
    [C66xx_0]
    [C66xx_0]  TCP Throughput test : RX for 10000 packets of 1000 bytes
    [C66xx_0] TCP Receive Task started

    And at the web browser it says "sending TCP packets" and nothing happens. I also turned the firewall off just in case. In comparison to this when I run the TCP transmit demo I get:

    [C66xx_0]  TCP Throughput test : TX for 10000 packets of 1000 bytes
    [C66xx_0] TCP Transmit Task started
    [C66xx_0]     Sending 10000 frames of 1000 bytes
    [C66xx_0] ------------------------------------------------
    [C66xx_0] Total Data transmitted: 10000000 bytes
    [C66xx_0] Start Time            : 19089 msec
    [C66xx_0] End   Time            : 19250 msec
    [C66xx_0] Total Time expired    : 161 msec
    [C66xx_0] Transmit Throughput : 496 Mb/s
    [C66xx_0] Note: These numbers are as measured on the EVM and
    [C66xx_0] reflect how fast it was able to transmit the data.
    [C66xx_0] ------------------------------------------------

    And also to mention, I use OFF (little endinan) ON ON ON -- ON ON ON ON -- ON ON ON ON -- ON ON ON ON -- ON OFF (static ip) ON ON  as switch cfg.

    Best Regards

    Burak

  • What do you mean with power cycle by the way??? the system reset button on CCS???

  • Thanks for the info. I tried this :

     

    Disconnect Core 0 in CCS.

    Press both the reset button on EVM.

    Reconnect to core 0  in CCS

    Run gel – ‘Global default setup’ on Core 0.

    Load the HUA executable

    Run the TCP receive benchmark

     

    Hope this helps. 

  • What do you mean with "Press both the reset button on evm". BOTH??? And after I disconnected and reset the board I couldnt connect again in the debug mode.

  • Yes. I tried this is for C6678 EVM. If in doubt, power cycle the EVM. Then launch the ‘target configuration’ again in CCS. Connect to core and run the gel. And then test TCP receive benchmark.

  • WHAT IS POWER CYCLE??? And I monitored with Wireshark the network, so there is a ongoing traffic when the demo is running but nothing on the console or web app.

    Regards

    Burak

  • Hi Varada,

    can you provide me the ".out" file you are using. So I can test it. Maybe it is a software issue.

    Regards

    Burak

  • Hi Varada,

    I made an interesting observation. If I set a breakpoint to the entry of the TCP_perform_receive function in benchmark.c which performs the tcp receive test, it runs until completion and the results are shown in the console but not at the web app! If I perform the same procedure with the same settings but without breakpoints it freezes at the start  of the function!

    Regards

    Burak

  • I tried with the HUA demo release executable, that is in “..\mcsdk_2_01_00_02\demos\hua\evmc6678l\Release\”

     I will try the same test with the breakpoint as you mention and update you.

     During the ‘TCP receive test’ – I too see that the Webpage does not update but the program completes on the console.

     By power cycle – I meant ‘turning the EVM OFF and then ON’, by removing power.

     Regards,

    Varada

  • Hi Varada,

            I want to test the data  transmission rate between C6678  EVM and PC. Here i have some questions to consult you.

    Hope you can help me.

     1. I run the hua demo according to your directions. And the console window prints the following information.

    [C66xx_0] QMSS successfully initialized
    [C66xx_0] CPPI successfully initialized
    [C66xx_0] PA successfully initialized
    [C66xx_0] HUA version 2.00.00.04
    [C66xx_0] Setting hostname to tidemo-CE3530

    [C66xx_0] MAC Address: 90-D7-EB-88-35-39
    [C66xx_0] EVM in StaticIP mode at 192.168.2.100
    [C66xx_0] Set IP address of PC to 192.168.2.101
    [C66xx_0] PASS successfully initialized
    [C66xx_0] Ethernet subsystem successfully initialized
    [C66xx_0] Ethernet eventId : 48 and vectId (Interrupt) : 7
    [C66xx_0] Registration of the EMAC Successful, waiting for link up ..
    [C66xx_0] Network Added: If-1:192.168.2.100
    [C66xx_0] Service Status: THTTP    : Enabled  :          : 000

            Then i opened  the web brower and entered  the EVM IP address. I ran the UDP receive benchmark. But the web page

    prompted  the following information.

            Test is in progress .The result will be displayed when it completes. This browser does not have a java plug-in.

    Get the latest java plug -in here.

            And the console window printed the following words.

     
    [C66xx_0]  UDP Throughput test : RX for 10000 packets of 1000 bytes
    [C66xx_0] UDP Receive Task started

            I downloaded the software from www.java.com / getjava  and installed it .  Then i restart the brower. But it still displayed

    the information that the browser does not have a java plug-in. Get the latest java plug -in here. I also tried UDP transmit , TCP

    transmit and TCP receive. The result were the same.

             How to solve this problem?

    2.  In MCSDK HUA Demonstration Guide, there is a packet generator when it depicts UDP test setup . what's packet

    generator and 1G SW? I connected  EVM to PC directly and didn't have a packet generator. Is there any uncorrectness

    with this?

    3. If i want to send some sepecified data ,for example ,some sequence number,what should i do?

            Hope you can help me. I am looking forward to your reply.

    Regards,

    Nuoxi

  • HI Varada,

            My situation is the same with Burak. I run hua demo on C6678 EVM . During the  TCP receive test, the webpage doesn't

    update and the program doesn't complete either. I power cycle the board,but it doesn't work. Could you give me some suggestions?

            In the TCP trasmit test, the transmission rate is 5Mb/s. I think it  is too low even though my PC only supports 100Mbps mode.

    Could you tell me the rate  you get in  TCP trasmit test ?

            According to the direction at http://processors.wiki.ti.com/index.php/MCSDK_HUA_Demonstration_Guide#Troubleshooting,

    there should be two PCs in TCP test ,one running IPERF and one running CCS.  Why? It is OK if i run IPERF and CCS on the same PC,right?

           Hope you can help me. I am looking forward to your reply.

    Regards,

    Nuoxi