120 likes | 144 Views
Using Build A Step-by-Step Guide. Remote Connect to Build. Start Programs Accessories Communications Remote Desktop Connection Login using your group account. Using Cygwin. To use Cygwin, you must first SSH into Build (from build) Minimize this window. Open Cygwin.
E N D
Remote Connect to Build • Start Programs Accessories Communications Remote Desktop Connection • Login using your group account
Using Cygwin • To use Cygwin, you must first SSH into Build (from build) • Minimize this window
Open Cygwin • Open 2 instances of Cygwin
Enter the cs535_test directory • cd cs535_test/ • This folder contains 2 pre-compiled programs • recv_it • send_it • These are the programs used by the Build server test application
Load the test Bitfile • In the CS535 Server Arbitrator • Load the pthru_final bitfile • This must be typed exactly as shown • Omit the .bit extension • To test your own files, you must load your bitfile to the CS535 Test Server on fpx2
Request the Server • Click the Request Server button • The Build server will now be programmed with the specified bitfile • You will have 3 minutes to perform the following tests
Step 1: Setting up the Receive Application • In one of your opened Cygwin windows, start the recv_it.exe file • Do this by typing ./recv_it.exe –s 3000 • This specifies that the application is listening on port 3000
Step 2: Sending sample data • In the other opened Cygwin window, start the send_it.exe file • Do this by typing ./send_it.exe –h 192.168.200.2 –p 3000 • This will send a simple UDP packet to the FPX • The application will send on port 3000 • You will be prompted to enter some text • Enter some
Step 3: Check that a packet returned • If the Cygwin window that was listening on port 3000 received the string, the hardware is working properly.
How to use your software • Your software needs to send to Address 192.168.200.2 • Any port can be used • Your hardware for alert messages needs to be sent to 192.168.204.10 • Your hardware can send to any port (in the application range) • Your software will need to listen to this port