We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello friends
I am in very serious trouble. I have implemented TCP/IP server on LPC2300 and it was working fine untill i discover that my board stops communicating (checked through pinging). Rest code is working fine. I need to reset the board again in order to make TCP/IP work again. Please help me this is very serious issue for me
Plzzzzzzzzz help me out of this problem.
Sorry but which file u are talking about. Line 54 can be of any file Please be specific.
They mean that you haven't given anywhere near enough information to allow them to help you. Rather than just say that, though, they enjoy taunting you for a while first.
You mean like your original post was "specific"?!
ok friends i am really sorry for that,
Actually i have already posted a lot of things regarding this project that's why i did't specify so much specific. Nevertheless i am sorry
Here is full details:
1) I made a board using LPC2366 2) I wrote a software in which i made my board as a server as i am in the closed state. Also i m doing ather things like I2C, RS485 communication 3) In the code i am calling timer_tick every 100msec while caliing main_tcpnet() in the main while(1) loop. 4) I have implemented PC as a client which opens a connection query some data and then close the connection. 5) This works fine for some time but after some time (not specific) the board stops responding. 6) When i ping my board it was not
This is the whole story if u want some thing else plz let me know
There's a bug in your code.
If we had telepathic links, we may be able to see your code and tell you precisely what's wrong.
But I don't have telepathic abilities (and I assume no-one else here does either).
My telepathic abilities saw a lot of frustration while looking for line 54.
But for people who aren't so telephatic, it may be an idea to post what things you have looked for. And maybe post relevant sections of your code. Are you polling fast enough? Do you have a memory leak, so the TCP stack suddenly can't find a free block for the next received packet? May a stuck interrupt?
What version of TCP/IP stack?
Any other relevant information?