Skip to main content
Explorer
March 12, 2024
Solved

LwIP webpage not updating

  • March 12, 2024
  • 5 replies
  • 1480 views

Hello, 

I am using LwIP alongside a STM32F7. I am very new to network programming and I was wonder why the webpage is not updating when I modify the html code. If I visit the page via the IDE, the changes are there but on a live version of the site, nothing is updated. Is there a step I am missing to reflect the changes I make on the website?  

 

    This topic has been closed for replies.
    Best answer by LCE

    Each time you edit the html files, you have to use the makefsdata.exe tool to create a new fsdata.c file, then copy it into the correct folder: ..\Middlewares\Third_Party\LwIP\src\apps\http

    5 replies

    Super User
    March 12, 2024

    Webpage? which webpage?

    LCEAnswer
    Graduate II
    March 13, 2024

    Each time you edit the html files, you have to use the makefsdata.exe tool to create a new fsdata.c file, then copy it into the correct folder: ..\Middlewares\Third_Party\LwIP\src\apps\http

    CarrclAuthor
    Explorer
    March 13, 2024

    Thank you! I had a hunch that was the direction I needed to go. I am getting an error when trying to run the exe on windows. 

    makefsdata.exe- System Error

    The code execution cannot proceed because MSVCR100D.dll was not found. Reinstalling the program may fix this problem. 

    Yet, reinstalling did not help, and I cannot find this library because it's a debug version which is strange. any ideas on how to get this working?

    Graduate II
    March 13, 2024

    Sorry, I can't remember if I had this problem, and how I solved it.

    I have admin rights on my work laptop, I guess I found that dll "somewhere" and copied it... somewhere else... :D

    Super User
    March 13, 2024

    That is the debug version of the VisualC runtime library from VisualStudio2010.  That is not usually required by production software. Are you building code (makefsdata.c) using the "debug" build configuration of VisualStudio?  If so, try switching to the "Release" build configuration.  Though if you have VisualStudio installed I would expect it to have installed the debug libraries as well.

    If that doesn't work, a simple web search for that file name will tell you how to install it.  If that worked before on your PC, perhaps something corrupted the existing installation.  Re-installing should fix it.

    Graduate II
    March 14, 2024

    @Bob S thanks for the info!

    I think this makefsdata.exe tool came with some STM32 Cube / HAL package.

    So maybe some ST people might help?

    Super User
    March 14, 2024

    It is here:

    https://git.savannah.nongnu.org/cgit/lwip.git/tree/src/apps/http/makefsdata/

    In two variants: as C source file and portable perl script.