AnsweredAssumed Answered

RMII to MII - Hangs when pinging error

Question asked by Guillermo Sanchez on Apr 18, 2011
Latest reply on Apr 27, 2011 by Guillermo Sanchez

Hi all,


First, be so kind of pointing me the right sub-forum if this is not the right one. Thanks.


I'm currently developing a board using the m54455evb as model, with MCU10.1 and MQX 3.6.2 (MFS, RTCS and Shell). As test program, I'm adapting the "Shell Test" included in the MQX 3.6.1 release (no mayor changes in the MQX3.6.2 version).  This includes Ramdisk, the RTCS library and a simple shell to test the board capabilities. The code works fine.


When porting the  code to my board, I have found that my hardware is designed to work in MII mode interface and the evaluation board works in RMII. I have changed the "_bsp_enet_io_init " function in the "gpio_init.c" file under BSP, so it initializes my FEC into MII mode. No other changes to FEC configuration have been made.





Then, after rebuilding the whole set of libraries and flashing the device, I can ping from/to the board for a few seconds. After those,  the program hangs. Its strange because I can even start a Telnet server on the board if I hurry. But before a minute has pass, It hangs. Normally in the middle of a RTCS instruction. 



I'm open to any ideas regarding this issue.