Project

General

Profile

Actions

Bug #937

closed

FT-857 saved memory causes radio to go into a reset loop

Added by Robert Terzi almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
06/24/2013
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
FT-857D
Platform:
Linux
Debug Log:
I read the instructions above:

Description

Attached is an image for a Yaesu FT-857D (US version) created with chirp that causes the radio to crash and go into a reset loop when a specific memory is used.

The frequency is 449.325, Tone mode TSQL, 136.5.

The memory entry was originally copied over from a Wouxun, but re-entering the same data into a fresh cell causes the same problem on the radio.

To reproduce.

  1. download the image.
  2. Got to memory mode
  3. Dial up to M-003 or M-005

Chirp version: tip, pulled with hg today.

NOTE: I tried to use as pristine of an image as I could for isolating this. The radio was reset using all three of the available reset types (Home, Func, V/M). Then the image was read, copying over just the one problematic memory.

(However, after reset, I could still see remenants of the old memories in the image file. The memories had be marked as inactive but not cleared by the radio.)


Files

troubleshooting-ft857.img (7.31 KB) troubleshooting-ft857.img Robert Terzi, 06/24/2013 06:23 PM
bug-937a-2.img (7.31 KB) bug-937a-2.img Robert Terzi, 06/25/2013 11:40 AM

Related issues

Related to Bug #857: 857/957 IMG file OS X crashClosedFilippi Marco05/07/2013

Actions
Actions #1

Updated by Filippi Marco almost 11 years ago

  • Status changed from New to In Progress
  • Assignee set to Filippi Marco
  • Priority changed from Normal to High
Actions #2

Updated by Robert Terzi almost 11 years ago

Some additional information from some additional testing: I haven't completely narrowed it down yet, because I've gotten some results that aren't as reliably repeatable:

1 - Copying the memory and writing it to the radio without editing it with chirp will reproduce the problem.
2 - Editing the problematic memory with CHiRP (even just changing the label) will "fix" the problem.
3 - This may have to do with the previous contents of the memory, as there were times where I copied the bad memory to a new location and the new location did not show the same problem.

Actions #3

Updated by Robert Terzi almost 11 years ago

Also an FYI for working with a FT-857 that gets stuck in a crash/restart loop: While the radio is resetting itself, it is still possible to put it into clone mode by holding down the normal keys [<] + [>]. That way the memory contents can be downloaded and examined. (Also memories / settings could possibly be retained at least for viewing through chirp.)

Actions #4

Updated by Robert Terzi almost 11 years ago

Clarification on the image I posted - There are 4 active memories, 1,2,3, and 5.

Memory locations 2 and 3 will cause the problem, Memory location 5 is OK -- it was edited to change the label so it fixed the problem.

I will post a new memory image with a memory entry made on the radio for comparison.

Actions #5

Updated by Robert Terzi almost 11 years ago

Attached is a new memory image, bug-937a-2.img

It appears to show the problem is outside of the per channel memory data tracked by CHiRP when doing a show/diff raw memory.

The channels in the image are:
1 - Default created by resetting radio. (7.000 Mhz USB)
2 - Memory created from the front panel of the radio with similar settings (didn't touch step size or power) (449.325 Mhz, TSQL, 136.5 PL)
10 - Bad memory originally copied from a Wouxun that causes the problem.
5 - Same memory as No. 10, but edited with chirp to change the label from "test" to "testOK" which "fixed" the memory.

Chirp's diff raw memory function shows only the label being different by two bytes between the good Channel 5 and the bad channel 10.

Actions #6

Updated by Robert Terzi almost 11 years ago

Ok, I believe I've found the answer and it's a (latent) bug in the radio. A memory label of 4 characters or less will cause the radio to crash when accessing that memory. This is on a FT-857D, manufactured in 2012. The default label the radio creates is 6 characters long CH-NNN, so there is probably never a case where it is possible to create a label on the radio with 0xFF's starting at a position less than the 7th character.

Most likely a work around should be added to Chirp to space pad labels to a minimum of 5 or 6 characters.

Actions #7

Updated by Filippi Marco almost 11 years ago

  • Status changed from In Progress to Feedback

A patch have been sent to developers list, now waiting for Robert feedback

Actions #8

Updated by Robert Terzi almost 11 years ago

Ok, I've tested the latest (3rd) patch. It successfully pads the 8 character label to spaces
thus avoiding the problem with the 0xff padding that causes the radio to crash.

Note: If no label is entered, it will also fill the contents with 8 spaces
overwriting what ever was there which I think should be fine. I did check the
radio still displays the frequency if there is no tag. (I believe it
overwrote before, though it wrote 0xff so it looked like uninitialized memory.)

Actions #9

Updated by Filippi Marco almost 11 years ago

  • Status changed from Feedback to Closed

The patch from Bug #857 introduce this one, if it'll be backported this one have to be backported also.

Actions

Also available in: Atom PDF