This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129DNCPDT: Firmware Update over Ethernet

Part Number: TM4C129DNCPDT

Hello friends

I am using tm4c129dncpdt in my project and I am using bootloader application for firmware update through ethernet and I have taken that code from boot emac file.

Since I am using external phy in my project I have made some changes in the bootloader file but the enetreconfig function which takes clock as an argument is confusing me normally it is 120mhz but if I configure to 120 then lmflash programmer is able to connect but firmware update is not happening .But if I configure it to 30mhz firmware update is possible but it varies. Is the bootemac code works only for internal phy because in the code their is option for crystal frequency but I am using my external phy in rmii mode in which I am using oscillator. And some time boot tp failure occurs in my pc. And if the firmware updating fails some how then I have to restart my pc to once again to do the firmware. 

Regards

Harish 

  • Hi Harish,
    As far as I know the example was based on using the integrated PHY. For Ethernet operation the TM4C129 requires MOSC to be 25 MHz ± 50 ppm. Can you check if you have stable MOSC? You will also need to give the external PHY and the TM4C device a 50MHz reference clock if you are using RMII. You might be the first one to use the example with the external PHY so if you have some findings to make it work please share with the community.
  • Hi Charles
    Sorry for the late reply I am using rmii mode and I am using 50Mhz reference clock but I have some problem with Lmflash programmer it somehow works on some pc correctly. I have checked in wire shark but still it is failing in some pc.

    Regards
    Harish
  • Hi Harish,

     Can you please confirm if you met the electrical requirements on the MOSC and the EN0RREF_CLK?

  • Hi Charles

    Sorry for the late reply I have checked the above condition and my device is working properly. And I want to ask sorry because the problem was with our clients firewall setting.When I turned off the windows'8s firewall and start the firmware update using lmflash programmer it works fine. Sorry for wasting your time. Thank you for your help.

    Regards

    Harish

  • Hi Harish,
    Thanks for the update. It is good to know that the boot_emac_flash bootloader (with some modification) will work properly with an external PHY via the RMII interface.