> Dear Casper group, > > Thank you for the help in compiling the one_GbE block > We are trying to make the fpga send data straight through UDP to a server, > and reading it there with python. > > However, we are stuck in debugging the system: we think we are sending > stuff properly, but we can not read anything from the python socket, > coming > from our roach 2 fpga. > > We've programmed the digital logic in one_GbE test in a similar manner to > the example in tutorial 2, and the acquisition python script in a similar > manner to tutorial 5. > We have all the devices connected through ethernet cables to a switch. > We think we have the one_GbE actually sending out data because: > - if we make the frame rate high enough, the switch actually goes crazy > and > we can not ping any of the devices. If we put a low frame rate, for > example, one per second, then the switch works normally. > and, of course, all the registers, and valid signals inside the digital > logic look as expected.
> To test that we are reading the socket on the server correctly, we used > our > code on the previous configuration from roach1, which was receiving UDP > packets from the PowerPC. It worked on this. > > So we think we have the ethernet cable sending stuff, and we have the > python code reading correctly, and yet we can't see anything when we put > them together... > > Is there any way we can find out if the one_gbe block is actually sending > stuff to the right ip and port? we are just programming them through the > registers Have you looked at the raw packets with wireshark? That might give a clue. > > > We are sort of lost in regards to what step we can take now...... > > Just some random information, at the beginning when we first connected the > fpga's ethernet, we wanted to have a sign that it is actually seen by the > server. > it was set to the default ip of 192.168.41.10 as it is written in the > block. > The only way we could detect something was by using > nmap -Pn 192.168.41.10 which detected the host when we were making the > switch go crazy, but normally it can't see it. > we tried changing the one_GbE ip to 10.0.0.205, but we couldn't tell it > actually did. What kind of switch do you have? It might not be up to the task of transmitting packets at full speed from the FPGA. Lots of the cheap switches have very little buffering. Have you tried roach->PC without a switch, or using a different switch? John > > Thank you so much for your help! > > Ioana and Jeff >

