I am using STM32F7 series. I created httpd server ethernet project. I have web code which html,css,js. But my microcontrollers memory not enough for these codes. I need to use SD Card.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-10 8:04 AM
I need to put it my web codes (html, css, js) to SD Card. Also These codes need to work on SD Card. Because my web codes memory size is around 300MB. Normally I worked my code (basic html files) without SD Card. It needs converting to fsdata.c files. I have 'makeFSdata.exe' file. When I change to HTML codes, I click and work .exe file. Then build my project.
How is it possible with SD Card? All web site folders need to work on SD Card.
- Labels:
-
Ethernet
-
SDIO-SDMMC
-
STM32CubeIDE
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-11 2:14 AM
Hello there,
Are you using on an STM32 provided board or your own custom PCB? Did you check for example projects for when servers and interfacing with uSD cards?
Some inspiration:
C:\Users\USER\STM32Cube\Repository\STM32Cube_FW_F7_V1.16.0\Projects\STM32746G-Discovery\Applications\FatFs\FatFs_uSD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-12 3:47 AM
It didn't help to me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-12 3:53 AM
also this is my designed board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-12 5:21 AM
Should be possible to integrate SDMMC and FATFS support, and get the serving routines to pull the data from files directly rather than the fsdata methods.​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-12 5:50 AM
Also note that all decent browsers understand compression. Large static files can be stored in compressed form and sent out as is.
