Forum Discussion
Altera_Forum
Honored Contributor
16 years agoUDP Read and Writing in SDRAM
Dear Friend's i am sucessfully able to read data through UDP but when i simultenauselly trying to write this received data in SDRAM it generate a message during run time and held operation. a...
Altera_Forum
Honored Contributor
16 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