|
|
WEL Software Update
Beginning with software version 2.0,
the WEL stores it's operating software as a file in Flash memory. Just
like a regular PC, the first thing the WEL does on reset is boots this program
into RAM and then starts executing. The advantage of this system is that
it's possible to load a new program into flash, without destroying the current
program. New programs are loaded via the Ethernet connection, using a
program called an "Update Manager". The Update Manager first locates the
WEL on the network, it then temporarily halts the current program. The
user (you) can then inspect the flash file system and load a new program, either
replacing the existing program, or keeping it in Flash as a backup. New
programs exist as "Binary Image" (.bin) files. The latest .bin file, as
well as the UpdateMGR.exe file, can be downloaded from my
Support Files page.
Here are the detailed steps for loading a new program onto the WEL. It
assumes that you have downloaded the UpdateMGR.exe program and the latest .bin
file.
In the screen dumps shown here, the current program running on the WEL is Rev
2.2 and it's being updated to Rev 2.3. You can determine the WEL's current
version by simply logging onto the WEL's home page. The version and date
are shown at the top of the screen.
|
Step 1 Start the program. Run the Update Manager by double clicking
its Icon in Windows Explorer.
This is the expected display screen. |
|
Step 2 Locate the WEL Click the Search
For Devices button. The program will broadcast a "hello"
to any WELs on the network. Any WEL that is present will
respond with it's current software version.
This screen shows a typical response
You can see that a WEL with IP Address 192.168.1.200 has
responded and indicated that it is running a "User Program".
This program is "WEL 2.2 - 6/11/2006".
To load the new program, the desired WEL must first be selected.
Click on the first (only) line in the device list. this
will prompt the popup shown next.
|
|
Step 3 Restart the WEL program in download mode.
This popup is indicating that in order to download a new program to
this WEL, you need to restart the BIOS in download mode.
Click Yes.
|
|
Step 4 Wait for program to restart. The
Update Manager will send a reboot command to the WEL. If the
WEL is visible from your location, you will see the the LEDs light
up in sequence indicating the restart operation.
The Device list will be cleared and after several seconds the
Update Manager will start looking for the WEL again. Within
about 10 seconds, the WEL will appear on the list again, but this
time it will indicate "No Loader" at the end of the line.
Click on this line again and you will see the status message "Config
Table Read Successfully" appear below. Once this has occurred,
the Download Tab will be enabled.
|
|
Step 5 Prepare for the download process.
Click on the Download tab and you should see a screen like the one
shown to the left.
The list shows the files currently loaded into the Flash file
system. The first file (1) will be the WEL Boot program (OCH_WEL_INIT.bin).
The second file (2) will be the configuration information for your
particular WEL (UserBloack.dat). Neither of these files should
be changed in ANY WAY!
The third file (3) shown here is the current program
(OCH_WEL_2.2.bin). It is marked as "Primary" which means it
will be booted on startup. We want to change this file's
status to "Backup" so we can load a new primary.
|
|
Step 6 Back up the current program. Click
on the OCH_WEL_2.2.bin file to select it and then click the Set
Backup button.
The screen should end up as shown here. |
|
Step 7 Adding a new file. We will add the
new program into file slot four (4). So click this line to
select it, and then click the Add File button.
An "Open File" dialog will popup as shown next.
Note: If you already have a backup program in flash, then you
can Replace that file with the new program, and make the current
program the backup.
|
|
Step 8 Select the new binary image
Navigate to the new binary image (.bin file) you downloaded from
this website and select it.
Make sure the Compress File box is
checked.
This will enable you to have additional space in the Flash for other
files.
Click Open to finish the selection process.
|
|
Step 9 Downloading the file. Once the
selection has been made, the file will be downloaded in compressed
form. Once it's finished, the new file should be shown in the
file list (OCH_WEL_2.3.bin) and it should be marked as "Primary".
Your system is now ready to be re-booted to run the new program. |
|
Step 10 Rebooting. You must now re-boot
the WEL to start it using the new program. This can be done by
physically resetting the WEL using the reset button, or you can do
it remotely using the Update Manager.
Switch back to the Search/Select Device tab, and click on
the Reset Device button.
This will reboot the board.
After about a minute, click the Search For Device button
again and see that the new software revision is reported.
|
The Web Energy Logger is an Internet Appliance that monitors a 1-wire sensor network, and posts live data to a web site for display and analysis.
For more information, contact Thunder Bay Electric.
|
|