ml506_bsb_std_ip
所属分类:Windows编程
开发工具:C/C++
文件大小:20690KB
下载次数:14
上传日期:2014-05-29 17:20:23
上 传 者:
this033
说明: this files ml506 source for xilinx
文件列表:
ml506_bsb_std_ip\TestApp_Memory_microblaze_0\executable.elf (25810, 2010-05-11)
ml506_bsb_std_ip\TestApp_Memory_microblaze_0\src\TestApp_Memory.c (4565, 2010-05-04)
ml506_bsb_std_ip\TestApp_Memory_microblaze_0\src\TestApp_Memory_LinkScr.ld (4554, 2010-05-04)
ml506_bsb_std_ip\bootloops\microblaze_0.elf (659, 2010-05-04)
ml506_bsb_std_ip\data\ml506_bsb_system.ucf (49157, 2010-05-10)
ml506_bsb_std_ip\etc\bitgen.ut (221, 2010-05-04)
ml506_bsb_std_ip\etc\download.cmd (115, 2010-05-04)
ml506_bsb_std_ip\etc\fast_runtime.opt (2794, 2010-05-04)
ml506_bsb_std_ip\implementation\download.bit (2502519, 2010-05-10)
ml506_bsb_std_ip\implementation\ml506_bsb_system.bmm (1462, 2010-05-10)
ml506_bsb_std_ip\implementation\ml506_bsb_system.ncd (7452774, 2010-05-10)
ml506_bsb_std_ip\implementation\ml506_bsb_system.pad (57232, 2010-05-10)
ml506_bsb_std_ip\implementation\ml506_bsb_system.par (41843, 2010-05-10)
ml506_bsb_std_ip\implementation\ml506_bsb_system_bd.bmm (2404, 2010-05-10)
ml506_bsb_std_ip\implementation\ml506_bsb_system_map.mrp (2401076, 2010-05-10)
ml506_bsb_std_ip\implementation\ml506_std_ip_bootloop.bit (2502519, 2010-05-10)
ml506_bsb_std_ip\microblaze_0\code\bootload_video.elf (78542, 2010-05-12)
ml506_bsb_std_ip\microblaze_0\code\button_led_test.elf (14716, 2010-05-12)
ml506_bsb_std_ip\microblaze_0\code\colorbar.elf (47574, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\flash_hello.elf (64166, 2010-05-12)
ml506_bsb_std_ip\microblaze_0\code\hello.elf (43134, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\hello_uart.elf (13121, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\hello_uart_1.elf (13129, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\iic_clock.elf (31531, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\iic_ddr2.elf (31435, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\iic_eeprom.elf (31451, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\iic_fan.elf (31435, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\iic_sfp.elf (31403, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\lwipdemo.elf (693140, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\my_ace.elf (63622, 2010-05-12)
ml506_bsb_std_ip\microblaze_0\code\my_plat_flash.elf (48886, 2010-05-12)
ml506_bsb_std_ip\microblaze_0\code\piezo.elf (167796, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\ps2_scancodes_polled.elf (30885, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\simon.elf (112829, 2010-05-12)
ml506_bsb_std_ip\microblaze_0\code\spi_hello.elf (63798, 2010-05-12)
ml506_bsb_std_ip\microblaze_0\code\sysace_rebooter.elf (29231, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\testfatfs.elf (125401, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\xflash.elf (78846, 2010-05-11)
ml506_bsb_std_ip\microblaze_0\code\xrom.elf (147335, 2011-01-12)
ml506_bsb_std_ip\ml506_bsb_system.bsb (5389, 2010-05-04)
... ...
*******************************************************************************
** Copyright 2009 Xilinx, Inc.
** This design is confidential and proprietary of Xilinx, Inc.
** All Rights Reserved.
*******************************************************************************
** ____ ____
** / /\/ /
** /___/ \ / Vendor: Xilinx
** \ \ \/ Version: 1.0
** \ \ Filename: lwipdemo_readme.txt
** / /
** /___/ /\
** \ \ / \
** \___\/\___\
**
**Device:
**Purpose:
**Reference:
**
*******************************************************************************
**
** Disclaimer: LIMITED WARRANTY AND DISCLAIMER. These designs are
** provided to you "as is." Xilinx and its licensors make and you
** receive no warranties or conditions, express, implied,
** statutory or otherwise, and Xilinx specifically disclaims any
** implied warranties of merchantability, noninfringement, or
** fitness for a particular purpose. Xilinx does not warrant that
** the functions contained in these designs will meet your
** requirements, or that the operation of these designs will be
** uninterrupted or error free, or that defects in the Designs
** will be corrected. Furthermore, Xilinx does not warrant or
** make any representations regarding use or the results of the
** use of the designs in terms of correctness, accuracy,
** reliability, or otherwise.
**
** LIMITATION OF LIABILITY. In no event will Xilinx or its
** licensors be liable for any loss of data, lost profits, cost
** or procurement of substitute goods or services, or for any
** special, incidental, consequential, or indirect damages
** arising from the use or operation of the designs or
** accompanying documentation, however caused and on any theory
** of liability. This limitation will apply even if Xilinx
** has been advised of the possibility of such damage. This
** limitation shall apply notwithstanding the failure of the
** essential purpose of any limited remedies herein.
**
*******************************************************************************
Application: lwipdemo and lwipdemo_sgmii
----------------------------------------
The LwIP demonstration is based on the Embedded Development Kit (EDK) port of
the open source lightweight IP (lwIP) TCP/IP stack. LwIP provides an easy way
to add TCP/IP-based networking to an embedded system using a sockets style API
for ease of use.
The EDK OS and Libraries Document Collection (oslib_rm.pdf) provides more
details on using the lwIP networking library:
http://www.xilinx.com/ise/embedded/edk_docs.htm
Also see XAPP1026 - LightWeight IP (lwIP) Application Examples:
http://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf
Networking functionality using lwIP can be demonstrated using the provided
reference designs derived from a Base System Builder (BSB) generated design.
This applies to the ML505, ML506, and ML507 platforms and are generically
referred to here as ML50x.
Sockets mode lwIP - GMII PHY interface:
ml505_bsb_std_ip.zip
ml506_bsb_std_ip.zip
ml507_bsb_std_ip.zip
ml507_bsb_std_ip_ppc440.zip
Sockets mode lwIP - SGMII PHY interface:
ml505_std_ip_pcores.zip
ml506_std_ip_pcores.zip
ml507_std_ip_pcores.zip
ml507_std_ip_pcores_ppc440.zip
Procedure
----------
1. Connect the Host PC to the ML50x (J1 header) using a PC-IV or
Platform USB JTAG cable
2. Connect the Host PC serial port to the ML50x serial port using a null
modem cable and launch a terminal program on the Host (e.g. TeraTerm)
with the settings: 9600 baud, 8-N-1, No flow control
3. Note your existing Host PC network settings
4. Set Host PC address to 192.168.1.1 with subnet mask 255.255.255.0
Note: Ensure the PC is set for 10 Mbps, 100 Mbps, or 1000 Mbps
5. Connect Ethernet cable (straight or crossover) from Host to ML507
Note: The ML507 Ethernet PHY chip has an auto-crossover feature
The lwIP application code sets the ML507 IP address to 192.168.1.10
6. Power-up the board
7. Unzip one of the lwIP designs
8. Launch XPS and open the ML507 EDK project (ml50x_bsb_system.xmp)
9. Launch a Shell window using XPS menu selection: Project > Launch EDK Shell
10. Download bitstream in shell window by typing: impact -batch etc/download.cmd
11. XPS menu selection: Debug > Launch XMD
12. At XMD% prompt type: rst
13. At XMD% prompt type: dow -data sw/standalone/lwipdemo/image.mfs
Note: This downloads a pre-built memory file system into the ZBT SRAM.
Modify this address to match your SRAM address in the MHS file.
14. At XMD% prompt type:
MicroBlaze with GMII: dow microblaze_0/code/lwipdemo.elf
MicroBlaze with SGMII: dow microblaze_0/code/lwipdemo_sgmii.elf
PPC440 with GMII: dow ppc440_0/code/lwipdemo.elf
PPC440 with SGMII: dow ppc440_0/code/lwipdemo_sgmii.elf
16. At XMD% prompt type: con
17. Launch a web browser on the host and open URL http://192.168.1.10
Note: You may need to turn off your browser's proxy and specify a
direct connection to the Internet in your browser options
18. On the Xilinx Web Server Demo page that now appears in the web browser,
Press the "Toggle LEDs" button to turn on/off the GPIO LEDs 1 through 8
19. Change the GPIO DIP switch (SW8) settings on the ML507 and observe that the
DIP switch state shown on the web page changes by pressing the
"Update Status" button
20. Click on the link in the Documentation section to find out more about the
EDK lwIP library
21. Verify ping responses by opening a DOS Command Shell on the PC Host and
typing: ping 192.168.1.10
22. Exit from XMD, close the EDK shell, and exit from EDK
23. Restore your previous browser and network settings
Serial Port Output: (For Sockets mode project's lwipdemo.elf)
-------------------------------------------------------------
-----lwIP Socket Mode Demo Application ------
Board IP: 192.168.1.10
Netmask : 255.255.255.0
Gateway : 192.168.1.1
Server Port Connect With..
-------------------- ------ --------------------
echo server 7 $ telnet 7
tftp server 69 $ tftp -i 192.168.1.10 PUT
http server 80 Point your web browser to http://192.168.1.10
auto-negotiated link speed: 1000
近期下载者:
相关文件:
收藏者: