cancel
Showing results for 
Search instead for 
Did you mean: 

LwIP webpage not updating

Carrcl
Associate II

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?  

 

1 ACCEPTED SOLUTION

Accepted Solutions
LCE
Principal

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

View solution in original post

7 REPLIES 7
Pavel A.
Evangelist III

Webpage? which webpage?

LCE
Principal

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

Carrcl
Associate II

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?

LCE
Principal

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

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.

LCE
Principal

@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?

Pavel A.
Evangelist III

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.