hi all
I've worked with tcp library with 4.2 version without any problem
now i switched to 4.7 version
when i program my code it works properly (answer my ping)
but when i turn it off and on (reset) it doesn't answer my ping !
thank
hi again
well i found the problem ;-) when i restarted my board by reset pin it works again (answer my ping) so i guess it must have caused by power stability but not for my processor but for mac chip in simple word the mac chip needs more time to be stable . so i add a short delay in initial . i guess the new version start up file run faster than privies version .
thank for your answers .
As suggested earlier: "It is entirely possible that your hardware is flawed, and you've just been "lucky" to get away with it so far..."
So, aparently, it was the software that was (and still is) flawed - not (just) the hardware!
"i add a short delay in initial"
That's a poor approach - as it leaves you open to exactly the same thing happening again!
You really should try to find some positive status indication from the MAC to confirm when it is truly ready.
Relying on arbitrary delays is, as you've seen, a recipe for disaster...
View all questions in Keil forum