Search found 74 matches

by oh1fss
Tue Sep 08, 2020 8:18 pm
Forum: New members must post here first
Topic: Linux is my game
Replies: 11
Views: 11144

Re: Linux is my game

I have used GD77transfer.py to upload codeplugs to several GD-77 and DM-5R+ radios without problems.

My latest version is attached in this post:

Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)

There is also another script, gd77xfer made by LZ1CK. I have not tried it.
by oh1fss
Thu Aug 20, 2020 7:54 pm
Forum: Bug reports
Topic: DCS audio cuts out
Replies: 16
Views: 7638

Re: DCS audio cuts out

I have the same problem with a new Baofeng DM-5R Plus with firmware OpenRD5R (built Jul 31 2020) when listening to a signal with CTCSS and excessive deviation. Several other radios tolerate excessive deviation without problems.
by oh1fss
Mon Jun 08, 2020 5:51 am
Forum: Bug reports
Topic: [Fixed] RX CTCSS does not work...
Replies: 40
Views: 23355

Re: [Fixed] RX CTCSS does not work...

I have the same problem with GD-77 with OpenGD77 release 20200507: in a FM repeater which sends CTCSS, stations with strong audio (wide deviation?) cause severe stuttering which makes it impossible to understand.

I started using OpenGD77 from release 20200411. I think it did not have this problem?
by oh1fss
Sun May 24, 2020 3:47 pm
Forum: CPS
Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
Replies: 51
Views: 39260

Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)

CPS works fine with Wine 5.0 in Fedora 30. Menu texts are visible normally. It's very easy to install Wine and use CPS in Linux: # dnf install wine $ wine OpenGD77CPSInstaller.exe Install as usual, except no USB drivers, because USB does not work in CPS with Wine. Then execute CPS from the Wine menu...
by oh1fss
Sun May 24, 2020 12:31 pm
Forum: CPS
Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
Replies: 51
Views: 39260

Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)

In the attached version there are two changes:

- Change delay in serial communications from 0.2 to 0.0
- When reading a codeplug, initialize first 0x0E bytes (which are not read nor written from/to the radio) so that CPS is happy

No changes in usage, see "./GD77transfer -h".
by oh1fss
Sun May 24, 2020 9:31 am
Forum: CPS
Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
Replies: 51
Views: 39260

Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)

CPS (MainForm.cs, function openCodeplugFile()) checks the first 8 bytes of the codeplug file that it opens. Those 8 bytes must be FF or contain the current radio model. Otherwise you get error "Model does not match". So I should set all gaps that are not read from the radio as FF - is that enough? T...
by oh1fss
Sun May 24, 2020 8:48 am
Forum: CPS
Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
Replies: 51
Views: 39260

Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)

I still don't know what the data in the codeplug is file that I read from the radio is incorrect I copied the logic for reading the codeplug from GD-77 from function worker_DoWork(), case READ_CODEPLUG in file OpenGD77Form.cs. That piece of code leaves gaps in the codeplug file: def getMemoryArea(s...
by oh1fss
Thu May 21, 2020 3:07 pm
Forum: CPS
Topic: Read/write GD-77 codeplug in Linux in Python 3 (experimental)
Replies: 51
Views: 39260

Read/write GD-77 codeplug in Linux in Python 3 (experimental)

I have written a program in Python 3 to read and write GD-77 codeplug in Linux. I have tested this program only with my own GD-77. Before trying this make backups! Usage: $ ./GD77transfer.py -h GD-77 Data Transfer v0.0.4 Usage: GD77transfer.py [OPTION] -h, --help : Display this help text, -r, --read...
by oh1fss
Wed May 20, 2020 4:47 am
Forum: Developer discussions
Topic: Codeplug EEPROM 128 byte alignment when uploading from CPS
Replies: 2
Views: 2364

Re: Codeplug EEPROM 128 byte alignment when uploading from CPS

File OpenGD77-master/docs/data_sheets/Atmel-8720-SEEPROM-AT24C512C-Datasheet.pdf says: "128-byte Page Write Mode Partial Page Writes Allowed" When I look at file OpenGD77-master/firmware/source/hardware/EEPROM.c it looks like function EEPROM_Write() handles 128 byte boundaries so that the caller doe...
by oh1fss
Tue May 19, 2020 12:20 pm
Forum: Developer discussions
Topic: Codeplug EEPROM 128 byte alignment when uploading from CPS
Replies: 2
Views: 2364

Codeplug EEPROM 128 byte alignment when uploading from CPS

I have looked at function WriteEEPROM() in OpenGD77Form.cs. The function uploads EEPROM data to GD-77 in chunks of MAX_TRANSFER_SIZE (32 bytes) but on every 128 byte boundary it begins a new chunk. Why is this necessary? If we begin a new chunk every 32 bytes, a new chunk will be started every 128 b...