EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.59k stars 338 forks source link

Potential issue with using module bay for updating receiver and module firmware #801

Closed pfeerick closed 3 years ago

pfeerick commented 3 years ago

Describe the bug There have been a couple of reports now for 2.4.0 and 2.5.0-RC1, and I believe I have experienced this myself in testing a update related PR, that updating receivers (and in my case a XJT module) is currently not working. I have also not been able to update a ELRS module via the module bay. One user was able to update the receiver on the X7, but not the TX16S or X12s.

In the case of the XJT module, I can successfully flash the same firmware file to the same module, using the same TX16S and SD card on OpenTX, so it is definitely firmware related.

Receivers:

TX Module:

Transmitters:

Other mentions:

To Reproduce Try to apply a firmware update via the module bay. Will most likely beep and

Firmware update error 
Device not responding

Expected behavior For the firmware update to complete!

wimalopaan commented 3 years ago

The error on tx16s with latest main:

WhatsApp Image 2021-09-24 at 10 18 10

rotorman commented 3 years ago

@wimalopaan can you please try to reload the image - the link in your post does not seem to work.

wimalopaan commented 3 years ago

@wimalopaan can you please try to reload the image - the link in your post does not seem to work.

Done

raphaelcoeffic commented 3 years ago

@wimalopaan can you please try to reload the image - the link in your post does not seem to work.

Done

And also edit your post to specify which kind of firmware you were trying to upload, to which port, etc.

pfeerick commented 3 years ago

XJT+TX16S => attempted update with Saleae monitoring SPORT => "Device not responding" XJT+TX16S-EdgeTX.zip

OpenTX Comparison XJT+TX16S-OpenTX - FW Update.zip

rotorman commented 3 years ago

In both cases in Saleae Logic, the analyzer to be used is Async Serial, 57600 baud and inverted for Channel 0 (to get the transferred signal analyzed, e.g. to hex): grafik @pfeerick What does Channel 1 in the second trace show?

pfeerick commented 3 years ago

PPM. And thanks for the analyser settings :)