Page 1 of 1

Error when trying to Write to Radio cperadiotools.py

Posted: Thu Apr 21, 2022 1:58 pm
by w8afk
I'm getting the following error when I attempt to write my codeplug to my Retevis RT-73. Prior to this step I did the following:

1) Factory reset my radio.
2) Using IAP, uploaded the Radioddity Firmware (C7000_DR300UV_Ham_DB25-D_20211211.bin) to the radio.
3) Power on the radio, which now reports that all channels are unprogrammed.
4) Attempt to write my codeplug to the radio, producing the attached error.
CPEditor Error.png
5) Noticed that there's an updated CPEditor, so I updated to it and tried again. No difference
6) Created a new codeplug file and wrote it to the radio successfully.

So, it appears to have something to do with my codeplug file. I ran it through a JSON validator and it validates. Is there any way to determine what specifically is wrong with the file? I'd upload it here, but I'm a little hesitant to do so on a public form.

Re: Error when trying to Write to Radio cperadiotools.py

Posted: Thu Apr 21, 2022 4:52 pm
by MM7DBT
Check your CTCSS / DCS tones.

Specifically where you have a value of "212".
I would guess that you have a channel with CTCSS selected but have DCS 212 selected as the tone.

Re: Error when trying to Write to Radio cperadiotools.py

Posted: Sun Oct 30, 2022 9:59 am
by VK2ADJ
I Have a similar issue, i import an ARC club code plug and when trying to upload to radioddity DB25-d
ive updated to the latest firmware
error.png
Ive checked the CSV and nothing is apparent to me, exported the CSV channels and double checked it..

Cheers
Mike
VK2ADJ

Re: Error when trying to Write to Radio cperadiotools.py

Posted: Sun Oct 30, 2022 3:24 pm
by MM7DBT
That is an old JSON codeplug which has several parameters missing, which were added in newer versions.

I have updated the editor to 0.2.1030.1 which should fix those missing parameters when loading the file.
Tested without changes to the JSON and it seems to write to the radio okay now.