You can try this:
https://github.com/kzyapkov/opengd77xfer
Communication code is refactored into a separate class, reading any chunk of FASH or EEPROM is trivial, I also intend to support backup of eeprom/flash, screen grabbing etc. However ... ENOTIME.
Search found 12 matches
- Mon Sep 21, 2020 11:33 am
- Forum: New members must post here first
- Topic: Linux is my game
- Replies: 11
- Views: 11244
- Thu Sep 03, 2020 9:31 pm
- Forum: CPS
- Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
- Replies: 51
- Views: 47239
Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
The intended usage of the tool looks like this: # read from radio into a file gd77xfer read myradio.gd77 # in the original binary format, or straight gd77xfer read --format yaml myradio.yml # export binary into yaml gd77xfer export input.gd77 output.yaml ## not yet implemented gd77xfer import edited...
- Fri Jul 24, 2020 2:05 pm
- Forum: CPS
- Topic: CPS Zone and ScanList limits?
- Replies: 5
- Views: 3683
Re: CPS Zone and ScanList limits?
Sorry for being direct, but I'm new here. Who is Colin? Where is this tool? Is it open source? I'm struggling with parsing Zones correctly. I'm positive I've replicated the logic from OpenGD77CPS and the firmware itself, but some codeplugs downloaded from this forum still yield errors at the end of ...
- Mon Jul 20, 2020 7:49 am
- Forum: CPS
- Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
- Replies: 51
- Views: 47239
Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
There are the last two zones, they shouldn't be there. Yes, zones use a funky addressing scheme, and I may have gotten it wrong. I triple-checked, but a few zones at the end of the codeplug fail to parse correctly. I think I've implemented the same algorithm as the one used here https://github.com/...
- Mon Jul 20, 2020 7:05 am
- Forum: CPS
- Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
- Replies: 51
- Views: 47239
Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
I can now export to YAML, the german codeplug posted on this forum is attached. Halfway there.
- Sat Jul 18, 2020 8:12 am
- Forum: CPS
- Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
- Replies: 51
- Views: 47239
Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
I am one quarter of the way there -- the script parses Zones, Contacts, Channels and TG Lists (a.k.a RX Groups) into Python dataobjects. In retrospect, I should have implemented the objects as "views" of the binary blob data, but ... well, maybe I'll refactor this at some point. While I'm at it, I'l...
- Thu Jul 16, 2020 2:27 pm
- Forum: CPS
- Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
- Replies: 51
- Views: 47239
Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
MainForm.DataToByte(); initializes an empty codeplug blob, and I'm having some trouble cleanly replicating the same in my script. First, are these regions really needed? Can we do without them? Can we read them from the radio instead? If they have to be initialized on the client side, where is the a...
- Thu Jul 16, 2020 8:28 am
- Forum: CPS
- Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
- Replies: 51
- Views: 47239
Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
You'd need to discuss the license with the original author. Try PM'ing them Will do! BTW. I think there is a bug when uploading if you try to upload less than 32 bytes, i.e at the end of a transfer. ... I reworked the code completely, I think very few original lines are left in my worktree by now. ...
- Thu Jul 16, 2020 7:20 am
- Forum: CPS
- Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
- Replies: 51
- Views: 47239
Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
I added the full GPLv2 license terms to the repo and updated the copyright notice. As I did, I saw the copyright notice contains an incomplete sentence, so I filled it in: https://github.com/kzyapkov/opengd77xfer/commit/fc429b2a3957d4eee983a44bb6beb9ede42abed4#diff-ef3f581304177025dc5eda1a97ba30a0L1...
- Mon Jul 13, 2020 9:27 pm
- Forum: CPS
- Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
- Replies: 51
- Views: 47239
Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
I can already dump info for Contacts and RX Groups. I'll dig into the firmware a bit to identify the parts which really need to be supported. I have no intention on implementing an interface -- there are excellent spreadsheet programs available to use for free. I'm still not sure if CSV is the best ...