--- 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