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.

TM4C1294/LwIP/enet_io - How to load the webpages in the flash at run time?

Hi,

The makefsfile.exe with -b option generate a binary that can be load to the internal flash of the TM4C1294 or to an external QSPI flash at run time.

I used:

makefsfile -i fs -b -o fsdata.bin -r -h

analyzing the fsdata.bin I could not figure out where is located the table with file names, pointers and sizes.

So, How can a file inside the fsdata.bin can be opened and read?

Ari. 

  • Hello Ari,

    the files are being linked at compile time by means of the const structure.

    Regards
    Amit
  • Amit

       Amit, Is the -b option of the makefsfile to generate a bin file to be loaded into flah at run time?  

       If so. How the file system information is coded in the bin file?

     I'm trying to figure out how the generated binary file is coded and create the const structure you mentioned, in the RAM of the TM4C129x at run time. I don't understand why this structure is not also created in the binary file by the makefsfile application when the -b option is used.  

       Can you tell me another way to load a new web page to the internal flash of the TM4C129x at run time?

     

       Ari.

     

  • Hello Ari,

    The binary option was implemented from the older LM3S devices example code, where a TFTP server was being run.

    e2e.ti.com/.../46181

    This is a part of the example code that has not been brought over and I would have to see how to get this workin (not a trivial task for me)

    Regards
    Amit