Crystalfontz CFA039A0 Field Update Kit
======================================================
Provided by Crystalfontz America Inc.
Support email: support@crystalfontz.com

Kit Contents:
  *.blf                       Firmware image file.
  firmware_update.exe         Windows firmware update utility (USB/RS232).
  Qt6*.dll, platforms\        Qt Files required by firmware_update.exe.
  Qt6_Licence.txt             Qt licence information.

There are two ways to load the firmware onto the module:
  Method 1 - microSD card (no PC connection required)
  Method 2 - firmware_update.exe utility (via USB or RS232)

IMPORTANT:
If you have pins connected to the module's H1 header, bootloader mode will drive those lines low.
We recommend that you disconnect any cable from H1 before entering bootloader mode.

Entering Bootloader Mode
------------------------
Both methods require the module to be in bootloader mode.
Enter it in any of these ways:
  a) Unplug/de-power the module, then hold the Up and Down keys while powering-on the module.
  c) Click "Reset Module into Bootloader Mode" in firmware_update.exe.
  b) Send the "Restart into Bootloader Mode" packet command (command 0x05, data 0x58, 0xCF, 0x05).

Method 1 - microSD Card
-----------------------
  1) Copy the firmware image (.blf) file onto a FAT32 formatted microSD card.

  2) Rename the firmware file on the card to "cfa039a0.blf".

  3) Insert the microSD card into the module.

  4) Enter bootloader mode (see "Entering Bootloader Mode" above).

  5) Press the Tick button to enter the Firmware Loader.

  6) Press the Tick button again to update the firmware. Do not remove power or the microSD card
     while the update is in progress.

Method 2 - firmware_update.exe Utility (USB or RS232)
-----------------------------------------------------
Installation:
  No installation is required. Keep firmware_update.exe in the same folder as the Qt6*.dll files
  and the "platforms" sub-folder, then run firmware_update.exe.

To put the module into bootloader mode and upload firmware:
  1) Connect the module to the PC via USB or RS232. If using RS232, ensure proper power is being
     supplied to the module.

  2) Open the utility (firmware_update.exe).

  3) In "Step 1 - Select The Firmware Image", click the "Select..." button and choose the firmware
     image (.blf) file supplied by Crystalfontz.
     The "Information" box will show the file's details.

  4) In "Step 2 - Serial/USB Port Selection", select the port for the connected module.
     If connected via RS232, also set "Baud Rate Selection" to the module's current baud rate
     (the default is 115200). The baud rate is ignored for USB connections.
     The port list refreshes automatically; ports already open in another program are marked "(in use)".
     Close any other software using the module before continuing.

  5) In "Step 3 - Enter Bootloader Mode", click "Reset Module into Bootloader Mode".
     After a moment, the module will reset into bootloader mode.
     If the module is already in bootloader mode, skip to step 7.

  6) In "Step 2 - Serial/USB Port Selection", select the port for the module's bootloader.
       - USB: the module re-connects as a new port once in bootloader mode (for example,
         "CFA10052-USB Bootloader"). Select this new port.
       - RS232: select the same COM port as before.

  7) In "Step 4 - Update Firmware", click the "Update Firmware" button.
     Progress is shown in the "Status" box. Do not disconnect the module or close the utility
     while the update is in progress.

  8) When the "Status" box shows "Firmware transfer complete." the module will restart and show the
     splash screen. You are now using the new firmware.

Notes:
  - The update is always forced, so the selected firmware will be loaded even if it is the same as,
    or older than, the firmware already on the module.
  - The update will be refused if the firmware file's manufacturer/model does not match the
    connected module ("ERROR: Firmware file manufacturer and/or model details do not match device!").

Troubleshooting:
  - "TIMEOUT: No bootloader information reply was ever received." - the module is not in bootloader
    mode, or the wrong port is selected. Repeat steps 5 and 6.
  - "ERROR: could not open the specified USB/serial port!" - the port is in use by another program,
    or the module was disconnected. Close other software and reselect the port.
  - If an update fails part way through, reset the module and attempt loading the firmware again
    from step 4.
  - If the "Reset Module into Bootloader Mode" button does not work, unplug/de-power the module and
    hold the Up and Down keys while powering-on the module. Once the module is in bootloader mode,
    continue from step 6 above.
