Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

error in running ndk example with simulator

$
0
0

Hi,

I want to run ndk client example with simulator. I have recompile the client_evmc6678l project based on the below instruction

http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Building_and_running_NDK_client_example_with_simulator

The version of mcsdk I am using is 2_01_02_05,  ccs_5.2.1.00018.

The static ip address of the pc running simulator and the client_evmc6678l project is 3.242.226.127, I also changed the code of client.c like this:

char *HostName    = "SHA1XXGIQIwin701";
char *LocalIPAddr = "3.242.226.127";
char *LocalIPMask = "255.255.255.0";   

char *GatewayIP   = "3.242.226.1";   

char *DomainName  = "grmsasia.grms.ge.com";        

char *DNSServer   = "3.242.220.64";

//The above info match the ip info of my pc

 

Uint8 clientMACAddress [6] = {0xD4,0xBE,0xD9,0x99,0xDB,0x2C};  -- the mac address for my pc

I also changed the content of tisim_c6678_pv.cfg like this

MODULE  USER_INPUTS;

            INPUT1  CPU_NAME, SHARED;
            INPUT2  ADAPTOR, ON;
            INPUT3  NUMBER_OF_PORTS,2;
            INPUT4  NETWORK_ADAPTOR, Intel;
            INPUT5  MAC_ADDRESS_PORT0, 10-11-12-13-14-15;
              
           INPUT6  MAC_ADDRESS_PORT1, D4-BE-D9-99-DB-2C;
   
                        INPUT7  MAC_CRC, ON;
                       INPUT8  LOG_FILE, d:\yxh\emac_log.txt;


        END USER_INPUTS;

 

when I load this project from ccs, I can get this message from console:

[TMS320C66x_0] QMSS successfully initialized
[TMS320C66x_0] CPPI successfully initialized
[TMS320C66x_0] PA successfully initialized
[TMS320C66x_0]
[TMS320C66x_0] TCP/IP Stack Example Client
[TMS320C66x_0] PASS successfully initialized
[TMS320C66x_0] Ethernet subsystem successfully initialized
[TMS320C66x_0] Ethernet eventId : 48 and vectId (Interrupt) : 7
[TMS320C66x_0] Registration of the EMAC Successful, waiting for link up ..
[TMS320C66x_0] Network Added: If-1:3.242.226.127
[TMS320C66x_0] Service Status: Telnet   : Enabled  :          : 000
[TMS320C66x_0] Service Status: HTTP     : Enabled  :          : 000

And from the log info , I can see  Simulator connects to my Network Card through Winpcap-driver, also I can see there that it captures broadcast packets from network. But when I use the url : http://3.242.226.127, I can't invoke the http server provided by ndk client example. I also use the WINAPPS such as echoc to link the data server, but get "failed connect" message.  Could some can tell me how I can access the http server provided by ndk client example?   Do I need to do something else?

 I have spent  server days on this with no result, please help me. Thanks a lot.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>