Bug #10396
closedBJ-318 incorrect valid band edges
100%
Description
chirp.settings.InvalidValueError: Value 490.000 not in range 400.000-480.000
(BJ-318 is supplied 440 to 520 Mhz) Editing of settings is not possible
Log:
[2023-02-26 16:54:46,699] chirp.logger - DEBUG: CHIRP next-20230224 on Win32 (Unknown 10.0:19045) (Python 3.10.8)
[2023-02-26 16:54:47,781] main - INFO: Python/3.10.8 // Windows/Windows-10-10.0.19045-SP0 // CHIRP/next-20230224 // wx/4.2.0 msw (phoenix) wxWidgets 3.2.0
[2023-02-26 16:54:47,781] chirp.wxui - DEBUG: System locale: de_DE (376)
[2023-02-26 16:54:47,791] chirp.wxui - DEBUG: Translation loaded=True for CHIRP: de_DE (de,el,en_US,es,fr,hu,it,nl,pl,pt_BR,ru,tr_TR,uk_UA,zh_CN) from C:\Program Files (x86)\CHIRP\chirp\locale
[2023-02-26 16:54:47,801] chirp.wxui - DEBUG: Translation loaded=True for wxstd: de_DE (af,an,ar,ca,ca@valencia,co,cs,da,de,el,es,eu,fa_IR,fi,fr,gl_ES,hi,hr,hu,id,it,ja,ka,ko_KR,lt,lv,ms,nb,ne,nl,pl,pt,pt_BR,ro,ru,sk,sl,sq,sv,ta,tr,uk,vi,zh_CN,zh_TW)
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf DE Freenet Frequencies.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf EU LPD and PMR Channels.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf FR Marine VHF Channels.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf KDR444.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf NOAA Weather Alert.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf SE Jaktradio 155MHz.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf UK Business Radio Simple Light Frequencies.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf US 60 meter channels (Center).csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf US 60 meter channels (Dial).csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf US CA Railroad Channels.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf US Calling Frequencies.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf US FRS and GMRS Channels.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf US MURS Channels.csv because same name found in user dir
[2023-02-26 16:54:47,832] chirp.wxui.main - INFO: Ignoring dist stock conf US Marine VHF Channels.csv because same name found in user dir
[2023-02-26 16:54:51,788] chirp.wxui.main - INFO: Server reports next-20230224 is latest
[2023-02-26 16:54:59,457] chirp.chirp_common - DEBUG: Loaded metadata: {'Upper': {'mem_extra': {'0128_comment': '', '0001_comment': '', '0002_comment': '', '0003_comment': '', '0004_comment': '', '0005_comment': '', '0006_comment': '', '0007_comment': '', '0008_comment': '', '0009_comment': '', '0010_comment': '', '0011_comment': '', '0012_comment': '', '0013_comment': '', '0014_comment': '', '0015_comment': '', '0016_comment': '', '0017_comment': '', '0018_comment': '', '0019_comment': '', '0020_comment': '', '0021_comment': '', '0022_comment': '', '0023_comment': '', '0024_comment': '', '0025_comment': '', '0026_comment': '', '0027_comment': '', '0028_comment': '', '0029_comment': '', '0030_comment': '', '0031_comment': '', '0032_comment': '', '0033_comment': '', '0034_comment': '', '0035_comment': '', '0036_comment': '', '0037_comment': '', '0038_comment': '', '0039_comment': '', '0040_comment': '', '0041_comment': '', '0042_comment': '', '0043_comment': '', '0044_comment': '', '0045_comment': '', '0046_comment': '', '0047_comment': '', '0048_comment': '', '0049_comment': '', '0050_comment': '', '0051_comment': '', '0052_comment': '', '0053_comment': '', '0054_comment': '', '0055_comment': '', '0056_comment': '', '0062_comment': '', '0063_comment': '', '0064_comment': '', '0065_comment': '', '0066_comment': '', '0067_comment': '', '0068_comment': '', '0069_comment': '', '0070_comment': '', '0071_comment': '', '0072_comment': '', '0073_comment': '', '0074_comment': '', '0075_comment': '', '0076_comment': '', '0077_comment': '', '0078_comment': '', '0079_comment': '', '0080_comment': '', '0081_comment': '', '0082_comment': '', '0083_comment': '', '0084_comment': '', '0085_comment': '', '0086_comment': '', '0087_comment': '', '0088_comment': '', '0089_comment': '', '0090_comment': '', '0091_comment': '', '0092_comment': '', '0093_comment': '', '0094_comment': '', '0095_comment': '', '0096_comment': '', '0097_comment': '', '0098_comment': '', '0099_comment': '', '0057_comment': ''}}, 'Lower': {'mem_extra': {'0001_comment': '', '0002_comment': '', '0003_comment': '', '0004_comment': '', '0005_comment': '', '0006_comment': '', '0007_comment': '', '0008_comment': '', '0009_comment': '', '0010_comment': '', '0011_comment': '', '0012_comment': '', '0013_comment': '', '0014_comment': '', '0015_comment': '', '0016_comment': '', '0017_comment': '', '0018_comment': '', '0019_comment': '', '0020_comment': '', '0021_comment': '', '0022_comment': '', '0023_comment': '', '0024_comment': '', '0025_comment': '', '0026_comment': '', '0027_comment': '', '0028_comment': '', '0029_comment': '', '0030_comment': '', '0031_comment': '', '0032_comment': '', '0033_comment': '', '0034_comment': '', '0035_comment': '', '0036_comment': '', '0037_comment': '', '0038_comment': '', '0039_comment': '', '0040_comment': '', '0041_comment': '', '0042_comment': '', '0043_comment': '', '0044_comment': '', '0045_comment': '', '0046_comment': '', '0047_comment': '', '0048_comment': '', '0049_comment': '', '0050_comment': '', '0051_comment': '', '0052_comment': '', '0053_comment': '', '0054_comment': '', '0055_comment': '', '0056_comment': '', '0057_comment': '', '0062_comment': '', '0063_comment': '', '0064_comment': '', '0065_comment': '', '0066_comment': '', '0067_comment': '', '0068_comment': '', '0069_comment': '', '0070_comment': '', '0071_comment': '', '0072_comment': '', '0073_comment': '', '0074_comment': '', '0075_comment': '', '0076_comment': '', '0077_comment': '', '0078_comment': '', '0079_comment': '', '0080_comment': '', '0081_comment': '', '0082_comment': '', '0083_comment': '', '0084_comment': '', '0085_comment': '', '0086_comment': '', '0087_comment': '', '0088_comment': '', '0089_comment': '', '0090_comment': '', '0091_comment': '', '0092_comment': '', '0093_comment': '', '0094_comment': '', '0095_comment': '', '0096_comment': '', '0097_comment': '', '0098_comment': '', '0099_comment': '', '0128_comment': ''}}, 'rclass': 'DynamicRadioAlias', 'vendor': 'Baojie', 'model': 'BJ-318', 'variant': '', 'chirp_version': 'next-20230219'}
[2023-02-26 16:54:59,467] chirp.chirp_common - DEBUG: Loaded metadata: {'Upper': {'mem_extra': {'0128_comment': '', '0001_comment': '', '0002_comment': '', '0003_comment': '', '0004_comment': '', '0005_comment': '', '0006_comment': '', '0007_comment': '', '0008_comment': '', '0009_comment': '', '0010_comment': '', '0011_comment': '', '0012_comment': '', '0013_comment': '', '0014_comment': '', '0015_comment': '', '0016_comment': '', '0017_comment': '', '0018_comment': '', '0019_comment': '', '0020_comment': '', '0021_comment': '', '0022_comment': '', '0023_comment': '', '0024_comment': '', '0025_comment': '', '0026_comment': '', '0027_comment': '', '0028_comment': '', '0029_comment': '', '0030_comment': '', '0031_comment': '', '0032_comment': '', '0033_comment': '', '0034_comment': '', '0035_comment': '', '0036_comment': '', '0037_comment': '', '0038_comment': '', '0039_comment': '', '0040_comment': '', '0041_comment': '', '0042_comment': '', '0043_comment': '', '0044_comment': '', '0045_comment': '', '0046_comment': '', '0047_comment': '', '0048_comment': '', '0049_comment': '', '0050_comment': '', '0051_comment': '', '0052_comment': '', '0053_comment': '', '0054_comment': '', '0055_comment': '', '0056_comment': '', '0062_comment': '', '0063_comment': '', '0064_comment': '', '0065_comment': '', '0066_comment': '', '0067_comment': '', '0068_comment': '', '0069_comment': '', '0070_comment': '', '0071_comment': '', '0072_comment': '', '0073_comment': '', '0074_comment': '', '0075_comment': '', '0076_comment': '', '0077_comment': '', '0078_comment': '', '0079_comment': '', '0080_comment': '', '0081_comment': '', '0082_comment': '', '0083_comment': '', '0084_comment': '', '0085_comment': '', '0086_comment': '', '0087_comment': '', '0088_comment': '', '0089_comment': '', '0090_comment': '', '0091_comment': '', '0092_comment': '', '0093_comment': '', '0094_comment': '', '0095_comment': '', '0096_comment': '', '0097_comment': '', '0098_comment': '', '0099_comment': '', '0057_comment': ''}}, 'Lower': {'mem_extra': {'0001_comment': '', '0002_comment': '', '0003_comment': '', '0004_comment': '', '0005_comment': '', '0006_comment': '', '0007_comment': '', '0008_comment': '', '0009_comment': '', '0010_comment': '', '0011_comment': '', '0012_comment': '', '0013_comment': '', '0014_comment': '', '0015_comment': '', '0016_comment': '', '0017_comment': '', '0018_comment': '', '0019_comment': '', '0020_comment': '', '0021_comment': '', '0022_comment': '', '0023_comment': '', '0024_comment': '', '0025_comment': '', '0026_comment': '', '0027_comment': '', '0028_comment': '', '0029_comment': '', '0030_comment': '', '0031_comment': '', '0032_comment': '', '0033_comment': '', '0034_comment': '', '0035_comment': '', '0036_comment': '', '0037_comment': '', '0038_comment': '', '0039_comment': '', '0040_comment': '', '0041_comment': '', '0042_comment': '', '0043_comment': '', '0044_comment': '', '0045_comment': '', '0046_comment': '', '0047_comment': '', '0048_comment': '', '0049_comment': '', '0050_comment': '', '0051_comment': '', '0052_comment': '', '0053_comment': '', '0054_comment': '', '0055_comment': '', '0056_comment': '', '0057_comment': '', '0062_comment': '', '0063_comment': '', '0064_comment': '', '0065_comment': '', '0066_comment': '', '0067_comment': '', '0068_comment': '', '0069_comment': '', '0070_comment': '', '0071_comment': '', '0072_comment': '', '0073_comment': '', '0074_comment': '', '0075_comment': '', '0076_comment': '', '0077_comment': '', '0078_comment': '', '0079_comment': '', '0080_comment': '', '0081_comment': '', '0082_comment': '', '0083_comment': '', '0084_comment': '', '0085_comment': '', '0086_comment': '', '0087_comment': '', '0088_comment': '', '0089_comment': '', '0090_comment': '', '0091_comment': '', '0092_comment': '', '0093_comment': '', '0094_comment': '', '0095_comment': '', '0096_comment': '', '0097_comment': '', '0098_comment': '', '0099_comment': '', '0128_comment': ''}}, 'rclass': 'DynamicRadioAlias', 'vendor': 'Baojie', 'model': 'BJ-318', 'variant': '', 'chirp_version': 'next-20230219'}
[2023-02-26 16:54:59,467] chirp.chirp_common - DEBUG: Parsed version 'next-20230219' to (0,)
[2023-02-26 16:54:59,467] chirp.chirp_common - DEBUG: Parsed version 'next-20230224' to (0,)
[2023-02-26 16:55:05,801] chirp.wxui.common - ERROR: Failed to run get_settings(, )
Traceback (most recent call last):
File "chirp\wxui\common.py", line 185, in do_radio
File "chirp\drivers\lt725uv.py", line 1343, in get_settings
File "chirp\settings.py", line 128, in init
File "chirp\settings.py", line 143, in set_value
chirp.settings.InvalidValueError: Value 490.000 not in range 400.000-480.000
[2023-02-26 16:55:05,801] chirp.wxui.common - ERROR: Context raised unexpected_exception
Traceback (most recent call last):
File "chirp\wxui\settingsedit.py", line 47, in initialize
File "chirp\wxui\common.py", line 185, in do_radio
File "chirp\drivers\lt725uv.py", line 1343, in get_settings
File "chirp\settings.py", line 128, in __init_
File "chirp\settings.py", line 143, in set_value
chirp.settings.InvalidValueError: Value 490.000 not in range 400.000-480.000
Traceback (most recent call last):
File "wx\core.py", line 3427, in
File "chirp\wxui\settingsedit.py", line 47, in initialize
File "chirp\wxui\common.py", line 185, in do_radio
File "chirp\drivers\lt725uv.py", line 1343, in get_settings
File "chirp\settings.py", line 128, in __init_
File "chirp\settings.py", line 143, in set_value
chirp.settings.InvalidValueError: Value 490.000 not in range 400.000-480.000
[2023-02-26 16:55:52,061] chirp.wxui.memedit - DEBUG: CHIRP-native paste: {'mems': [Memory 57: 149.018750/0.000000 FM (ANRUF) r88.5 c88.5 d743*NN [5.00]], 'features':
[2023-02-26 16:56:06,270] chirp.wxui.main - DEBUG: Saving to C:\Funk_Daten\BJ-318_99.img
Files
Updated by Jim Unroe over 1 year ago
Eddi Wolf wrote:
chirp.settings.InvalidValueError: Value 490.000 not in range 400.000-480.000
(BJ-318 is supplied 440 to 520 Mhz) Editing of settings is not possible
The Users Manual that I have for the BJ-318 shows that the radio supports 400-480 MHz. But I see the that programming software (which is for the BJ-218) allows up to 490 MHz.
Would you go into the radio's VFO mode and verify the UHF band limits on both ends of the UHF band?
Thanks,
Jim KC9HI
Updated by Dan Smith over 1 year ago
- Subject changed from BJ-318 to BJ-318 incorrect valid band edges
Updated by Eddi Wolf over 1 year ago
I'm in Germany and my English isn't that good.
I tested on a BJ-218 and a BJ-318 device
The frequency band is Value 400,000-490,000 Mhz.
both devices have the same error message in "Chirp":
490,000 not in range 400,000-480,000.
Unfortunately, the "Settings" function does not work.
Can you help?
Kind regards from Meerbusch / Germany Eddi
Updated by Jim Unroe over 1 year ago
Eddi Wolf wrote in #note-3:
I'm in Germany and my English isn't that good.
I tested on a BJ-218 and a BJ-318 device
The frequency band is Value 400,000-490,000 Mhz.
both devices have the same error message in "Chirp":
490,000 not in range 400,000-480,000.
Unfortunately, the "Settings" function does not work.
Can you help?
Kind regards from Meerbusch / Germany Eddi
You English is more than satisfactory. I totaly understand what you are requesting. I just want to be sure to exactly match the radio's band limits.
Since I don't have a BJ-318 and you do, I need you to switch the radio to VFO mode, Key in a frequency close to the UHF lower frequency limit, 400 MHz (or 440 MHz) and then use the arrow keys to go lower in frequency until the radio wraps around to the UHF upper frequency limit. Make a note of both limits and post them here. I can do the same for the BJ-218 (Luiton LT-725UV).
Thanks,
Jim KC9HI
Updated by Eddi Wolf over 1 year ago
- File Display.jpg Display.jpg added
- File label.jpg label.jpg added
I tested the limits on my BJ-318.
They are 400-490Mhz.
See display and label.
Greetings Eddi DG5JN
Updated by Eddi Wolf over 1 year ago
- File limit 218.jpg limit 218.jpg added
- File BJ-218_Programming sofware.rar BJ-218_Programming sofware.rar added
The limit can be changed in the original software for the BJ-218. But does not work with the device BJ-318.
original software as "Rar" file.
Maybe that will help
Greetings Eddi DG5JN
Updated by Jim Unroe over 1 year ago
- File lt725uv_400-520.py lt725uv_400-520.py added
- Status changed from New to In Progress
- Assignee set to Jim Unroe
- Target version set to chirp-py3
It was difficult to do any work today. The local area had very high winds which causes the power to go out many times.
Eventually the wind calmed down and I was able to do some work with this. My radio, Luiton LT-725UV (variant of BJ-218) also has a label that show 400-490 MHz even though the radio was shipped to me from the factory with the upper UHF limit set to 480 MHz. I modified the driver so that the upper limit could be set as high as 520 MHz. I downloaded from the radio, changed the upper UHF limit to 520 and uploaded back to the radio. Then I attached the mic back on the radio, switched to VFO mode, keyed in "136000" (the low VHF limit) and finally tapped the V button. The VFO wrapped around to 490.000 MHz. So my radio is firmware limited to 490 MHz just like it is on the label. I want you to do the same test on your radio just in case it is different (I doubt it but it is worth a try).
Here is what you do...
- Download and save the attached driver module (lt725uv_400-520.py) to a convenient location
- Start CHIRP
- Click Help in the menu bar and enable the Developer Mode setting
- Re-start CHIRP
- Click File in the menu bar and select Load Module
Locate and load the driver module file that was saved in step 1
Download from your radio
Use Settings -> PowerOn & Freq Limits -> Upper UHF Band Limit (MHz) to set the upper limit to 520.000
Upload the change to your radio
Now switch the radio to VFO mode
Key in 136.000
Tap the [V] (down arrow) button one time (wraps the VFO frequency to the UHF upper limit)
Make note of the UHF upper limit and post it here (as mentioned above, mine wrapped around to 490.000)
Note: Loading a external driver module does not permanently change your CHIRP installation. Once you close CHIRP, the next time you load CHIRP you will have to load the driver again to utilize its features again.
Jim KC9HI
Updated by Eddi Wolf over 1 year ago
Works great with both BJ-218 and BJ-318.
I've now changed my settings to 400-480Mhz but previously tested 520Mhz.
Thank you Jim for your excellent work.
Greetings Eddi DG5JN
Updated by Jim Unroe over 1 year ago
Eddi Wolf wrote in #note-8:
Works great with both BJ-218 and BJ-318.
I've now changed my settings to 400-480Mhz but previously tested 520Mhz.
Thank you Jim for your excellent work.
Greetings Eddi DG5JN
I am trying to determine the maximum upper band limit for these radios. Did you go to VFO and test the band limits like I asked? Do they stop at 490 MHz? My radio will not select any channels that are programmed with frequencies higher than 490 MHz. The VFO will not go above 490 MHz. Do you agree that CHIRP needs to be updated to allow the UHF upper band limit to be changed to maximum of 490 MHz? Any higher than that is disregarded by the radio, right?
Jim KC9HI
Updated by Eddi Wolf over 1 year ago
Correct, the VFO ignores values above 490 MHZ. But that is sufficient. You can now set all the parameters you need under Settings.
I would like it if it were included as an update in Cirp.
Greetings Eddi DG5JN
Updated by Anonymous over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Applied in changeset github|8dcb463d453c31784f2d3be9b5c4bbde7c1e5edc.