https://chirpmyradio.com/https://chirpmyradio.com/favicon.ico?16699092072016-09-06T23:08:45ZCHIRPCHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=109792016-09-06T23:08:45ZSamuel Poissantsamuelpoissant@gmail.com
<ul></ul><p>I have exactly the same problem, and I have something weird my radio was at repair in Baofeng tech and when I have received the radio it wouldn't talk any more to Chirp chirp-daily-20160906 and chirp-daily-20160816 and I have the same reaction, Radio refused to send block 0x1ec0.</p>
<p>Thanks Best regards.<br>
Samuel Poissant</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=109992016-09-07T10:30:46ZJim Unroejru.chirp@kc9hi.net
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>John,</p>
<p>Your radio is responding with an invalid/corrupt reply.</p>
<p>aa 79 00 03 06 50 dd 00</p>
<p>It should look something like this</p>
<p>aa 30 79 04 00 05 20 dd</p>
<p>The "aa" is the beginning of the reply<br>
The "30" is the lower VHF band limit ([1}30 MHz)<br>
The "79" is the upper VHF band limit ([1}79 MHz)<br>
The "04 00" is the lower UHF band limit (400 MHz)<br>
The "05 20" is the upper UHF band limit (520 MHz)<br>
The "dd" is the end of the reply</p>
<p>Since the "dd" is not where it belongs (the 8th byte), CHIRP doesn't recognize your radio as being a valid Baofeng radio.</p>
<p>What I would suggest for right now would be to download the OEM VIP software to see if you can reset the band limits to the radio in the hope that it will coax the radio into returning a valid reply. The software is available "here":<a href="http://www.miklor.com/UV82/UV82-Software.php">http://www.miklor.com/UV82/UV82-Software.php</a></p>
<p>Basically you would access the OEM software's "Other" menu, read the radio, set the band limits to as wide as the software will allow, write the new band limits back to the the radio, then try it with CHIRP again.</p>
<p>If this doesn't work, I will try to come up with something else.</p>
<p>Jim KC9HI</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=110012016-09-07T10:34:33ZJim Unroejru.chirp@kc9hi.net
<ul></ul><p>Samuel,</p>
<p>Your issue is not the same. Does your programming cable have a Prolific type chip? If yes, you probably have to downgrade the device driver to an older version (v3.2.0.0) as described on the "Miklor website":<a href="http://www.miklor.com/COM/UV_Drivers.php">http://www.miklor.com/COM/UV_Drivers.php</a>.</p>
<p>Jim KC9HI</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112072016-09-19T09:28:29ZJim Unroejru.chirp@kc9hi.net
<ul><li><strong>File</strong> <a href="/attachments/2781">uv5r(3987).py</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2781/uv5r(3987).py">uv5r(3987).py</a> added</li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Jim Unroe</i></li><li><strong>Target version</strong> set to <i>0.5.0</i></li><li><strong>Platform</strong> changed from <i>Windows</i> to <i>All</i></li></ul><p>I finally have an understanding of what is going on here. Using one of the following band limits can cause and issue: 1, 101, 201, 301, ..., 901. Use the attached test driver to adjust the radio as a temporary fix.</p>
<ol>
<li>save the attached "uv5r(3987).py" file to where you store your CHIRP Radio Images (*.img) files</li>
<li>load CHIRP</li>
<li>click "Help"</li>
<li>enable "Enable Developer Functions"</li>
<li>click "File"</li>
<li>click "Load Module"</li>
<li>locate and load the file saved in step 1</li>
</ol>
<p>Now try to read from your radio. It should be successful. Immediately edit the band limits so that none of the ones listed above are used. After editing the band limits, upload back to the radio. Now you should be able to disable "Enable Developer Functions" then close and reopen CHIRP. You should now be able to download and upload from the radio normally.</p>
<p>I will try to spin up a patch that restores the ability to use the currently "must be avoided" band limits.</p>
<p>Jim KC9HI</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112752016-09-23T01:14:33ZJim Unroejru.chirp@kc9hi.net
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>A patch was submitted and accepted. The next CHIRP daily build should resolve this issue.</p>
<p>Jim KC9HI</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112812016-09-23T14:20:12ZReed Swasey
<ul><li><strong>File</strong> <a href="/attachments/2791">debug.log</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2791/debug.log">debug.log</a> added</li></ul><p>Have a BF-F9V2+ (uv-82hp variant). Using latest daily. Get the following error "Failed to communicate with radio: local variable 'response' referenced before assignment" have tried enabling developer functions and loading the uv5r(3987).py file but i get a invalid syntax line 1 error. Debug.log attaached.</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112832016-09-23T16:21:36ZJim Unroejru.chirp@kc9hi.net
<ul></ul><p>Reed,</p>
<p>I will take a look at this after work. I believe you will find that if you open uv5r(3987).py in a text editor it will be an html document. You cannot right-click the link and choose "Save link as". You have to left-click the link and, on the page that opens, choose "download".</p>
<p>Jim KC9HI</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112852016-09-23T16:35:09ZReed Swasey
<ul></ul><p>Jim</p>
<p>Following your instructions i was able to download a working uv5r(3987).py and load into chirp. Am no able to read and write to the radio. </p>
<p>Reed<br>
AD7ZW</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112872016-09-23T17:10:39ZJuan C
<ul></ul><p>Jim,</p>
<p>Thanks for putting the patch together. I can confirm that the patch resolved the issue and allowed me to read/write to a UV-82HP radio without issue.</p>
<p>Thanks!</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112892016-09-23T18:21:34ZJim Unroejru.chirp@kc9hi.net
<ul></ul><p>Thanks Juan.</p>
<p>Reed,</p>
<p>Get me a debug log using the uv5r(3987).py test driver.</p>
<p>Jim</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112932016-09-23T19:14:49ZReed Swasey
<ul><li><strong>File</strong> <a href="/attachments/2793">debug.log</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2793/debug.log">debug.log</a> added</li></ul><p>Jim</p>
<p>Per your request here is the debug.log. Read my earlier reply it should say i am now able to read and write the radio. Need to learn to proof read my replies.</p>
<p>Reed<br>
AD7ZW</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112952016-09-23T21:24:47ZJim Unroejru.chirp@kc9hi.net
<ul></ul><p>Somehow I reverted one of my changes. I will submit a patch soon.</p>
<p>Jim KC9HI</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=112972016-09-23T21:47:29ZJim Unroejru.chirp@kc9hi.net
<ul><li><strong>File</strong> <a href="/attachments/2795">uv5r.py</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2795/uv5r.py">uv5r.py</a> added</li></ul><p>I don't know what happened because I tested it with at least 3 different radios. Oh, well. Anyway, a patch to correct the problem has been submitted.</p>
<p>I have attached the corrected driver if you want to manually load and use it until the daily build comes out.</p>
<p>Jim KC9HI</p>
CHIRP - Bug #3987: UV-82HP (An error has occurred, Unexpected response from radio)https://chirpmyradio.com/issues/3987?journal_id=200172020-02-02T20:16:46ZBernhard Hailerae6yn@arrl.net
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>Priority</strong> changed from <i>High</i> to <i>Normal</i></li></ul><p>Patch applied, no more problems reported.</p>