2015-11-10 10:47 AM
Hey folks,
I'm trying to to create an img file from a web page using httpd_gen. The only version of httpd_gen I have is the source code (httpd_gen.c). I compiled this using gcc on two different linux machines (x86 based and ARM based). I try to download to a wifi module using AT+S.HTTPDFSUPDATE. The file downloads to the module, then throws this error on the last bit : Write len 617 -> 0x96000 (final) Wrote 90729 bytes Error (-12 @ 90725/540), cleaning up..I'm imaging the sample html web pages from the SPWF01S_CGIs_SSIs package. The output img file is almost identical to the outfile.img file that comes with the package, but it looks like the CRCs don't agree and the header area at the top of the img file is slightly different. Any suggestions?Thanks,-Seth2015-11-10 11:29 PM
Hi Seth,
it's not a problem on CRC (in this case, you'll get an error like ''...CRCs don't match...'').Please dump the full log, since command (first line is missing: ''...Image length...'').Anyway, it seems to me a problem on connection: ''-12'' usually means ''Server closed the connections''. If possible, try using another webserver.Ciaojerry2015-11-10 11:30 PM