Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

TCP/IP stack use on CS8900??

Hi, I'm trying to interface the CS8900 lan chip in an embedded device using MPC565 as CPU. I already made a driver for the communication between the MPC and lan chip, and can send a message (which is temporary stored in a send-array) to a PC. Dependent from de values set in the array, the PC recognize the packet as the corresponding protocol (and id's), you manually set in the array. Now I want to use the ECOS TCP/IP stack for using TCP and UDP messages. At this time, I put the necessary data from the ethernet-packet in an send / receive array (RxBuffer and TxBuffer), and would like to build the TCP/IP stack from and to this buffers. I'm not very known with ECOS (yet) and like to know how I can use the ECOS stack for my application, or do I need to write a new driver for ECOS?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Well, we probably can't help much since our experience is with a version of eCos ported to Altera' Nios II processor IP core. That said, eCos has a generic Ethernet driver that lower-level hardware drivers interface to. You should, hopefully, only needto write your own low-level driver, if there's not one already.

    You might want to look at the main ecos home page (http://sources.redhat.com/ecos/) for more info. I'd recommend the mailing lists.