I created a firmware for the 6-position switch controller on the
RadioMaster TX16S breakout board from scratch.
Why such an endeavor, you might ask? By experimenting with
DragonLink transmitter near the TX16S, the
chicken feet, incl. the 6 position switch output, stopped suddenly working on my TX16S. On further inspection, I was able to identify the
SiLabs C8051F330 microcontroller on the breakout board, where the 6-pos. switches and LEDs are located, to be the central part of this functionality. Right next to the microcontroller is a 3-pin C2 debug header. When connecting
SiLabs 8-bit Debug Adapter to it, the chip answered, so was alive. Why, the code did not run anymore although, remains a mystery, as the chip was powered correctly, and as it turned out in a later testing, was in good condition. Anyhow, as the original flash was code protected, I was unable to read it out, in order to e.g. try to run it in debug mode to see where the problem was. Without any source, I erased the chip and started this project.
If you wonder if I contacted RadioMaster Support and asked for a source - I sure did, but what I got back is a peculiar answer:
Sorry we are unable to provide that information sir, may need to consult the manufacturer of the chip. Why on earth I need to contact SiLabs for the source code of the µC in RadioMaster product... makes absolutely no sense to me.
Do note that the 6-position switch firmware does not have much to do with the
OpenTX firmware (<- code that
...Continue Reading