Experimental program to read codeplug from GD-77 in Linux (in Python)
Experimental program to read codeplug from GD-77 in Linux (in Python)
I looked at gd-77_screen_grabber.py and OpenGD77Form.cs and wrote a program in Python 3 which reads the OpenGD77 codeplug from GD-77.
Next I'll try to run the CPS in Wine and then I'll write a program to upload a codeplug to GD-77.
Usage:
$ ./GD77transfer.py
- reading 24352 bytes: 100%
- reading 15104 bytes: 100%
- reading 81504 bytes: 100%
- reading 4512 bytes: 100%
$ ls -l turha.bin
-rw-rw-r--. 1 jj jj 131072 May 18 09:24 turha.bin
I have tested this only in Fedora 32 with Python 3.8.2.
73, OH1FSS
Next I'll try to run the CPS in Wine and then I'll write a program to upload a codeplug to GD-77.
Usage:
$ ./GD77transfer.py
- reading 24352 bytes: 100%
- reading 15104 bytes: 100%
- reading 81504 bytes: 100%
- reading 4512 bytes: 100%
$ ls -l turha.bin
-rw-rw-r--. 1 jj jj 131072 May 18 09:24 turha.bin
I have tested this only in Fedora 32 with Python 3.8.2.
73, OH1FSS
- Attachments
-
[The extension tgz has been deactivated and can no longer be displayed.]
Re: Experimental program to read codeplug from GD-77 in Linux (in Python)
Sounds interesting.
Re: CPS using Wine
I think Daniel F1RMB tried this and it did not fully work.
I'm not sure if this was just because Wine does not support USB serial, or whether there were other problems.
Try using google to search the forum e.g.
https://www.google.com/search?q=site%3A ... ++wine+cps
You may find some answers
Re: CPS using Wine
I think Daniel F1RMB tried this and it did not fully work.
I'm not sure if this was just because Wine does not support USB serial, or whether there were other problems.
Try using google to search the forum e.g.
https://www.google.com/search?q=site%3A ... ++wine+cps
You may find some answers
Re: Experimental program to read codeplug from GD-77 in Linux (in Python)
Can I modify this and add it to the firmware repo ?
Re: Experimental program to read codeplug from GD-77 in Linux (in Python)
Yes, of course.
I'm writing now code to upload codeplug to GD-77. So far I have written code to upload flash memory and now I'm looking at EEPROM. So hopefully there will be a new version soon.
I'm writing now code to upload codeplug to GD-77. So far I have written code to upload flash memory and now I'm looking at EEPROM. So hopefully there will be a new version soon.
Re: Experimental program to read codeplug from GD-77 in Linux (in Python)
Ok.
Thanks.
The protocol is very simple, so it should be easy to upload the Codeplug
Thanks.
The protocol is very simple, so it should be easy to upload the Codeplug