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.

TM4C1294KCPDT: Problem while implementing both Web server and data logging on sd card

Part Number: TM4C1294KCPDT

Hello Everyone,

In my application (NORTOS, lwip, TivaWare_C_Series-2.1.2.111) I am implementing web server in sd card that worked fine, also I checked data logging of data at defined interval (i.e. in seconds) in sd card which also worked for me.

But when I try to implement both the application in one project, then after some time i am unable to get data from sd card i.e. web browser shows error: "404: The Requested file cannot be found."

Also data logging to file not happened at that time.

When I tried to debug the project in ccs, at the time of 'f_open' function in 'fs_open' of html fs file, it gives me error "FR_NOT_READY" or "FR_DISK_ERR". Same errors are coming for data logging part.

Could any one suggest some example code for the same or some methods to implement this application..

  • Hello Urvi,

    Unfortunately we do not have any examples demonstrating what you are looking for.

    Since the implementation works separately, that hopefully will help with debug here. I would suggest breaking down the application to separate the SD card and Ethernet piece at first in order to verify that your code to read from the SD card and your code to connect to the Ethernet works on their own in the same project. I would suspect that something is not quite lining up there. Maybe a shared pin is causing an issue, or something regarding configuration. If they are separated it should be easier to debug that piece then.

    Once you have validated they both work in the same program, then you can start looking into how to place the calls you need at the right areas.