Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- 1. the only doubt is that i am receiving my udp data in Data which is a two dimentionl array... --- Quote End --- Actually Data is monodimensional, since the first dimension is 1. Then the reference to Data[1] in recvfrom() is illegal and you are possibly writing to other data memory; the correct reference would be Data[0]. Moreover your use of myaddr as a pointer is not the best choice, unless you use sdram ONLY for udp data and all your code and program data resides in another memory section. You should rather define an array for storing data and then writing there, instead of direct addressing physical memory. Cris