EdgeTX/flasher

DFU flash error with TX16S but T-Lite works fine

howels opened this issue · 2 comments

I attempted to upgrade both my Jumper T-Lite and Radiomaster TX16S from 2.5.0RC3 to 2.5.0 today. The T-Lite upgraded fine but despite the TX16S DFU device appearing in lsusb I could not flash it from flasher:

Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
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 = 1329740

Download [ ] 0% 0 bytesdfu-util: ERASE_PAGE not correctly executed

This is on Linux, T-Lite working fine but had to copy file to SDcard and use bootloader to flash the TX16S. DFU would be nice and it's much quicker and easier.

Error looks a lot like this one, if anyone knows the correct command to invoke dfu-utils on the command line I will compile the fix and test
Issue: https://sourceforge.net/p/dfu-util/tickets/40/?page=1
Fix: https://sourceforge.net/p/dfu-util/dfu-util/ci/c15ee6072cf0fc5df5d2cf52a18f66cd0df7cda3/

Needed to flash once with the "unprotect flash" checkbox enabled. This wiped the radio, then I was able to flash normally afterwards.