Python program for updating satellite keps

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

Python program for updating satellite keps

Post by oh1fss » Mon Sep 27, 2021 2:16 pm

I have created a Python program for updating OpenGD77 satellite keps. I have tested it in Linux (Fedora 34 with Python 3.9.7).

First, extract the Python programs and create a satellites.txt file in your working directory. For example, the following satellites.txt is included in the latest CPS (OpenGD77CPSInstaller_E2021.09.14.01.exe):

Code: Select all

Catalogue number,Display name,Rx,Tx,CTCSS,ArmCTCSS
22825U,AO27,436795000,145850000,0,0
43017U,AO91,145960000,435250000,670,0
43137U,AO92,145880000,435350000,670,0
40908U,CAS3H,437200000,144350000,0,0
40931U,IO86,435880000,145880000,885,0
43678U,PO101,145900000,437500000,1413,0
25544U,ISS,437800000,145990000,670,0
27607U,SO50,436795000,145850000,670,744
Then update your codeplug file on PC with satellite keps:

Code: Select all

$ ./GD77ChangeChannel.py -i MYCODEPLUG.g77 -o TEMP.g77 -s
Then connect your radio to the PC and upload the Custom Data block (that is, the whole code plug is not uploaded, only the Custom Data which contains keps, boot image and boot melody):

Code: Select all

$ ./GD77transfer.py -o customdata -w -f TEMP.g77 
 - flashing 0x11A0 bytes: 100%
then keep the cable connected and update date/time:

Code: Select all

$ ./GD77transfer.py -t
Do not switch your radio off now! Instead, make sure that your longitude and latitude are set correctly in the radio. Then, enjoy!
Attachments

[The extension tgz has been deactivated and can no longer be displayed.]


W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Re: Python program for updating satellite keps

Post by W9YA » Mon Oct 04, 2021 8:18 pm

Weird Bug

[w9ya@w9ya-peppy gd77-tools]$ grep w9ya -r /etc/group
wheel:x:998:w9ya
lp:x:991:cups,w9ya
uucp:x:987:w9ya
sys:x:3:bin,w9ya
network:x:90:w9ya
power:x:98:w9ya
usbmux:x:140:w9ya
w9ya:x:1000:
[w9ya@w9ya-peppy gd77-tools]$ ls -al /dev/ttyACM0
crw-rw-rw- 1 root uucp 166, 0 Oct 4 14:14 /dev/ttyACM0
[w9ya@w9ya-peppy gd77-tools]$ ./GD77transfer.py -o codeplug -r -f testing.g77 -d /dev/ttyACM0
- reading 0x5F20 bytes: 100%
- reading 0x3B00 bytes: 100%
- reading 0x13E60 bytes: 100%
- reading 0x11A0 bytes: 100%
[w9ya@w9ya-peppy gd77-tools]$ ./GD77transfer.py -o codeplug -w -f testing.g77 -d /dev/ttyACM0
Unknow object type
[w9ya@w9ya-peppy gd77-tools]$

W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Re: Python program for updating satellite keps

Post by W9YA » Mon Oct 04, 2021 8:21 pm

P.S>... Current Manjaro installation...(and up to date).

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

Re: Python program for updating satellite keps

Post by oh1fss » Tue Oct 05, 2021 7:35 am

Thanks for finding the bug! I have attached a corrected version of the program (only GD77transfer.py is changed).
Attachments

[The extension tgz has been deactivated and can no longer be displayed.]


W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Re: Python program for updating satellite keps

Post by W9YA » Wed Oct 06, 2021 2:54 pm

Seems to be MUCH better...mny tnxs om es vy 73 de Bob W9YA

Post Reply