Windows

Updating the firmware with ST's DFU Tool is a relatively easy process which only requires a few steps. The tool requires Windows 10 or earlier versions. For a full technical description of the tool we refer to this application note from ST

  1. Download and install the DFU tool.

  2. Download the latest firmware (.dfu file).

  3. Open the DFU tool called "DfuSe Demo".

  4. Remove the jumper from the BOOT0 pin on the pozyx device and insert the USB to your computer. After the driver has automatically installed, "STM device in DFU mode" should become visible under Available DFU devices.

  5. UUnder "Upgrade or Verify action", click on choose and select the .dfu file.nder "Upgrade or Verify action", click on choose and select the .dfu file.

  6. Make sure targetid is set to: 00 - Internal Flash.

  7. Click on Upgrade to upload the new firmware version.

  8. Place the jumper on the BOOT0 pins again to use the Pozyx device.

MacOS and Linux

Updating using dfu-util is a very good choice if you're comfortable with the command line.

  1. MacOS: Install dfu-util using Homebrew or from source.

  2. Linux: Install dfu-util from your distro's package manager.

  3. Remove the jumper from the BOOT0 pin on the Pozyx device and insert the USB to your computer.

  4. Download the latest firmware (.dfu file).

  5. It's important to only have a single device in DFU mode attached, then the -D parameter will automatically use that device and you won't have to find vendor ID and product ID.x. Don't forget to undo the jumper on the Pozyx devices like you would following the Windows instructions!

  6. Update the device's firmware by running:dfu-util -a 0 -D /path/to/dfuse-image.dfu

    Example:dfu-util -a 0 -D /home/john/Downloads/pozyx_firmware_v1.3.dfu

  7. If you encounter the following error: dfu-util: ERASE_PAGE not correctly executed, please execute the following command:
    dfu-util -a 0 -D /path/to/firmware_v1.3.dfu -s :unprotect:force
    Then re-execute the firmware update command:dfu-util -a 0 -D /path/to/firmware_v1.3.dfu

  8. Remove the Pozyx device and place the jumper on the BOOT0 pins again to use the Pozyx device.