Radiolink AT9 AT9S firmware upgrade from Ubuntu - sevrugin/fx-61-inav GitHub Wiki
-
Connect AT9S to computer via USB cable and switch on your AT9S
$ lsusb | grep 0483:df12
if you see output likeBus 001 Device 065: ID 0483:df12 STMicroelectronics
go next -
Install the
dfu-util
tools from github!
git clone git://git.code.sf.net/p/dfu-util/dfu-util dfu-util-dfu-util
cd dfu-util-dfu-util/
./autogen.sh
./configure
make
Next you can run $ sudo make install
or use dfu-utils
from the src
directory. I prefer to use a local copy
$ cd src
- Show list of DFU devices
$ sudo ./dfu-util --list
you should see next output
Found DFU: [0483:df12] ver=0200, devnum=65, cfg=1, intf=0, path="1-4", alt=1, name="@SPI Flash : M25P64/0x00000000/128*64Kg", serial="56FD636E3637"
Found DFU: [0483:df12] ver=0200, devnum=65, cfg=1, intf=0, path="1-4", alt=0, name="@Internal Flash /0x08000000/12*001Ka,500*001Kg", serial="56FD636E3637"
-
Now you can download a firmware from
http://www.radiolink.com.cn/doce/at9upgrade.html
-
Now we are able to download the new firmware
sudo ./dfu-util -a 0 -D ../../AT9\(AT9S\)_RadioLink_DFU_V1_7_8\(AT12S\)_a36f.dfu
success output should be like this
Match vendor ID from file: 0483
Match product ID from file: 0000
Opening DFU capable USB device...
ID 0483:df12
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
file contains 1 DFU images
parsing DFU image 1
image for alternate setting 0, (1 elements, total size = 375120)
parsing element 1, address = 0x08003000, size = 375112
Download [=========================] 100% 375112 bytes
Download done.
done parsing DfuSe file
-
Switch off the Radiolink and remove a USB cable
-
New firmware version is ready to use. Enjoy =)