Is SPWF04 designed for running HTTP server and editing files over AT cmds simultaneously??
Hello everyone,
I've got one question about SPWF04 usage.
Hardware design:
- There is SPWF04
- There is SD card connected to SPWF04
- There is a host MCU that controls SPWF04 over SPI
What it has to do:
- Host MCU collects data from CAN
- Host MCU writes those data to log files on SD card that is connected on SPWF04 (AT+FSC cmd)
- SPWF04 runs a web interface where user can list and download those files
Is it possible and safe to run HTTP Server while host MCU is working with files on external SD?
I've got problems with it - when anybody connects to web server, SPWF04 starts to send to host MCU responses 'Unable to open file', and this error continues even when client disconnects from web server.
Sometimes module ends in watchdog.
I think that there could be problem with FAT on SPWF04 - it cannot have opened two files (index.html for client browser and something.log for writing to) simultaneously.
Am I right♯?
Best regards
Richard Bene�
#spwf04