Code plug read/write error

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

Re: Code plug read/write error

Post by VK3KYY » Mon Dec 30, 2019 5:43 am

prattmd wrote:
Mon Dec 30, 2019 5:37 am
I just ordered a new programming cable. Only thing else I can try. Will let you know.
I don't think that's likely to be the problem the cables do not contain any electronics, as most modern transceivers have USB as part of their CPU functionality.

prattmd
Posts: 12
Joined: Mon Dec 23, 2019 9:57 pm

Re: Code plug read/write error

Post by prattmd » Mon Dec 30, 2019 7:29 pm

Any other suggestions?

prattmd
Posts: 12
Joined: Mon Dec 23, 2019 9:57 pm

Re: Code plug read/write error

Post by prattmd » Tue Dec 31, 2019 9:42 pm

No luck even after new cable.

Any other ideas?

Should I flash a particular OEM firmware before flashing the opengd77 one?

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

Re: Code plug read/write error

Post by VK3KYY » Tue Dec 31, 2019 9:48 pm

The only temporary solution is to reload the official firmware and then use the Community CPS to upload the codeplug, as it will use the Radioddity USB HID protocol to upload.

Then reflash back to the OpenGD77 firmware.

This was the method we initially had to do before firmware had an form of CPS communications in it.

I've done a search on the web for this error several times, but no one has a clear idea of how to fix it. It can occur on many different types of network communication include TCP as well as a COM port.

Can you please post you codeplug to this thread, as there may be something in the codeplug which is causing the OpenGD77 firmware a problem which in turn causes the CPS a problem

jobdone
Posts: 13
Joined: Mon Dec 30, 2019 8:16 pm

Re: Code plug read/write error

Post by jobdone » Tue Dec 31, 2019 10:03 pm

I've been trying to recreate this by making a win10 VM. I cannot reproduce this error. So are you guys using USB3 ports? have you changed the com port speed? when i first changed from 3.1.6fw to opengd77 I noticed alot of robotic stuttering on DMR, so I downgraded my radios to 2.6.3 and then did a factory reset. uploaded opengd77fw then reloaded my 3.1.6 codeplug. not sure if that changed anything but the stuttering seems much less now.to me I can see the logic in the post above about admin rights, being a linux user this was my first thought.. my last thought is there are variants of the radios, which is highly likely. how are we going to know and which is what?

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

Re: Code plug read/write error

Post by VK3KYY » Tue Dec 31, 2019 10:05 pm

jobdone wrote:
Tue Dec 31, 2019 10:03 pm
I've been trying to recreate this by making a win10 VM. I cannot reproduce this error. So are you guys using USB3 ports? have you changed the com port speed? when i first changed from 3.1.6fw to opengd77 I noticed alot of robotic stuttering on DMR, so I downgraded my radios to 2.6.3 and then did a factory reset. uploaded opengd77fw then reloaded my 3.1.6 codeplug. not sure if that changed anything but the stuttering seems much less now.to me I can see the logic in the post above about admin rights, being a linux user this was my first thought.. my last thought is there are variants of the radios, which is highly likely. how are we going to know and which is what?

We are constantly changing the firmware to improve things including the DMR stuttering, so that sort of thing is unlikely to be related to the CPS

jobdone
Posts: 13
Joined: Mon Dec 30, 2019 8:16 pm

Re: Code plug read/write error

Post by jobdone » Tue Dec 31, 2019 10:10 pm

Hi , apologies , this wasn't a complaint. I posted the above to state that I cannot recreate the problem and that is how I loaded my fw.

jobdone
Posts: 13
Joined: Mon Dec 30, 2019 8:16 pm

Re: Code plug read/write error

Post by jobdone » Tue Dec 31, 2019 10:12 pm

tbh we need to start talking numbers , the above issue is stated without any details to what people are using - versions of CPS, fw and OS's used would be of great help, honestly as much info as possible, like upgrade routes etc.
so I'll start this off - went from 2.6.3fw - did a factory reset, using a win10 64bit os 1909 VM. CPS is opengd77 v20191228 also using the community CPS 20191215. my fw is opengd77 dec30/2019
no issues - standard usb2 port - standard gd77 cable - both radios purchased a couple of years ago.
no issues reading or writing.

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

Re: Code plug read/write error

Post by VK3KYY » Tue Dec 31, 2019 10:22 pm

jobdone wrote:
Tue Dec 31, 2019 10:10 pm
Hi , apologies , this wasn't a complaint. I posted the above to state that I cannot recreate the problem and that is how I loaded my fw.
No worries

Things are quiet fluid at the moment, especially as we still have a number of strange problems with the core of the DMR code, which will take some time to resolve, because we are working mostly blind in terms of lack of documentation on the DMR chip

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

Re: Code plug read/write error

Post by VK3KYY » Tue Dec 31, 2019 10:24 pm

jobdone wrote:
Tue Dec 31, 2019 10:12 pm
tbh we need to start talking numbers , the above issue is stated without any details to what people are using - versions of CPS, fw and OS's used would be of great help, honestly as much info as possible, like upgrade routes etc.
so I'll start this off - went from 2.6.3fw - did a factory reset, using a win10 64bit os 1909 VM. CPS is opengd77 v20191228 also using the community CPS 20191215. my fw is opengd77 dec30/2019
no issues - standard usb2 port - standard gd77 cable - both radios purchased a couple of years ago.
no issues reading or writing.
I can't replicate this bug either. However I think Daniel F1RMB said that he occasionally gets it on his Windows VM running on Linux.

It does seem to be an error that other software encounters, but no one seems to have a definitive solution.

Post Reply