Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSimple Socket Server on DE2 w/Davicom DM9000A
updated.
Altera's Simple Socket Server demo running on a DE2 board with the Davicom DM9000a driver. here it is....zipped downloaded project source for sss on the de2 board. download link currently unavailable. Includes: - Hardware design (TLD in schematic block diagram format) - Programmable .SOF (time-limited, as developed in Quartus Web Edition v9.2) - SOPC builder system file - DM9000A driver for Nichestack TCP/IP stack / Altera HAL environment (courtesy of Columbia Uni) - Simple socket server software Simply... - (1) Download the .SOF in Quartus Programmer - (2) Open the software workspace in the "/software" directory in Nios II Build Tools (Eclipse IDE) - (3) Open Run >> Run Configurations. Delete the current configuration. Create a new launch configuration selecting the project name under the Project Tab. Ensure your DE2 board is plugged into USB. Check the target connection tab and make sure it is present. - (4) Plug into your local network (DHCP is enabled, or app will default to static IP) - (5) View the Nios II console for debugging information (via JTAG UART) - (6) Telnet into the board from a pc: telnet <ip address> 30. Enjoy the simple socket server demo from Altera! Questions/comments? Fire away below!98 Replies
- Altera_Forum
Honored Contributor
you loaded the code into you DE2 board without any modification?
i loaded the code but it shows that "prepped 0 interfaces, initializing... inet startup error: unable to find any working interfaces dtrap - needs breakpoint panic: IP" - Altera_Forum
Honored Contributor
xiongxin18,
I modefied the network_utilities.c for a fix IP , changed the printf function with UartPrintf and insert some of UartPrintf() to output more messages. It seams that the timer has some problems.And the more important is that I don't know how to send/receive socket to/from PC using this simple socket server. - Altera_Forum
Honored Contributor
Hi, I can't download the file:"DE2_SimpleSocketServer.zip".May you send me an email that include the file.My email:[email protected]
Thank you! - Altera_Forum
Honored Contributor
i run the software,but it shows that
"prepped 0 interfaces, initializing... inet startup error: unable to find any working interfaces dtrap - needs breakpoint panic: IP" i don't know why? - Altera_Forum
Honored Contributor
Hi,
I have loaded the code into my custom board.After 3 minute it displayed as: Copyright 1996-2008 by InterNiche Technologies. All rights reserved. Could not locate flash sector with MAC address. prepped 1 interface, initializing... dm9ka_init Created "Inet main" task (Prio: 2) Created "clock tick" task (Prio: 3) mctest init called IP address of et1 : 192.168.1.234 DHCP timed out, going back to default IP address(es) Simple Socket Server starting up [sss_task] Simple Socket Server listening on port 30 Created "simple socket server" task (Prio: 4) - Altera_Forum
Honored Contributor
Hi, I can't download the file:"DE2_SimpleSocketServer.zip".Is there anyone who has dowmloaded it. May you send me an email that include the file.My email:[email protected]
Thank you! - Altera_Forum
Honored Contributor
I can't download the file:"DE2_SimpleSocketServer.zip".
May you send me an email that include the file - Altera_Forum
Honored Contributor
I can't download the file:"DE2_SimpleSocketServer.zip".
May you send me an email that include the file. My email is :[email protected] Thank you ! - Altera_Forum
Honored Contributor
I seem to have the same problem as many of the users in this thread have..
"prepped 0 interfaces, initializing... inet startup error: unable to find any working interfaces Does anyone have an idea as to why this is? Thanks - Altera_Forum
Honored Contributor
--- Quote Start --- I seem to have the same problem as many of the users in this thread have.. --- Quote End --- --- Quote Start --- "prepped 0 interfaces, initializing... inet startup error: unable to find any working interfaces --- Quote End --- I think maybe there some problem with the system.stf file. Because when I study with the lwip with the dm9000 I have saw something about the definition about the Ethernet interface. I hope this can help you! Good luck!