Updating Firmware - fredzo/UA3REO-DDC-Transceiver GitHub Wiki

Updating Firmware

In the journey of getting started with your Wolf Transceiver, the first thing you might want to do is update the firmware.

The Wolf firmware is separated in 2 files:

To update the STM32 firmware, you need to enter DFU mode. This can be done with Menu/DFU Mode/Run or by forcing DFU mode if you wolf fails to boot (see procedure bellow).

FPGA program update is made using your Wolf's File Manager (see bellow).

Knowing the current firmware version

To check the SM32 and FPGA version currently installed in your Wolf you need to go in Menu/System Info:

Firmware update requirements

To update the firmware, you will need:

  1. A Micro SD card (32 Gb or less)
  2. A PC running the latest version of STM32CubeProgrammer software
  3. A good quality USB (type C) cable
  4. The firmware files

The latest firmware can be downloaded on UA3REO Dmitry's DropBox.

STM32 file can be found in STM32/<version> folder. In this folder you need the one .bin file that matches your hardware.

For example if you have a 7 inch Wolf with a RA8875/GT911 screen (like the Zastone ZT7500) you need to download the WOLF-RA8875_GT911.bin file.

The FPGA file is updated less frequently. At the time of writing this page, the latest FPGA version is 10.0.0. It can be downloaded in the FPGA/Wolf/<version> folder, file named WOLF.jic.

Recommendations

Once you have checked you current FPGA and STM32 version you will know if you need to update both or only the STM32 firmware.

If you need to update both, always start with the STM32 file.

Before updating the firmware, make sure backup your settings and calibration data on a SD card as explained in the Import/Export Settings page.

The firmware update procedure required to keep the power button of your Wolf pressed for the whole time, while your are interacting with the STM32CubeProgrammer software. Make sure to be comfortably installed to that you can operate your PC with one and, and keep the power button pressed with the other.

If you release the power button before the end of the procedure, you will brick your Wolf and have to open it to force it in DFU mode (see procedure bellow).

Take the time to watch the full demonstration video and understand it before your start the update procedure.

At the end of the upload procedure on the STM32CubeProgrammer software make sure to click to "Disconnect" before you release the powder button of your Wolf.

Firmware update procedure

Here is a demonstration of the firmware update procedure: Firmware update procedure

And here is a PDF firmware update procedure written by Pete Pete WK8S.

STM32 firmware upload

To upload a new version of the STM32 firmware:

  1. Backup you Settings and Calibration as explained in the Import/Export Settings page
  2. Launch the STM32CubeProgrammer software
  3. Open the firmware .bin file
  4. Set the connection mode to USB in the STM32CubeProgrammer software
  5. Connect your PC and the Wolf via the USB cable
  6. On your Wolf go to Menu/DFU Mode/Run
  7. Your Wolf will turn Off, press and hold the power button, DON'T RELEASE THE POWER BUTTON UNTIL THE END OF THE PROCEDURE
  8. On the STM32CubeProgrammer software click on the Download button and wait for the procedure to complete, this should take a few secconds
  9. At the end you will get a confirmation message, click OK
  10. Click Disconnect on the STM32CubeProgrammer software
  11. You can now release the power button on you Wolf, it will restart and load the default configuration and calibration
  12. Restore your Settings and Calibration as explained in the Import/Export Settings page

FPGA software update

  1. Copy you FPGA .jic file to a SD card
  2. Insert the SD card in your Wolf and power it on
  3. Go to Menu/SD Card/File Manager
  4. Browse to your .jic and select it using the FUNC 2 Knob/Button
  5. When prompted select Flash FPGA Software

Force DFU mode

If something goes wrong during STM32 firmware update procedure, your Wolf might no longer be able to boot.

If this happens, don't panic, there is a way to force it entering DFU mode and uploading the firmware again.

To do so, you will need to open your Wolf and short the "BOOT 0" header on the main board: wolf-dfu-mode

⚠️ **GitHub.com Fallback** ⚠️