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.

Cannot see EVM IP while running HUA App

Hi,

 My setup is EVM : TMDSEVM678LE,  CCS : 5.3.0.00090, mcsdk_2_01_02_06, ndk_2_21_01_38.

 I'm trying to run the HUA demo app with user switch 1 being OFF i.e. using static IP. I followed the instructions on http://processors.wiki.ti.com/index.php/MCSDK_HUA_Demonstration_Guide. I have my PC on the same subnet as per the instructions.

I'm able to build, load and run the app, but I don't see CIO console with EVM IP address printed. I cannot ping to the EVM 192.168.2.100. I tried adding some printf statements as an attempt to trace the execution path, but they don't get printed either. How can I enable the CIO console?

Thanks,

Nikhil


 

  • Nikhil

    Set these switches to state:

    switch mode: (off off on off)(on on on on )(on on on off)( on on on on)(on off on on )

    Should respond to this situation.

    Regards,

    Amin

  • Thanks Amin. I'm new to this EVM and a little confused by your response.

    You have given settings for 5 x 4 = 20 switches. But on the LE EVM, I see only 18 switches.

    SW3, SW4, SW5 & SW6 have 4 switches each where as SW9 has two switches. 

    Can you explain?

    Thanks,

    Nikhil

  • An update : I tried setting first 18 of the 20 settings you gave and I still don't see CIO console with EVM's static IP address being printed as expected.

  • Nikhil,

    The HUA demo has the pre-built already under C:\ti\mcsdk_2_01_02_06\demos\hua\evmc6678l\Debug. Just loading this and run without using your own, did it print out on CIO console. The print is from platform_write() function. If you step into it, it calls the printf() which is the standard print.

    I can run the pre-built with following show on my CIO:

    QMSS successfully initialized

    CPPI successfully initialized

    PA successfully initialized

    HUA version 2.00.00.04

    Setting hostname to tidemo-CE6330

    MAC Address: 90-D7-EB-09-9F-98

    EVM in StaticIP mode at 192.168.2.100

    Set IP address of PC to 192.168.2.101

    PASS successfully initialized

    Ethernet subsystem successfully initialized

    Ethernet eventId : 48 and vectId (Interrupt) : 7

    Registration of the EMAC Successful, waiting for link up ..

    Network Added: If-1:192.168.2.100

    Service Status: THTTP : Enabled : : 000

    For you, you didn't have any output at all? Can you please provide your log using pre-build and your build?

    Regards, Eric

     

  • Sorry for delayed response. I have this demo working. Instead of hitting Run button, I set a breakpoint and then ran. I could see the CIO window with IP address printed. Thanks.