Radiomaster TX16S - need help updating OpenTX

Help with any software/desktop related issues. e.g. companion9x, eePe, etc
Post Reply
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Radiomaster TX16S - need help updating OpenTX

Post by andrewju »

Something went wrong while trying to update OpenTX from 2.3.11 to 2.3.14 on a TX16S. Now the radio does not power on - neither normally, nor in bootloader.
When connected to a PC, the radio is detected as an 'STM32 BOOTLOADER', so there hopefully is a way to recover without a need for hardware intervention.

When trying to 'Write Firmware to Radio' in Companion, the dfu-util returns 'Command not correctly executed' errors:

Code: Select all

C:/Program Files (x86)/OpenTX/Companion 2.3/dfu-util.exe -a 0 --dfuse-address 0x08000000:2097152 --device 0483:df11 -UC:/Users/Федор и Наталья/AppData/Local/Temp/472-flash-check.bin
=================================================================================
dfu-util 0.7
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to [email protected]
Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... ID 0483:df11
Run-time device DFU version 011a
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash  /0x08000000/04*016Kg,01*064Kg,07*128Kg,04*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 11
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
Error: Command not correctly executed
=================================================================================
C:/Program Files (x86)/OpenTX/Companion 2.3/dfu-util.exe -a 0 --dfuse-address 0x08000000 --device 0483:df11 -DC:/Users/Федор и Наталья/Desktop/RadioM/opentx-tx16s-en.bin
=================================================================================
dfu-util 0.7
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to [email protected]
Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... ID 0483:df11
Run-time device DFU version 011a
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash  /0x08000000/04*016Kg,01*064Kg,07*128Kg,04*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 11
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
Downloading to address = 0x08000000, size = 1124984
No valid DFU suffix signature
Warning: File has no DFU suffix
Error: Command not correctly executed
=================================================================================
I thought the complex path 'C:/Users/Федор и Наталья/AppData/Local/Temp/' may cause such issues (as the path involves Cyrillic characters, spaces, etc). But running the same command manually (with a path simplified to just 'D:/' ) returns the same error anyway.

Any ideas on why the dfu-util doesn't like this radio?

andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Radiomaster TX16S - need help updating OpenTX

Post by andrewju »

Answering to my own question. There's an article at Radiomaster's web site that explains my situation exactly: https://radiomasterrc.freshdesk.com/sup ... 4000267226

According to the article, the issue arises because the MCU is read-protected. How it got to this state remains a mystery.
Anyway, there's a simple tool (based on the dfu-utils as well!) that resets the MCU. After that, the radio can be flashed in the regular way (with Companion).
Post Reply

Return to “Software”