Forum Discussion
Altera_Forum
Honored Contributor
17 years agoNetwork Supervision
Hi all, I'm just starting 'my adventure' with Altera DE2 and I've been given a project that requires reading data from board's registers and passing it to a program on a computer via the Ethernet ...
Altera_Forum
Honored Contributor
17 years agoHi Adam.
In the snd[] vector I charge all data, first portion is the ethernet UDP nescesary data header, last four bytes are the CRC, in the middle of them, you simply charge your usefull data, take it out from SDRAM or any place, and load the snd[42] to snd[flenght-4] with it. You also could modify your packet size, anyway, "How to get the data from SDRAM" is another thing, if SDRAM is your NIOS main memory, the data is in the SDRAM yet, if not,..... explain me better which is your case. Recieve part is a nightmare still for me... and I've not free time to play with that this days. :( Cheers. Alberto.