Forum Discussion

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

URGENT : Nichestack TCP/IP in NIOS II

I am a beginner in this field. My project is to send and receive real time data from one system to another. A server/client program must run on NIOS II EDS on a startix board and a client/server program must run on a PC for the transfer to take place through an Ethernet cable. I have to use Nichestack TCP/IP and MicroC/OS-II.

The simple socket server example given in NIOS II EDS needs modification for this task to be done. I am unable to do it and need help badly.

I have attached a server and client program that works fine on VC++ but on nios II eclipse it gives error. I have also attached the simple socket server example with all the functions.

PLEASE GUIDE ME TO SOLVE IT AS I HAVE VERY LESS TIME FOR SUBMISSION !!!

12 Replies

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

    sir i uses char array and it still cannot open the file. And as u told host file system will work only in debug mode so i used zip file system and it cannot open the file.May be i havnt understood the flash memory concept very well. So if u could please give me the steps to read a file using zip file system and store the data in a buffer before sending.

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

    Hi all,

    this is my 1st post in this forum,

    i am a very beginner in this field, i'm working with nichestack tutorial on a NEEK terasic card with cycloneIII and have followed all instructions in tutorial but

    at the end when running on niosII hardware in eclipse it appears waiting on PHY link and nothing happens... i've leaved DHCP enabled in BSP settings and if i try to disable it i got compilation errors in eclipse project....:(

    thanks in advance