Boot Loader Upgrade
Note: This Boot Loader
upgrade is ONLY required for nodes #02.01.57.00.00.76 or earlier that
have not yet had their original B3 boot loader upgraded. This
upgrade makes the firmware update process work better with JMRI and
other programs. If your node is newer than this you may skip directly to
!! IMPORTANT !!: If you have JMRI open, please close it.
Restart JMRI V4.8 or later and do NOT open the 'OpenLCB > Configure Nodes' menu until after the Boot Loader upgrade has been completed.
Select OpenLCB > 'Firmware Update'.
From the 'Target Node ID' drop down box, select the TowerLCC node to be upgraded.
Click Select to pick a firmware file.
From the file menu, select this file: 'bootloader_V11_fix_for_B3.hex'.
Click "Open' and leave 'Address Space' at '239'; do not check 'Lock Node'.
Now click 'Load' to download the new boot loader V1.1.
During the download the Gold led will blink to show that the node is in 'Boot Loader State'.
The progress bar on screen will now fill up to 100%, on the node the Blue and Red led show bus activity.
After some time the message 'Download completed successfully' should appear.
The Gold led will continue to blink, because the node will remain in 'Boot Loader State'.
Do not close the 'Firmware Downloader' window at this time, leave it open.
From the OpenLCB menu, click 'Configure Nodes' and select the (partially) updated node.
It should now show 'Mod: Tower-LCC Bootloader' and 'Software: V1.1'.
Do not close the 'OpenLCB Network Tree' window at this time, leave it open and proceed to Firmware Upgrade step #3 below.
Note: Version C1 stores its Virtual Track Circuit information
in a different format than version B5. You will need to re configure
this section after an upgrade from B5 to C1 or later. Do NOT restore a
configuration saved from an earlier 'B' firmware version. It will
destroy your virtual track circuit information.
If an update to your Tower LCC firmware is needed, a program
such as "Firmware Update" in JMRI version 4.20 or later is required.
Download the latest firmware version to your local JMRI User Files
To enter Firmware upgrade mode:
Start JMRI and select "LCC". (or "OpenLCB")
Select ‘Firmware Update’ from the LCC drop down list.
Select your 'Target Node ID'. If you have just completed the boot loader upgrade it should still be selected.
Click ‘Select’ to pick a firmware file.
From the file menu, select: 'TowerLCC_C5b_UPDATE.hex' or the latest upgrade available.
Optionally you may check the ‘Lock Node’ check box to take it off line during the upgrade.
Click 'Load' button to initiate the upgrade to Tower-LCC revision C5a.
Wait till 'updating device firmware..' is complete.
Switch back to the OpenLCB Network Tree window.
Close the map container of the updated node by double clicking it.
Re-open (refresh) it by double clicking it again.
It should now show 'Mod: Tower-LCC' and 'Software: C-5a'.
Any errors will be shown in the lower window ticker tape display.
If the node does not automatically enter boot mode and start the upgrade it may be forced into boot mode by un-powering it, then holding down the ‘Gold’ button as you power it up again. The gold LED should start blinking to indicate that it is in forced boot mode. This will also likely be required after a failed upgrade attempt.
Master Clock Adjustment
You may need to adjust the master clock rate if you are upgrading from nodes #02.02.57.00.00.76 or earlier. Use the blue/gold buttons to put the node into clock calibrate mode. Hold both of the buttons down for 10 seconds until the blue and gold LEDs start to flash rapidly, then once per second. A 100Hz signal will appear on the Aux port pin 1. Use a calibrated frequency meter or digital scope to measure it. If it is off frequency you may then ‘tune’ the master clock by pressing either the Blue or Gold buttons to raise or lower the master frequency. The frequency should be set to within 0.1% or better for optimal CAN bus length. This frequency is temperature stabilized from -10C to 75C.