> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/update-firmware/upgrade-to-v7-19.md).

# Upgrade to V7.19

Upgrade from V7.18 to V7.19, update the configuration format, and license the archive log.

This procedure is for upgrading from V7.18 to V7.19. There are some additional steps to follow compared to the normal firmware upgrade process. In particular, the RTU configuration format needs to be manually updated from V8 to V11 for this upgrade. V7.19 has a new feature (Archive logging) you must licence the feature before it can be used. This firmware release does NOT require a new Bootloader. Bootloader V3.04 remains valid for use with V7.19.

{% hint style="info" %}
**Applies to:** XL4 Plus RTUs on V7.18 with bootloader V3.04. Installers must use QTech Workbench V2.16 (or later) when upgrading firmware to V7.19. Upgrading to V7.19 requires a bootloader (V3.04 or later) to be installed first. See [Upgrade to V7.18](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/update-firmware/upgrade-to-v7-18.md).
{% endhint %}

## Before you start

* **Bootloader.** The RTU Bootloader firmware must be upgraded to V3.04 or V3.05 before upgrading the application firmware to V7.19. If you are upgrading from V7.18 to V7.19, the RTU will already be running V3.04 bootloader, which means that the logging Database (V3) is already formatted. You need only upgrade the application. The V3.05 bootloader is specifically for V7.19 to provide some additional service and support switches to reformat the Archive log if it develops a fault. However, it is acceptable to use V3.04 and upgrade the application to V7.19 in the field. If you wish to have V3.05 installed the RTU must be returned to QTech for service. We will also update the application to V7.19 in the process.
* **Archive log licence.** The XL4 Plus is also now fitted with a 128 MB memory chip for the Archive log. Even if the RTU has the Archive log chip fitted and the device is upgraded to V7.19, Archive logging must be licensed in order for the feature to work. All new XL4 Plus product is shipped with the Archive logging feature already licenced unless the product is ordered without the feature. For users upgrading from V7.18 to V7.19 and if the memory chip is fitted then you must obtain a licence key: see [Licensing and features](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/licensing-and-features.md). This attracts a fee for the license.
* You must be familiar with using QTech Workbench configuration software.

## Upgrade

1. We recommend you retrieve any outstanding logged data from the RTU to DATRAN via DATRAN Browser Historical Data Interface if you are a qualified DATRAN Operator. Or in an emergency manually retrieve the RTU log using Workbench.
2. Open Workbench and connect to the RTU (via USB), this will load the RTU config into Workbench.
3. Click the **Firmware upgrade** category in the sidebar menu then check the file format version (it may be 8 on the RTU and 11 in Workbench).
4. Click the **update** button and this will change the format to V10 on the RTU (displayed on screen just above the update button). Click the **update** button again and this will set the format to 11 on the RTU (displayed on screen just above the update button).
5. Click **Write to Device**, then restart the RTU.
6. Save the configuration to disk from the top menu **File > Save**.
7. Click the **Disconnect** button to close the connection from Workbench to the RTU.
8. Now follow the normal upgrade process. Insert a USB memory stick into the RTU which contains the application files, then recycle the power on the RTU to start the upgrade. When complete the RTU will restart and you can remove the USB memory stick.
9. Click the **Connect** button to reconnect to the RTU via Workbench.
10. Click the **licensing** Category on the sidebar menu then enter the new licence key and tick the new checkbox for **Archive Logging** (others should remain ticked as they were). Then click the **Write Licence** button.
11. Load the saved configuration you made in step 6 using the top menu **File > Open** then click the **write to device** button then reboot the RTU.
12. Click the **Disconnect** button to close the connection from Workbench to the RTU, then cycle the power to the RTU.
13. Click the **Connect** button to reconnect to the RTU via Workbench (and it will load the config from the RTU).
14. Click the **Archive Log** Category on the sidebar menu. The page will display configuration and status information but the log may be still disabled at this stage.
15. Check the two configuration checkboxes for **Enable RTU log Backup at Startup** (set to true) and **RTU Log Backup** (set to enabled) then click the **write to device** button then reboot the RTU.
16. If you reconnect Workbench and there is data in the RTU log you will start to see it being written to the Archive log and the statistics will update. The Archive backup should show as being enabled. Disconnect Workbench.

For more on the archive log, see [Data logging and the archive log](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/data-logging.md).
