Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- The output log shows that apparently everything is ok: - application is running - ethernet link is established and nios is aware of it - tcp/ip stack has started and is operating - server ip address has been assigned - your application has started too and it is waiting a connection A few basic (and maybe silly) questions: - is your client (PC) configured with the correct subnet - is your application still running or is it stuck somewhere? - have you already made any debug? I mean, has the server application returned from the select() call? --- Quote End --- hi SIELASER, thank you so much for reply. my client PC is configred as: static IP: 192.168.1.235 subnet: 255.255.255.0 Default gateway: 192.168.1.1 Board is configred as:# define IPADDR0 192# define IPADDR1 168# define IPADDR2 1# define IPADDR3 234# define GWADDR0 192# define GWADDR1 168# define GWADDR2 1# define GWADDR3 1# define MSKADDR0 255# define MSKADDR1 255# define MSKADDR2 255# define MSKADDR3 0 I used cross cable to connect them directly. I did 1. load sof to board(it is a timelimited file recated by QII) 2. from IDE, load server application by "run as Nios II hardware" after load and print info to IDE, the server is waitting there. Then I try to ping from pc command line, by ping 192.168.1.234 I found the RX light blink sometime, but TX is quiet. the server looks still waitting, nothing happen. after a while, ping is failed No, I didn't do any debug, no return from select() call, the sever is just waitting (http://www.alteraforum.com/forum/member.php?u=30040)