Bug #1773

[UV-5R] Prevent upload when "special blocks" don't match

Added by Jim Unroe about 3 years ago. Updated about 3 years ago.

Status:Closed Start date:07/17/2014
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

100%

Category:-
Target version:0.4.1
Chirp Version:daily Platform:All
Model affected:UV-5R

Description

Until now it has been considered safe to upload the Main block of any Baofeng UV-5R style radio to another of a similar style. Only the uploading of the Aux block has been prevented when the firmware versions do not match.

It has been discovered that there is a "special block" in the Main block that differs between the High/Low power radios and the High/Mid/Low power radios (like the Intek KT-980HP or Baofeng BF-F8HP). Since these new radios with 3 power levels use the same ident string as the UV-5R style radios (with BFB291 firmware or newer), it is possible to upload the image from a radio having 3 power levels into a radio with 2 power levels. When this is done, the radio will no long receive any signals.

A patch is needed to prevent uploading an image file to a radio when the "special blocks" don't match.

Associated revisions

Revision 2232:b56d639ab6ab
Added by Jim Unroe about 3 years ago

[UV-5R] Prevent image upload when "special block" doesn't match

add code to compare the data image "special block" to the radio
image "special block" and abort the upload if they don't match

#1773

History

Updated by Jim Unroe about 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Model affected changed from (All models) to UV-5R

Also available in: Atom PDF