Skip to main content
Skip table of contents

Updating the firmware

Windows

Updating the firmware with ST's DFU Tool is a relatively easy process which only requires a few steps. 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. ⚠ On some systems the driver will not automatically be installed, which means the “STM device in DFU mode” will not become visible. Then you will need to install the correct driver manually.

    1. First go to the following folder that was created when downloading the DFU tool:
      C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin\Driver
      (If the “Program Files (x86)” folder does not exist, you can find the files in the “Program Files” folder)

    2. Go to the folder of the windows version you are using

    3. Install the correct driver
      If your system had the Program Files (x86) folder then choose: “dpinst_amd64
      Otherwise install: “dpinst_x86

  6. Under "Upgrade or Verify action", click on choose and select the .dfu file under "Upgrade or Verify action", click on choose and select the .dfu file.

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

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

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



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.