Steffen wrote: > Thx for your fast answeres ! I don't use an operating system, so i don't > have threads. The target is a PowerPc MPC5567. I call the > "SendDiagnoseMessage()" function, when results from another Bussystem > are available. > My ETH Controller is in Interrupt mode ! When calling the > "SendDiagnoseMessage()" function,it is possible i get interrupted by the > receive Interrupt of the ETH controller, > (I told you that the wrong checksum only occurs, when a paket is > received 1ms bevor i send with"SendDiagnoseMessage()"). I think normaly > this should be no problem because the receive function allocates a new > pbuf which is another than the send pbuf.
Do you only allocate a pbuf in interrupt context or do you also pass this pbuf into the stack? With interrupt context, it's the same as multithreading: it's not supported. Instead, put the received pbuf on a list and process this list in the main application context. Simon -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
