Dangerous Prototypes

In development => Project logs => Topic started by: zirano36 on July 25, 2011, 06:01:27 pm

Title: SURE wifi webserver (MB-CM14117) and external EEPROM
Post by: zirano36 on July 25, 2011, 06:01:27 pm
Does anyone know how I can set the EEPROM in the Stack v5.25 (which is the module that uses the MB-CM14117, wifi webserver) to save the Web page in this external EEPROM?

It seems that some websites, when the SD memory Can store gives problems when displayed by the browser. I think this is because the access time to the SD memory card is long and this causes these errors. Perhaps the solution is to store the websites in the external EEPROM as the access times are shorter this chip.

Does anyone know how to do this?

thanks
Title: Re: SURE wifi webserver (MB-CM14117) and external EEPROM
Post by: Sjaak on July 25, 2011, 07:27:49 pm
the best way is to make the latest stack work with your board. AFAIK doesn't supply sure the whole stack (included the needed tool to set the settings in tcpip.h). Also some bugs are solved in the new stack.

Basicly copy a tcp/ip example, change the chip, copy the (by sure supplied) init() function and you are good to go.

Unfortunately the stack can only be downloaded from microchip directly.

You can also fiddle some bits in the tcpip.h setting to make the eeprom work (dunno if the supplied source is completely enough to compile and to support eeprom).

BTW a SD card is also a SPI eeprom ;)
Title: Re: SURE wifi webserver (MB-CM14117) and external EEPROM
Post by: zirano36 on July 25, 2011, 11:16:48 pm
My knowledge is limited to the Microchip Stack, there are many files and variables. The Stack v5.25 version with the modified files to webserver wifi (MB-CM14117) SURE works perfectly, I even this board has the solder to an EEPROM, imagine that with a minimal change in the corresponding file could making work from the EEPROM.

SURE Electronics offers a compressed file which includes everything you need:

MB-CM14117V1.0_code.zip

If anyone knows the changes could make would appreciate the sharing.

thanks

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00882040456session_write_close ( )...(null):0
20.00912172032ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00912172808Database_MySQL->query( ).../DatabaseHandler.php:119
40.05462311528Database_MySQL->error( ).../Db-mysql.class.php:273