This section provides step by step instructions on how to properly flash the softRF TTGO T-Motion from LilyGo - so you can use it as a standalone softRF Dongle or extending your existing Stratux anti collision system to send our aircraft's position to other receivers.
- you can also buy a flashed softRF/ T-Motion here
- you can also buy a ready 2 fly standalone softRF (OGN) Flarm dongle here which transmits your aircraft's position
Please note that the T-Motion does not come with WIFI or Bluetooth. You must use the serial port to flash the firmware.
Instructions below are provided “as is” with no express or implied guarantee.
- Choose tool to flash and update firmware:
- Option 1: (preferred) - useSTM32CubeProgrammer to flash another firmware to softRF (T-Motion)
- Option 2: (legacy) - first update USB driver to make device findable for DfuSe. Then use DfuSe and flash another firmware to softRF (T-Motion)
- Configure and select transmitting protocol for softRF (T-Motion)
Option 1 - Use STM32CubeProgrammer to flash softRF /T-Motion firmware (recommended)
- Download and install "STM32CubeProgrammer" Software
- download latest softRF firmware in ".bin" format. CubeProgrammer can only work with binary file
- Then press the small button on the T-Motion board and insert the dongle into the USB port of the computer. Once the T-Motion is plugged into the computer’s USB port, release the “boot” button.
- run STM32CubeProgrammer and click on the "+" icon
- Select the firmware you want to flash to your softRF/ T-Motion. Please note that STM32CubeProgrammer will process ".bin" - binary file format only.
- selected firmware should now appear in the blue tab section. change the blue dropdown from "read" to download". Then click the green "connect" button
- After the message "file download complete" appears, click the "disconnect" button
- congratulations! you have flashed your device with a new firmware!
- next step:Â configure firmware and select transmitting protocol
Option 2 A) - Update USB driver to make T-Motion finable for DfuSe (legacy)
- Download DfuSe USB device firmware upgrade
- download latest softRF firmware in .dfu format
- Then press the small button on the T-Motion board and insert the dongle into the USB port of the computer. Once the T-Motion is plugged into the Computer’s usb port, release the “boot” button.
- open the windows device manager (windows + R compmgmt.msc)
- A “STM Device” in “DFU mode” should appear in the windows device manager
- This will most likely not happen when you try it the first time, as usually the correct device driver is missing and therefore the device is only displayed as “STM32 bootloader”.
- If this is the case, please download Windows Driver Package - “STMicroelectronics (SSTub30.sys)” (current version is 3.0.6.1) from here or here.
When using Windows 10 usually the driver does not install automatically. In this case you have to install manually: open the Windows device manager (windows + R compmgmt.msc), select “device manager”, right-clicking in the device manager and go to “update driver” - After installing the SSTub30.sys, the dongle then appears correctly under Windows Device Manager > USB Devices, as “STM Device in DFU Mode”
- Now continue to follow "Option 2 - Flash softRF/ T-Motion Firmware (legacy)"
Source: https://github.com/lyusupov/SoftRF/wiki/AcSiP-S7xG-flashing-instructions
Option 2 B) - using Zadig.exe to update USB to driver make T-Motion finable (legacy)
- download and install Zadig.exe
- open Zadig
- connect softRF/ T-Motion to your computer:
Press the small button on the T-Motion board and insert the dongle into the USB port of the computer. Once the T-Motion is plugged into the Computer’s usb port, release the “boot” button. - go to Options > List All Devices
- select "STM32 Bootloader" and "winUSB" - if STM32 Bootloader won't be listed, repeat Step 3
- Replace USB driver
- open the windows device manager (windows + R compmgmt.msc)
- Now continue to follow "Option 2 - Flash softRF/ T-Motion Firmware (legacy)"
Source: https://github.com/Xinyuan-LilyGO/LilyGO-T-Motion/blob/master/USB_Driver_Doc.pdf
Option 2 - Flash softRF/ T-Motion Firmware (legacy)
- Please follow "Option 2 A) - Update USB driver to make T-Motion finable for DfuSe (legacy)" and install STTub30 driver from STMicroelectronics, if you do not see the softRF Dongle
- now select your dongle in the dropdown. Choose the latest version of the firmware you want to flash in .dfu format and click on "upgrade"
- click "leave DFU mode" after progress bar shows "upgrade successful"
- then click "leave DFU mode"
- congratulations! you have flashed your device with a new firmware!
- next step: configure firmware and select transmitting protocol
Sources:
Option 3 - Firmware update (hardware method)
Configure and select right transmitting protocol for softRF (T-Motion)
- https://github.com/lyusupov/SoftRF/wiki/Dongle-settings
- https://github.com/lyusupov/SoftRF/wiki/Settings
- http://soaringweather.no-ip.info/SoftRF/settings.html
- https://github.com/lyusupov/SoftRF/wiki/SoftRF-Configuration-Tool
By using our products, you acknowledge that you agree to our terms and conditions and disclaimer. Please note that we do not provide any guarantee on hardware which is flashed or modified by the customer