SaJe | Last Modified: 2001 July 20 |
Summary:
Simple ethernet wrap-around test between SaJe and a PC. Thanks to TJ. |
Get the 400 KByte ZIP file SaJeEthernet.zip, expand it in work folder. To start the PC side, in the SaJeEthernet folder, edit the start_server.bat file to have the correct paths for your PC. If it executes successfully, you should see: aJile Systems Threaded TCP Echo Server Example Start JemBuilder and open the JemBuilder project file SaJeEthernet\Client\EthernetTest_3.9.ajp, and change all the classpaths to conform to your system. Also set the JemBuilder Drivers->ethernet properties to correspond to the desired IP address and mask for your network. In JVM->Properties, set the IP address and port number of the PC which is running the server side. In my case this is: reflector.ip.address=166.70.144.42 For help with this see the JStamp blink example tutorial. Once you have built the file, connect to SaJe with the JTAG adapter, connect SaJe to an ethernet. You should see a green Link light in the upper left corner of the RJ45 10BaseT receptacle on SaJe. Be sure the swap memory jumper on SaJe is installed, start Charade (be sure aJ100 is the target), change to the SaJeEthernet\Client\build folder and on the Charade command line enter @load.sod After the program loads, type verify build.bin and there should be no errors. If there are, then the swap mem jumper was probably not installed. run on Charade you should see something like: -> run and on your PC you should see something like this: Created new socket on port 900 |