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 agoI use two ports with tse and sgdma.
I use one of them with tcp/ip (Nichestack) and the other with raw ethernet frames. I don't know if this is your case but I suppose it is even easier if you need to use both in the same way. I assume you have already built your sopc. Then all you need to do is: - call twice (or multiple times) alt_tse_system_add_sys() in the beginning of your application, to initialize all your devices - provide the required callback functions for assigning mac and ip addresses, get_board_mac_addr() and get_ip_addr() Then, the actual use of the ethernet interface, as I said above, depends on what you need them for. Cris