Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi Kaushal,
Are you sure that 'myaddr' correctly points to your UDP data buffer? If something went wrong and you are writing to a code or program data section it would result somehow in this abnormal behavior. Other possibility: I don't know how smsc91 driver works, but maybe you need to suspend it whenever you write to your udp buffer; from what you say I supposer that both rd and wr operation can be concurrent and operate on the same memory area. So I think you need to use a mutex or something like it. Regards Cris