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.

How is data displayed on my browser from hercules microcontroller- LAUNCHXL2 RM57L: lwIP Demo?

I m using a LAUNCHXL2 RM57L. I have followed the http://processors.wiki.ti.com/index.php/LAUNCHXL2_RM57L:_lwIP_Demo and I am able to display the webpage screen shot of which is here .

I dont understand how the microcontroller which is acting as the server has the data? Is it already in the microcontroller or is it being loaded when the program is loaded into the micro-controller? How is the MDIO module able to send this data and the image because MDIO is the one that writes to the PHY register?

I tried setting up breakpoints in the mdio.c  file but after the server is setup it seems the MDIO module is not accessed because in the debug mode on code composer studio the debugging session is completed and I am able to access the server(microcontroller) at the IP that I hardcoded into the code. So basically I m not able to see what happens in the microcontroller after I type the IP in the web browser. Is the MDIO module still active and writing data to the PHY register or for that matter are the buffer descriptore of EMAC still active in transmitting packets? How do I see that activity if it is true?

Also is there simpler codes that I could try to get a hang of the MDIO and the EMAC modules?

Thank you.

  • Hi Rishabh,

      I think the image is converted to the C like structures. So during the project build it becomes part of the program image stored in the flash. The image is stored in the fsdata.c

  • Hey Charles,

    Thanks a lot. It seems you are right but could you also help with the how the entire system of communicating works? I have asked all the relevant questions in the post.

    Thanks.
  • Hi,
    There are two interfaces. There is a Data interface to the Ethernet MAC, for sending and receiving Ethernet frame data. The webserver image is sent using the data interface. There is also the PHY management interface which is the MDIO that is used to read and write the control and status registers of the PHY. You use the MDIO to configure each PHY before operation, and to monitor link status during operation.