2018-05-28 02:13 AM
Hello everyone,
I've got one question about SPWF04 usage.
Hardware design:
What it has to do:
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�
#spwf042018-05-30 04:10 PM
Hello Richard,
FW 1.1 is not suitable for accessing a file from HTTP server while the MCU is writing to it from AT command, you should synchronize the access from HTTP server (e.g. using a dynamic web page) in order to avoid accessing a file being modified.
Next FW will properly manage concurrent access to a file from HTTP server and AT command.
Best Regards,
Elio