- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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!링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
If you have the Lan91c111 ethernet controller, you'll need to use the appropriate module in SOPC builder which will load the appropriate HAL driver into your BSP system when you create it.
The solution I have posted is for the altera de2 development board which uses a different ethernet controller device not natively supported by Altera. You should be able to modify my software/Quartus project to use your lan91c111 device: * Remove the DM9000a device in SOPC builder and add the Altera SOPC component for the lan91c111. Generate SOPC system. Ensure any other devices used (ie. flash memory and SDRAM are compatible with your development board - I assume you are using Nios II dev kit?) * You'll need to modify the pin mappings file to suit your dev board and you most likely will be using a different FPGA - so this will need to be changed as well. * Build Quartus project and download .SOF file. * Regenerate the BSP in Nios II Build tools based on the updated .SOPCINFO file. Rebuild the project and download the ELF file to the NIOS processor. You should have everything working by this point. Alternatively - check out the Nios II SDK and reference examples. There are a number of H/W ref examples (Quartus projects) which support the dev kit and socket server example. You should then be able to create the software from the reference template in Nios II SBT and deploy straight to your dev board.- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
okI changed to lan91c111 but now i´m not sure how to connect the pins..First there is address_to_the_lan91c111[15..0] but in the manuel of the board there are only 15 addressline pins for the ethernet. And whats the tri-state-bridge? the in sopc builded block has a tristate-bridge with a 32 biit buffer output ( tristate-bridge[31..0] ) and an output zs_dqm_from_the_sdram[3..0] i don´t know how to connect them wihch pins i should take.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Everithing went ok for me until I downloaded the software to the FPGA, I get this error on NIOS Terminal.
InterNiche Portable TCP/IP, v3.1
Copyright 1996-2008 by InterNiche Technologies. All rights reserved.
prepped 0 interfaces, initializing...
inet startup error: unable to find any working interfaces
panic: IP
dtrap - needs breakpoin
I have quartus II 9.0 whit a valid license. Can't somebody help me? Jairo
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi, I can't download the file:"DE2_SimpleSocketServer.zip".May you send me an email that include the file.My email:qyd.198851@163.com
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thank you !
I can't download the file:"DE2_SimpleSocketServer.zip". May you send me an email that include the file.My email:with_outwing@126.com- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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?- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
Could you email me the file:"DE2_SimpleSocketServer.zip" since I download it unsuccessful many times.My address is liujn@ciae.ac.cn. Thank you in advance.- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
I have loaded the code into my custom board.After 3 minute it displayed as: Simple Socket Server starting up [sss_task] Simple Socket Server listening on port 30 And I can ping the board from PC successful,but there was no result output to console.If I send a upd from PC to the board there was also no result output to console. Is that all right?How Can I display the received upd?- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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"- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi, I can't download the file:"DE2_SimpleSocketServer.zip".May you send me an email that include the file.My email:zytabcd@sina.com
Thank you!- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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?- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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)- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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:zytabcd@sina.com
Thank you!- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I can't download the file:"DE2_SimpleSocketServer.zip".
May you send me an email that include the file- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I can't download the file:"DE2_SimpleSocketServer.zip".
May you send me an email that include the file. My email is :guanshanliang86@126.com Thank you !- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
--- 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!
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks for the answer. It seems I got the ethernet device to be detected. The problem was that HAL could not find the right driver (I had put the include files in the wrong directory).
I now have the problem that after calling:alt_iniche_init();
netmain();
the following code keeps on sleeping because the interniche stack can't be initialized: while (!iniche_net_ready)
TK_SLEEP(1);
Any ideas on what might cause this? The getIP and getMac methods are called correctly but I don't see any light flicker on my ethernet port or on the switch. Also, I have the DE2-70 board which has the Davicom chip. But could this issue still be related to me not having the regular DE2 board? Thanks.
