--- title: "Updating the XLC4 firmware" slug: "updating-the-xlc4-firmware" updated: 2026-09-02T05:49:31Z published: 2026-09-02T05:49:31Z canonical: "docs-linescan.alliedvision.com/updating-the-xlc4-firmware" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs-linescan.alliedvision.com/llms.txt > Use this file to discover all available pages before exploring further. # Updating the XLC4 firmware > [!NOTE] > NOTE - data loss during update process > > Wrong operations during the update process might cause data loss and the XLC4 control unit has to be returned to Allied Vision . > > Contact Allied Vision before starting a firmware update. > [!NOTE] > NOTE - personal settings of the XLC4 control unit > > During the update process all saved settings get lost. Check the settings and take notes before starting the update process ## Requirements - The XLC4 control unit is connected via RS232 port. Ethernet or USB will not work. - The application “PIC32UBL.exe” is downloaded. Contact Allied Vision support. - XLC4 Commander installed on the PC. ## Updating ### Erase old firmware 1. Connect the XLC4 control unit via RS232 to the PC. 2. Start XLC4 Commander and establish a connection with the XLC4 control unit. 3. Type the command “UP” in the command line. 4. Click **Send**. The old firmware is erased. ### Restart the XCL4 control unit 1. Disconnect the XLC4 Commander. 2. Switch off and on the XLC4 control unit. 3. After start-up of the XLC4 control unit the yellow LED blinks. The bootloader is ready for loading the new firmware. ### Install the new firmware | 1. Start the application “PIC32UBL.exe”. | | | --- | --- | | 1. Select the *Com Port* and click **Connect**. | ![](https://cdn.document360.io/eca58697-9c2f-461e-9f0a-e6205b74b693/Images/Documentation/image(32).png) | | 1. Click **Load Hex File** and select the “HEX”-file of the new firmware. | ![](https://cdn.document360.io/eca58697-9c2f-461e-9f0a-e6205b74b693/Images/Documentation/image(33).png) | | 1. Click **Erase-Program-Verify**. The download is started. 1. Wait for the response “Verification successful”. | ![](https://cdn.document360.io/eca58697-9c2f-461e-9f0a-e6205b74b693/Images/Documentation/image(33).png) | | 1. Click **Disconnect**. | ![](https://cdn.document360.io/eca58697-9c2f-461e-9f0a-e6205b74b693/Images/Documentation/image(33).png) | | 1. Switch off and on the XLC4 control unit. 2. Connect the XLC4 Commander with the XLC4 control unit. 3. Use command VR to check the firmware release. | |