Tower-LCC Firmware Upgrade.

Be sure that you are using JMRI version 4.20 or later. If you have nodes # or earlier, then Download 'bootloader_V11_fix_for_B3.hex' and place it into your local JMRI preferences folder or some other place where you can find them easily. Also download the latest firmware. (e.g. 'TowerLCC_C5b_UPDATE.hex') Note that these upgrades will not disturb your existing configuration data which is stored in a different chip.

Boot Loader Upgrade

Note: This Boot Loader upgrade is ONLY required for nodes # 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 'Firmware Upgrade'.

!! IMPORTANT !!: If you have JMRI open, please close it.

  1. Restart JMRI V4.8 or later and do NOT open the 'OpenLCB > Configure Nodes' menu until after the Boot Loader upgrade has been completed.

  2. Select OpenLCB > 'Firmware Update'.

  3. From the 'Target Node ID' drop down box, select the TowerLCC node to be upgraded.

  4. Click Select to pick a firmware file.

  5. From the file menu, select this file: 'bootloader_V11_fix_for_B3.hex'.

  6. Click "Open' and leave 'Address Space' at '239'; do not check 'Lock Node'.

  7. 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.

Firmware Upgrade

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 folder.

To enter Firmware upgrade mode:

  1. Start JMRI and select "LCC". (or "OpenLCB")

  2. Select ‘Firmware Update’ from the LCC drop down list.

  3. Select your 'Target Node ID'. If you have just completed the boot loader upgrade it should still be selected.

  4. Click ‘Select’ to pick a firmware file.

  5. From the file menu, select: 'TowerLCC_C5b_UPDATE.hex' or the latest upgrade available.

  6. Optionally you may check the ‘Lock Node’ check box to take it off line during the upgrade.

  7. Click 'Load' button to initiate the upgrade to Tower-LCC revision C5a.

  8. Wait till 'updating device firmware..' is complete.

  9. Switch back to the OpenLCB Network Tree window.

  10. Close the map container of the updated node by double clicking it.

  11. Re-open (refresh) it by double clicking it again.

  12. It should now show 'Mod: Tower-LCC' and 'Software: C-5a'.

  13. 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 # 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.