Restoring default configuration on SBC65EC and SBC68EC boardsThe following applies to V3.00 and higher SBC65EC and SBC68EC boards. They will have a sticker on them saying "HW: V3.00" or a higher number. If the board can not be access via the "Modtronix Network Bootloader" application anymore, it can be reset to it's default state. This can happen if the user programs the board with faulty code for example. For details on doing this, see the "Updating the firmware on a faulty board" section in the documentation:
Details for SBC65ECDetails for SBC68ECBasically the board must be started in Safemode. In this mode it will start up with default settings and IP address. It can then be accessed via the "Modtronix Network Bootloader" using one of the 3 default ip addresses, and programmed as usual.
Restoring default configuration on old SBC65EC and SBC68EC boardsAll version of the SBC65EC and SBC68EC up to V2.04 and all versions of the SBC44EC and SBC45EC up to V2.03 store their configuration data in the first 64 bytes of the external EEPROM. All V3.00 and higher boards store their configuration data in the internal EEPROM of the PIC chip, and this section does NOT apply to them.
When developing code that modifies the EEPROM data, it is very easy to corrupt the configuration data on the EEPROM. Be aware that when trying to write data to the EEPROM you could accidentally overwrite the configuration data of the EEPROM, which will cause the SBC board to not work after next power up - due to the EEPORM being corrupt!
If the EEPROM configuration data gets corrupted (board doesn't start up anymore), do the following:
1) Remove power from the SBC board and remove the EEPROM chip from it's socket.
2) Apply power to the SBC board. Seeing that there is no EEPROM, the board will load default configuration.
3) Use web browser to log onto the SBC board's web page - will be at default IP address of 10.1.0.1 (
http://10.1.0.1).
4) Insert EEPROM into socket - be VERY carefull seeing that the board is powered!
5) On web page, make any modification and press the "update" button. For example, make a change on the "port settings" page and click on "update" button.
After clicking the update button, the EEPROM will be written with new configuration data. It will now work after power up again, and the configured values will be loaded.
Uploading Web pages via FTPThe following documentation only applies to Ethernet boards with software V2.00 to V2.04. For information of uploading web pages for the new V3.00 and higher Ethernet boards, please see the detailed documentation on the board's product page, or included with the downloaded source code.
Configure your ftp program as follows:
Host name(port): 10.1.0.1
Username: ftp
Passpword: microchip
I always use Total Commander to do all ftp transfers. It is a great
FREE utility that can do much more then just ftp.
1) Get a free download from
http://www.ghisler.com/2) Select <net><ftp connect> from menu
3) Click on "new connection" button.
4) Enter any name in "Session" box, and above values in "Host name", "Username" and "Password" boxes
5) Connect and download *.bin file containing HTML pages.
For details on creating the *.bin file, see documentation. It is basically just an image file containing all web pages in a given folder. The "go.bat" file in the ../src/webpages folder (in modtronix web server source download) creates a default.bin file for the web pages contained in the ../src/webpages/default folder. So, to modify the web pages and download your new web pages to the SBC44EC, SBC45EC, SBC65EC, SBC68EC,.... do the following:
1) Make changes to web files (htm, cgi...), or add new files to the ../src/webpages/default folder
2) Execute the ../src/webpages/doall.bat file. This will create the ../src/webpages/default.bin image file.
3) Download the default.bin image file just created to your SBC44EC, SBC45EC or SBC65EC board via ftp.
Your Ethernet board will now have the new web page on it.