To make the development work on the GD-77 firmware a bit easier, I’ve created 2 new utilities for anyone working on the GD-77 firmware.
The utilities are bin2sgl and also the GD77_FirmwareLoader
Note. These tools, especially the firmware loader, have not been extensively tested yet, and should be used with caution.
Both are Command Line utilities, but the firmware loader also has a small GUI if its used without specifying a file name to upload.
bin2sgl converts an unencrypted firmware binary file into a SGL file which can be uploaded into the GD-77 using the official Radioddity “update.exe”
This is an amalgamation of Kai’s (DG4KLU) encrypter/decrypter tool’s functionality that not only encrypts, but also adds the header required by the official update.exe application.
The second utility GD77_FirmwareLoader, is a command line replacement for Radioddity’s update.exe, which is used to upload new firmware into the GD-77
As well as being able to upload the official .sgl update files, it also accepts unencrypted firmware (binary) files, and encrypts them before uploading.
The utility is primarily intended to be used by developers who can “script” their development environment to use the utility to automatically upload a binary or SGL file into the GD-77, without having to mess around running the updater and selecting a file and pressing the button to upload the firmware into the radio.
It can also be used to do a drag-and-drop update of the firmware. And it also has a small GUI, which allow the file to be selected if its run without a file being specified.
Its also smaller than the official Radioddity updater, because its self contained and does not use any external .dll files like the Radioddity uploader does
Additionally, if a second argument of “GUI” is specified e.g.
GD77_FirmwareLoader.exe gd77_vk3kyy_20190505.sgl GUI
The tool will show a small window containing a progress bar. I primarily added this feature so that when used with tools like Ghidra, the upload progress can be seen quite clearly.
Both new tools have been added to the tools folder in my Radioddity_GD-77 github repository.
I’ve also created some Ghidra scripts to use these utilities but I’ve not had time to publish them yet.