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

Post Reply
oh1fss
Posts: 11
Joined: Mon May 04, 2020 11:53 am

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

Post by oh1fss » Mon May 18, 2020 6:43 am

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
Attachments
GD77TRANSFER.tgz
(3.09 KiB) Downloaded 8 times

VK3KYY
Posts: 2420
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

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

Post by VK3KYY » Mon May 18, 2020 10:32 am

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

oh1fss
Posts: 11
Joined: Mon May 04, 2020 11:53 am

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

Post by oh1fss » Mon May 18, 2020 11:44 am

I got inspiration from this post by OH1KH:

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

VK3KYY
Posts: 2420
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

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

Post by VK3KYY » Tue May 19, 2020 7:34 am

Can I modify this and add it to the firmware repo ?

oh1fss
Posts: 11
Joined: Mon May 04, 2020 11:53 am

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

Post by oh1fss » Tue May 19, 2020 12:03 pm

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.

VK3KYY
Posts: 2420
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

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

Post by VK3KYY » Tue May 19, 2020 9:44 pm

Ok.

Thanks.

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

Post Reply