Bug #697

D72 does not scan past channel 136

Added by Tom Hayward over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:03/14/2013
Priority:Normal Due date:
Assignee:Tom Hayward % Done:

100%

Category:-
Target version:0.3.1
Chirp Version:0.3.0 Platform:All
Model affected:TH-D72 Clone

Description

Paul Cummings programmed his TH-D72 with Chirp's clone mode driver and now his radio will not scan past channel 136. When recalled on the radio, the lockout value for memory 137+ is corrupt.

The memory Chanel 137 is corrupt somehow. The lockout option shows random characters instead of a "on &off" option.

Upon examination of his img file, unknown1 was 0xFE for channels greater than 136. On my non-corrupt radio, unknown1 is always 0x00. Based on the "random characters", it appears the D72 reads the full byte (unknown1 + skip) to evaluate lockout. Chirp should do the same.

final_AZ_CA_camp.img (64 kB) Tom Hayward, 03/14/2013 04:53 pm

final_AZ_CA_camp_fixed.img (64 kB) Tom Hayward, 03/14/2013 04:53 pm


Related issues

related to Bug #1139: Error pulling channels from D72A Rejected 09/18/2013
related to Bug #1377: dirty blocks Rejected 01/16/2014

Associated revisions

Revision 1930:27d9091ee377
Added by Tom Hayward over 4 years ago

[thd72] Fix initialization of skip byte in clone mode driver. #697

Paul Cummings programmed his TH-D72 with Chirp's clone mode driver and now his
radio will not scan past channel 136. When recalled on the radio, the lockout
value for memory 137+ is corrupt.

The memory Chanel 137 is corrupt somehow. The lockout option shows random
characters instead of a "on &off" option.

Upon examination of his img file, unknown1 was 0xFE for channels greater than
136. On my non-corrupt radio, unknown1 is always 0x00. Based on the "random
characters", it appears the D72 reads the full byte (unknown1 + skip) to
evaluate lockout. This patch modified Chirp to read the full byte.

Revision 1969:42bc65a39835
Added by Tom Hayward over 4 years ago

[thd72] Fix initialization of skip byte in clone mode driver. #697

Paul Cummings programmed his TH-D72 with Chirp's clone mode driver and now his
radio will not scan past channel 136. When recalled on the radio, the lockout
value for memory 137+ is corrupt.

The memory Chanel 137 is corrupt somehow. The lockout option shows random
characters instead of a "on &off" option.

Upon examination of his img file, unknown1 was 0xFE for channels greater than
136. On my non-corrupt radio, unknown1 is always 0x00. Based on the "random
characters", it appears the D72 reads the full byte (unknown1 + skip) to
evaluate lockout. This patch modified Chirp to read the full byte.

Revision 1931:ca76c7af25c7
Added by Tom Hayward over 4 years ago

[thd72] Add get_raw_memory() method for TH-D72 clone mode driver. #697

Revision 1970:604d2261b3f6
Added by Tom Hayward over 4 years ago

[thd72] Add get_raw_memory() method for TH-D72 clone mode driver. #697

History

Updated by Tom Hayward over 4 years ago

Paul, here is a cleaned-up img file for you to test.

Updated by Tom Hayward over 4 years ago

  • Status changed from Resolved to Needs Backport

Updated by Dan Smith over 4 years ago

  • Status changed from Needs Backport to Closed

Also available in: Atom PDF