Download Example User Manual
Transcript
XMC-6VLX USER’S MANUAL lwip_echo_server_dual lwip_echo_server_dual – echoes TCP/IP packets sent to it over the Ethernet ports. This program is used to test the Ethernet ports. Connect the appropriate copper or fiber Ethernet cable to a host PC and “ping” the XMCV6. The IP address is 192.168.1.10, subnet mask 255.255.255.128 for port 1, and 192.168.1.138, subnet mask 255.255.255.128 for port 2. Make sure that the host PC subnet address is also 255.255.255.128 and the host PC IP address is in the same subnet as the XMC-V6 port that it is attached to. The Ethernet MAC IDs (mac_ethernet_address1 and mac_ethernet_address2) are defined in the file main.c. The example program assigns the addresses 00:0A:35:00:01:02 and 00:0A:35:00:01:03. Acromag has reserved two unique MAC IDs for each XMC-6VLX. The first of two consecutive MAC IDs is printed on a label attached to the board. To prevent network address conflicts replace the default addresses in main.c with the MAC ID printed on the label and the next consecutive address. srec_bootloader srec_bootloader – This program is embedded in the example FPGA configuration bitstream. It is loaded into block RAM memory at configuration time and begins executing when reset is released. It copies a microblaze program stored in BPI FLASH (in Motorola “S” record format) to DDR3 memory, and then executes the program. See section “Running a Program from BPI FLASH Memory” for instructions on copying a program to FLASH memory. IMPORTANT! When building the Acromag modified version of the SREC_BOOTLOADER program in the Xilinx SDK tool, select the Optimization Level to ‘None (-O0)’ in the C/C++ Build Settings of the project as shown below. peripheral_tests peripheral_tests – Runs a basic test on each other peripherals instantiated in the XPS system. The results of each test are displayed on the terminal. Acromag, Inc. Tel: 248-295-0310 - 68 -- 68 - http://www.acromag.com www.acromag.com