Page 1 of 1

Experimental program to read codeplug from GD-77 in Linux (in Python)

Posted: Mon May 18, 2020 6:43 am
by oh1fss
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

Re: Experimental program to read codeplug from GD-77 in Linux (in Python)

Posted: Mon May 18, 2020 10:32 am
by VK3KYY
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: Experimental program to read codeplug from GD-77 in Linux (in Python)

Posted: Mon May 18, 2020 11:44 am
by oh1fss
I got inspiration from this post by OH1KH:

viewtopic.php?f=12&t=191&p=5493#p5493

Re: Experimental program to read codeplug from GD-77 in Linux (in Python)

Posted: Tue May 19, 2020 7:34 am
by VK3KYY
Can I modify this and add it to the firmware repo ?

Re: Experimental program to read codeplug from GD-77 in Linux (in Python)

Posted: Tue May 19, 2020 12:03 pm
by oh1fss
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.

Re: Experimental program to read codeplug from GD-77 in Linux (in Python)

Posted: Tue May 19, 2020 9:44 pm
by VK3KYY
Ok.

Thanks.

The protocol is very simple, so it should be easy to upload the Codeplug