Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Tcp/ip

Altera_Forum
Honored Contributor II
1,630 Views

Hallo I am a novice for ecos, 

 

Sombody guide me how to use tcp/ip stack with eCos for nios 2. 

 

 

 

Altera provide HAL device drivers that allow to access the hardware via the HAL API ,like for ethernet device-LAN91C111 Ethernet MAC/PHY Controller. 

 

But LAN91C111 component requires the MicroC/OS-II runtime 

environment. 

So how can i use ethernet device-LAN91C111 in eCos environment or which things i have to consider when i want to use ethenet for data transfering using tcp/ip with ecos. 

 

Please assist me, 

 

Thanks,
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
519 Views

 

--- Quote Start ---  

originally posted by nirav@Dec 21 2005, 05:36 AM 

hallo i am a novice for ecos, 

 

sombody guide me how to use tcp/ip stack with ecos for nios 2. 

 

 

 

altera provide hal device drivers that allow  to access the hardware via the hal api ,like for ethernet device-lan91c111 ethernet mac/phy controller. 

 

but  lan91c111 component requires the microc/os-ii runtime 

environment. 

so  how can i use ethernet device-lan91c111 in ecos environment or which things i have to consider when i want to use ethenet for data transfering using tcp/ip with ecos. 

 

please assist me, 

 

thanks, 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11690) 

--- quote end ---  

 

--- Quote End ---  

 

 

I suggest that you follow the instructions, which can be found in the eCos for Nios.htm, which is in your altera\kits\nios2\components\ecos directory. In there are instructions to get a networked based example runnning. 

 

I suspect your confusion is from looking at the code for the HAL device drivers. These are not used for eCos. The driver for the lan91c111 is found in altera\kits\nios2\components\ecos\packages\dev\eth\smsc\lan91cxx
0 Kudos
Altera_Forum
Honored Contributor II
519 Views

thanks for reply,i will try it out, 

 

 

Do you know from where can i have eCos for older version becoz the link which was given in this forum is not exist any more....... 

 

 

 

Thanks 

NIrav
0 Kudos
Altera_Forum
Honored Contributor II
519 Views

 

--- Quote Start ---  

originally posted by nirav@Dec 22 2005, 08:46 AM 

thanks for reply,i will try it out, 

 

 

do you know  from where can i have ecos for older version becoz  the link which was given in this forum is not exist any more....... 

 

 

 

thanks 

nirav 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11738) 

--- quote end ---  

 

--- Quote End ---  

 

 

Hi Nirav, 

 

I removed those posts because the links to download those older versions were broken. eCos for Nios II 5.0 is still there, in addition to the latest 5.1. Is there any reason you cannot use either of those versions?
0 Kudos
Altera_Forum
Honored Contributor II
519 Views

Actually,My company has ordered NIOS 2 latest version development kit,and the latest ecos will work only with that latest version of NIOS.So until i get latest NIOS 2 i want to work with older version of niOS AND ecos.So i want older version of ecos which can work with older NIOS version, 

 

Thanks, 

But please ready for my coming questions regarding latest version of eCos, 

NIrav
0 Kudos
Reply