Bug #10070

[UV-82] Older "images" can cause scanning and/or transmit to be disabled.

Added by Jim Unroe about 1 month ago. Updated about 1 month ago.

Status:Closed Start date:10/08/2022
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

100%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:All
Model affected:(All models)

Description

It has been discovered that there have been at least 2 memory layout changes in recent Baofeng UV-82 (and similar) radio models. Neither time was the firmware version that gets reported to CHIRP updated/changed leaving CHIRP with no useful way in detecting which version is which.

These memory layout changes were discovered when UV-82HP radios in-the-field were being reported as exhibiting the side affect of either not being able to scan or not being able to transmit after being programmed with CHIRP. Investigation of the issue indicated that in all cases the affected radio had been programmed with CHIRP Radio Images (*.img) file that was obtained from one of the other variants with a different memory layout. Once this was understood, a comparison of the "images" from the 3 variations was made to see if it was possible to determine exactly what portions of memory were incompatible. It was. There are 3 places.

Currently when the firmware version of the "image" file exactly matches the firmware version within the radio it is being uploaded to, the complete "image" is transferred into the radio. Unfortunately this overwrite these areas with incompatible data which results in the undesirable side affects described above.

The driver for these radios is already programmed to skip past these known troublesome memory locations when uploading an "image" to a radio that does not have a matching firmware version. This driver needs to be modified so that these areas of memory are always skipped regardless of the source and destination firmware versions.

Jim KC9HI

Associated revisions

Revision 3776:7a1dfa44fe21
Added by Jim Unroe about 1 month ago

[UV-82HP] Fix UV-82HP (and similar) with disabled scanning/transmit issues

This patch updates the uv5r.py driver module to always skip the uploading of
memory blocks that are known to cause compatibility issues regardless of the
supported radio model and firmware version.

fixes #10070

History

Updated by Jim Unroe about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Patch submitted. Support will be in the next CHIRP daily build following acceptance.

Jim KC9HI

Updated by Anonymous about 1 month ago

  • Status changed from Resolved to Closed

Applied in changeset 7a1dfa44fe21.

Also available in: Atom PDF