The Modtronix SBC68EC Web Server can be built to be used with any revision of the SBC68EC. All new (since hardware V2.01) boards are delivered programmed with a network bootloader for updating firmware. Such a board can be identified by a BLN Vm.nn label on the front of the board - normally stuck on the RTL8019AS 100 pin network chip. Where Vm.nn is the version number of the bootloader. The bootloader is contained in the bottom 2K bootblock of the PIC microcontroller.
For older versions of the SBC68EC without a bootloader, a PIC programmer is required to program the board. For details on programming the target board, see Updating The Firmware.
For pre build binary versions of the latest firmware, see firmware for the SBC68EC.
When using the MPLAB C18 Compiler and MPLAB IDE, you have to ensure that the versions of both programs are correct. Click here for details. The MPLAB C18 projects included with this download have been configured for MPLAB C18 Compiler V3.02, and MPLAB IDE V7.22 or higher. Only MPLAB C18 Compiler V3.02 can be used, other versions will not work!
All MPLAB project included with this source code download have been configured for when the MPLAB C18 C compiler has been installed on the c drive in a folder named "mcc18vmnn". Where "mnn" is the version number of the compiler. For example, V3.02 of the C18 compiler has to be installed in the "c:\mcc18v302" folder. If this is not the case, the user will have to:
- Modify the paths in the MPLAB project. Right click on the MPLAB project in the "Project" window in MPLAB, select "Build Options" from the context menu, and update the paths.
- Modify the Language tool locations in MPLAB. Select "Set Language Tool Locations" from the "Project" menu in MPLAB. Update the paths for the MPLAB C18 compiler.
When using the HI-TECH PICC18 compiler, V8.35PL3 or higher should be used. This project was tested with V8.35PL3.
The "websrvr_ht_hwxyy.mcp" and "websrvr_mc_hwxyy.mcp" MPLAB IDE project files can be used for compiling the project for use with a Bootloader. The "websrvr_ht_hwxyy.mcp" projects use the Hi Tech compiler, and the "websrvr_mc_hwxyy.mcp" projects use the MPLAB C18 Compiler.
The trailing "_hwxyy" part of the file name indicates for what hardware version board the project is meant (see below for details on identifying the version number of a board). For example, the "websrvr_ht_hw211.mcp" file will be for a hardware V2.11 board with a bootloader.
Both these projects are configured to be used with a SBC68EC Board with a bootloader. This basically means that in stead of starting from address 0, the code starts from address 0x800. The bootloader lives in the code space 0x0 to 0x7ff. The MPLAB projects included in the source code download have already been configured to be used with the bootloader - nothing has to be done. Just build the project, and the generated hex file can be loaded onto the SBC68EC via the Modtronix Network Bootloader application.
The "websrvr_nobl_ht.mcp" and "websrvr_nobl_mc.mcp" MPLAB IDE project files can be used for compiling a the project for use without a Bootloader. The "websrvr_nobl_ht.mcp" project uses the Hi Tech compiler, and the "websrvr_nobl_mc.mcp" project uses the MPLAB C18 Compiler.
The trailing "_hxyy" part of the file name indicates for what hardware version board the project is meant (see below for details on identifying the version number of a board). For example, the "websrvr_nobl_ht_hw201.mcp" file will be for a hardware V2.01 board without a bootloader.
Both these project are configured to be used with a SBC68EC board without a bootloader. This basically means that in stead of starting from address 0x800, the code starts from the normal location, address 0.
Compiled (binary) versions of the firmware for all revisions of the SBC68EC are contained in the "../src" folder of the downloaded source code. The hex file name indicates which C Compiler was used to build it, if it is meant for a board with a bootloader, and for what hardware version board it is.
The trailing "_hwxyy" part of the file name indicates for what hardware version board the file is meant (see below for details on identifying the version number of a board). For example, the "websrvr_ht_hw211.hex" file will be for a hardware V2.11 board.
The following hex files are included for all SBC68EC board versions:
- websrvr_ht_hwxyy.hex - Hex file for use with bootloader, compiled with the HiTech compiler. Is created by opening and building the corresponding "websrvr_ht_hwxyy.mcp" MPLAB project file.
- websrvr_mc_hwxyy.hex - Hex file for use with bootloader, compiled with the MPLAB C18 compiler. Is created by opening and building the corresponding "websrvr_mc_hwxyy.mcp" MPLAB project file.
- websrvr_nobl_ht_hwxyy.hex - Hex file for use with bootloader, compiled with the HiTech compiler. Is created by opening and building the corresponding "websrvr_nobl_ht_hwxyy.mcp" MPLAB project file.
- websrvr_nobl_mc_hwxyy.hex - Hex file for use with bootloader, compiled with the MPLAB C18 compiler. Is created by opening and building the corresponding "websrvr_nobl_mc_hwxyy.mcp" MPLAB project file.
To create any of the above mentioned hex files, open its corresponding MPLAB project file (*.mcp) with MPLAB, and click on the "Build All" toolbar button. This will compile and link the project, and create the hex file.
There are a couple of different hardware versions of the SBC68EC. The current version is hardare V2.21. The following is a complete list of all version boards, and information how to identify them:
- Hardware V2.21 with bootloader: Label on front of board with "HW: V2.21". The PCB is marked "SBC65EC REV2", and is assembled with the PIC18F6680 chip. There are two small surface mount resistors soldered onto the back of the board, and space for a 8 pin surface mount chip (Ramtron FRAM). This board is programmed with the bootloader.
- Hardware V2.21 without bootloader: NO Label on front of board! The PCB is marked "SBC65EC REV2", and is assembled with the PIC18F6680 chip. There are two small surface mount resistors soldered onto the back of the board, and space for a 8 pin surface mount chip (Ramtron FRAM).
- Hardware V1.20 without bootloader: NO Label on front of board! The PCB is marked "SBC65EC REV1", and is assembled with the PIC18F6680 chip. There are NO components on the back of the board.
Generated on Wed Feb 22 12:39:27 2006 for SBC68EC Web Server by
1.4.5