Boot Loader Upgrade
The Boot Loader upgrade is only required for nodes #02.02.57.00.00.76
or earlier that have not yet had their 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 'Firmware
!! IMPORTANT !!: If you have JMRI open, please close it.
Restart JMRI V4.6 or later and do not open the 'OpenLCB > Configure Nodes' menu until the Boot Loader upgrade has completed.
Select OpenLCB > 'Firmware Update'.
From the 'Target Node ID' drop down box, select the TowerLCC node to be updated.
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.
If an update to your Tower LCC firmware is needed, a program such as "Firmware Update" in JMRI version 4.6 or later is required.
To enter Firmware upgrade mode:
Start JMRI and select "OpenLCB".
Select ‘Firmware Update’ from the OpenLCB 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_rev_B5_UPDATE_CRC.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 B5.
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: B-5'.
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 flashing 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.