Skip to content

spencerschumann/opentx

 
 

Repository files navigation

Frsky Updating Tool

This repo is a fork of OpenTX that adds a PC-based Frsky receiver flashing tool that uses OpenTX's S.Port telemetry algorithms. The main purpose of this tool is to provide a way to flash Frsky receivers on Linux (Frsky's proprietary flashing software is only available on Windows). This is mainly useful for people who don't have access to an Frsky transmitter for flashing.

Use at your own risk! This tool has been tested just once to flash an Frsky XM receiver. It worked, and didn't brick the receiver! But with only one test I can't guarantee the same results for anyone else.

Hardware

The flashing hardware I used was an FTDI 1232 breakout board, with the jumper set to 5 volts. The TX and RX lines must be inverted - to do this, I used https://github.com/eswierk/ft232r_prog. Finally, a diode needs to be added to convert the full duplex TX/RX pins to the half duplex S.Port pin. See the last page of https://www.multirotorparts.nl/downloads/frsky_smart_port_upgrade.pdf for instructions and a schematic.

Usage

The tool is in tools/rx_flash. In that directory, run build.sh to build it. This will produce an executable, rx_flash. It takes two arguments: first, the serial port device, and second, the file to flash. For example:

$ ./rx_flash /dev/ttyUSB0 ~/Downloads/XM170323/XMFCC170323_RSSI16.frk

Also note that the receiver only listens for update packets for a short time after powering on. Therefore, I powered it separately from the FTDI board so that I could power it up and then immediately start the update tool.

OpenTX 2.2 Branch

Travis build Status Quality Gate Join the chat at https://opentx.rocket.chat Donate using Paypal

The ongoing development on 2.2.x is done in this branch.

Refer to the OpenTX wiki for information about setting up the tool chains for building OpenTX and OpenTX Companion as well as other development related issues.

Useful links:

About

OpenTX custom firmware for Transmitters

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 61.1%
  • C 28.7%
  • Lua 2.9%
  • C# 2.3%
  • Python 1.8%
  • CMake 1.5%
  • Other 1.7%