I need to create an Ethernet external loopback test in MQX. The test needs to work with TX+/RX+ and TX-/RX- connected externally on a 10/100 port. Is there any example code that does this in MQX?
Garabo,
I ended up moving the Ethernet external loopback test to the FNET bootloader.
Thanks
Greg
Hi Greg,
What you are trying to accomplish is more a low level driver test. In the function MACNET_initialize() from MQX driver. Perhaps you can activate this option in the flags for the enet_ptr->PARAM_PTR->OPTIONS variable. Try changing this in the structure ENET_default_params[] (init_enet.c) in the 3rd element.
We don't test the loopback feature so I am not sure if this change will allow you to fully test it.
Hope this helps.
Regards,
Garabo