Project

General

Profile

Actions

Bug #8013

closed

UV-5R

Added by Roger Wilcox almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/27/2020
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
Baofeng UV-5R
Platform:
Windows
Debug Log:
I read the instructions above:

Description

I am programming a UV-5R, 8Watt, S/N 45R8115656, Software Version BFP3-23
I am able to connect to and program frequencies etc and store the result.
My problem is when the settings button is selected nothing is displayed.
Per your instructions I reset the radio and uploaded, settings button contents still blank.
Thanks for your help!


Files

debug_W8ozy.txt (35.9 KB) debug_W8ozy.txt Roger's debug log Rudolph Gutzerhagen, 06/27/2020 05:30 PM
Baofeng_UV-5R_20200628_big_squelch.img (6.5 KB) Baofeng_UV-5R_20200628_big_squelch.img Roger Wilcox, 06/28/2020 08:40 PM
Out-of-range squelch-CHIRP.png (29.4 KB) Out-of-range squelch-CHIRP.png Jim Unroe, 06/29/2020 07:45 AM
Out-of-range squelch_fixed-CHIRP.png (28.9 KB) Out-of-range squelch_fixed-CHIRP.png Jim Unroe, 06/29/2020 07:45 AM
Baofeng_UV-5R_out-of-range_fixed.img (6.5 KB) Baofeng_UV-5R_out-of-range_fixed.img Jim Unroe, 06/29/2020 07:45 AM
Actions #1

Updated by Rudolph Gutzerhagen almost 4 years ago

ref Bug #6657 - Baofeng UV-5XP : Settings menu is blank

other info from Roger:

  1. I mean the "settings" tab in the Chirp program below the"Memories" tab.
  2. Model, S/N , and software version :UV-5R, 8Watt, S/N 45R8115656, Software Version BFP3-23
  3. put into the vendor & model info on the radio menu: Vender:Baofeng. I tried UV-5R and also tried BF-F8HP and UV-5X. 4 Upload/Download: I "RESET" the radio and then "downloaded" to the computer. Then I "uploaded" to the radio.
  4. Chirp version: 2020-06-22
  5. Computer Windows 10 Pro.
Actions #2

Updated by Jim Unroe almost 4 years ago

  • Status changed from New to Feedback

Hi Roger,

According to the debug.log file, one or more of the squelch threshold settings has a value that is out-of-range. Attach a freshly download from the radio and save to a CHIRP Radio Images (*.img) file and attach it to this issue. I will fix the out-or-range settings.

Or if you wish, contact me via email. Send the "image" and I can walk you through fixing it yourself.

Jim KC9HI

Actions #3

Updated by Roger Wilcox almost 4 years ago

Jim,
Thanks for the quick reply and also thanks to Rudolph Gutzerhagen. Attached find the requested .img file. I will let the professional fix the out-of-range settings but would also like to see your "do it yourself instructions". I have never learned Python, maybe its time to start.

73, Roger W8OZY

Actions #4

Updated by Jim Unroe almost 4 years ago

There is no need to know Python to fix this.

Snipped from the debug.log file...

[2020-06-27 18:31:25,279] chirp.drivers.uv5r - ERROR: Failed to parse settings: Traceback (most recent call last):
  File "chirp\drivers\uv5r.pyo", line 1671, in get_settings
  File "chirp\drivers\uv5r.pyo", line 1664, in _get_settings
  File "chirp\settings.pyo", line 83, in __init__
  File "chirp\settings.pyo", line 92, in set_value
InvalidValueError: Value 208 not in range 0-123

We can see the error is caused by a value of 208 where only values from 0-123 are acceptable. Typically the debug.log will show which setting it is, but unfortunately for this one you just have to know that the squelch thresholds are limited to a range of 0-123.

The fix is to click "Help" and then enable the "Enable Developer Functions" setting. Now load the save CHIRP Radio Images (*.img) file or download from the radio again. You will now see a "Browser" tab under the "Settings" tab. Drill down to...

Browser -> root -> squelch_new -> uhf

From this uhf page (see "Out-of-range squelch-CHIRP.png") we can see that sql6 has the out-of-range value of 208. It is also obvious that sql7 also has an out-of-range value of 255. Looking at the other values it is easy to deduce that the factory Dec value of sql6 should have been 19 and the Dec value of sql7 should have been 20.

Correct the Dec values for sql6 and sql7 on the uhf page (see "Out-of-range squelch_fixed-CHIRP.png"). Now that the known out-of-range values have been corrected, save the corrected tab to a different file name (don't overwrite the original file, you want to keep it as a backup for the time being).

Load the newly saved file into CHIRP and click the "Settings" tab to see if the settings are now visible (if you did it correctly, they are). If not, the image would have additional out-of-range values that would have to be tracked down by looking at the latest debug.log file. Just repeat the process until all of the out-of-range settings are located and fixed.

At this point you can click "Help" and disable "Enable Developer Functions".

Also, I have attached a corrected "image" file.

Jim KC9HI

Actions #5

Updated by Bernhard Hailer over 3 years ago

  • Status changed from Feedback to Closed
  • Model affected changed from (All models) to Baofeng UV-5R

Presumably resolved - please let us know if I was too fast closing this ticket.

Actions

Also available in: Atom PDF