0

Context of the question

I am working with AZURE RTOS (that is ThreadX) and I have implemented an HTTP web server application starting from the application example called Nx_WebServer and prepared for the demo board STM32F429ZI-Nucleo. Here there is the code of the example.

The file web_demo.bin

That example uses files html, js, jpg, svg to create a web site. These files are written in the flash of the STM32F429 starting from address 0x08100000. These files are stored in the folder Web_Content with an other file called web_demo.bin. By the application STM32CubeProgrammer is possible to write the file web_demo.bin into the flash (the readme file explains how to do).
The file web_demo.bin is created by all the other files of the directory Web_Content and contains all those files.

Now I need to change some of the files of the Web Site (index.html and dashboard.html) an so I have to regenerate the corresponding web_demo.bin, but I am not able to do that.

Note. The Server Web is implemented by a NetXDuo addon and uses the FileX API to access the file of the web site, so I think that in this bin file is present a File System which is written in the flash together with the files.
For example the function fx_file_open() of FileX need a filename as parameter; this means that in the Flash starting from address 0x08100000, must be present a filesystem.

Question

Does Someone know how to create the file web_demo.bin starting from the files of the web site?

PS: In the ST Community there is an identical question, but that question has not a satisfactory answer.

Thanks

frankfalse
  • 1,553
  • 1
  • 4
  • 17

0 Answers0