Bang on this utility ... if it works or breaks... (Updated)

This forum is dedicated to discussions pertaining specifically to the Motorola ASTRO line of radios (those that use VSELP/IMBE/AMBE), including using digital modulation, digital programming, FlashPort upgrades, etc. If you have general questions please use the General or Programming forums.

Moderator: Queue Moderator

Post Reply
akardam
Posts: 2251
Joined: Thu Mar 04, 2004 10:53 am

Bang on this utility ... if it works or breaks... (Updated)

Post by akardam »

http://www.akardam.net/moto/decode.pl

Wrote this up after I got tired of flipping between browser tabs when trying to compare multiple flashcodes. Also added a MoFlag decoder after I did my first Spectra bitbanging the other night. (Yay me!)

One oddity is it decodes each flashcode bit in reverse order from the one over at RR. This is 'cause I went by the flash.doc's high bit to low bit ordering. I may eventually flip it around but for the time being it should still decode the data.

So, play with it, monkey with it, see if it breaks, etc etc.
Last edited by akardam on Thu Feb 16, 2006 6:02 am, edited 1 time in total.
User avatar
RESCUE161
Batboard $upporter
Posts: 2062
Joined: Wed Jan 16, 2002 4:00 pm
What radios do you own?: Too many!

Post by RESCUE161 »

Nice, VERY nice!
Scott
KE4FHH
Religion: Kills folks dead!
akardam
Posts: 2251
Joined: Thu Mar 04, 2004 10:53 am

Post by akardam »

Made some changes this morning when I woke up early (silly brain racing in first gear at 5am...)

The flashcodes now decode low bit to high bit, like the RR decoder does.

There's also an option for the flashcode decoder to collapse the output to the smallest set of comparable options... i.e. only show options that are present in at least one of the flashcodes. So if you only do one flashcode you get output that looks similar to the RR decoder (i.e. just a list of the options in that flashcode as opposed to a list of all options).

I might add the same thing for the MoFlag decoder (it would be trivial to do), but other than that I think it's pretty stable as it is, unless anyone has any other suggestions to make. Feel free to keep banging away on it.
User avatar
RESCUE161
Batboard $upporter
Posts: 2062
Joined: Wed Jan 16, 2002 4:00 pm
What radios do you own?: Too many!

Post by RESCUE161 »

Is there any way to may it automatically put in the "dashes" in the flash? Say if I put in "xxxxxxxxxxxxx", it would automatically skip to the 7th position after the 6th is input and end up looking like "xxxxxx-xxxxxx-x".

That way, you could copy and paste Ebay listings with ease. Just a thought though.
Scott
KE4FHH
Religion: Kills folks dead!
tvsjr
Posts: 4118
Joined: Fri Nov 28, 2003 9:46 am

Post by tvsjr »

Make the output show all of the flashcode options as rows of a table, then drop an X or a checkbox into the columns for each entered flashcode. That way, you can see what options you ARE getting, as well as the ones you are NOT getting.
akardam
Posts: 2251
Joined: Thu Mar 04, 2004 10:53 am

Post by akardam »

Ok. There are two modes with the flashcode decoder:

If "Collapse..." is *not* checked:

All flashcode options are listed, and the table is populated with up to three flashcodes showing which options are checked.

If "Collapse..." *is* checked:

The utility will only display options for which at least one of the up to three flashcodes has said option enabled. So, for example, if none of the flashcodes had Software Encryption, it would omit that option row.

So in effect the first option does show you all the options, and has a marker to indicate whether it is enabled or not for each flashcode. Does that clear it up a little bit?
User avatar
alex
Administrator
Posts: 5762
Joined: Mon Sep 03, 2001 4:00 pm

Post by alex »

Cool - I do like the flashcode tool since it lets you easily see the difference between three different flash's.

Nifty.

As you tweek it, if you'd like to see it added here (being on the board - not on the main site) I could intergrate a link, or add it somehow.

Let me know if it interests you, and we can chat offline about it.

-Alex
The Radio Information Board: http://www.radioinfoboard.com
Your source for information on: Harris/Ma-Comm/EFJ/RELM/Kenwood/ICOM/Thales, equipment.
akardam
Posts: 2251
Joined: Thu Mar 04, 2004 10:53 am

Post by akardam »

Alex, check your PM's.

----

As was requested, the flashcode decoder will now accept "sloppy" flashcodes with no dashes in them, the kind that those on fleabay like to post. It still has to have all thirteen characters including the checksum (see the example text). It will also attempt to reconstitute sloppy flashcodes into the proper dashed format.

Any other feature requests?
cbus
Posts: 264
Joined: Sun Apr 21, 2002 2:39 am

Post by cbus »

Excellent!

Well done mate
Post Reply

Return to “Legacy Batboard Motorola ASTRO (VSELP/IMBE/AMBE) Equipment Forum”