Maybe this just means the ethernet interface is running in half duplex mode? I'm not sure what determines that the target and the PC running the simulator are connected to the same hub.Īnyone have any other suggestion for testing the ethernet port with a minimum of external hardware?įirst to the simulator behaviour: I think that this is not correct and it shouldn't really see its own transmissions (at least not in normal mode). If I run my target board AND the simulator on the same net, the target board receives the 'response' frame from the simulator, but not from itself the target board does not see its own 'request' frame. When I run on the target board, it never sees the 'request' frame that it sent. This works fine in the simulator the frame gets sent, and the UDP receiver task sees the frame and then sends a similar but slightly different frame. Code: extern void test_svr(TTASKTABLE *ptrTaskTable) įnSendUDP(socket, new_ip, TEST_SERVER_PORT, (data - sizeof(UDP_HEADER)), usLength, OWN_TASK)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |