Forum Discussion
Altera_Forum
Honored Contributor
16 years agoMultiple Ethernet application under MicroC/OS-II
Hi, there I am a new one for the MicroC/OS II system. Now I am working on the multiple Ethernet application based on the NicheStack and MicroC/OS II. Can anyone provide some reference design a...
Altera_Forum
Honored Contributor
16 years agoHi, Cris:
Thanks for your reply. I am trying to build a simple telnet application demo with two Ethernet ports first. Then I will develop a more complex system to realize multiple UDP/IP transmissions. What confused me is that at the sopc builder, I connected four DMA controllers (For one Ethernet port, it has one DMA for transmission and the other for receiving. Two Ethernet ports are needed, therefore I have four DMA controllers) at the same DDR memory module. It turns out the top level verilog file can not pass the synthesis. Here is the Error: Net"DE3_Referenceup_SOPC:DE3_Referenceup_SOPC_Instance|mem_dqs_to_and_from_the_altmemddr[2]", which fans out to "DE3_Referenceup_SOPC:DE3_Referenceup_SOPC_Instance|altmemddr:the_altmemddr|mem_dqs[2]", cannot be assigned more than one value So I am just wandering if it is necessary to allocate a separate DDR memory module for each pair of DMA controllers. The other problem is about socket programming. I have no experience about that before. Am I supposed to allocate one IP address and one port number for each Ethernet port? Each Ethernet port need to be managed by one individual socket?