[chirp_devel] ICF File for Icom IC-F520
Does anyone know how to decode the frequency?
I'm looking at an ICF file produced by Icom's CS-F500 software for an IC-F520 land mobile radio. It wasn't hard to find where in the file memory channels are stored. Unfortunately, the frequency isn't stored as a simple integer nor does the scheme for decoding IC-2100 frequencies work.
The first line of the file is 25260000
If anyone likes puzzles, I can post an ICF with any frequencies you like. ;-)
Does anyone know how to decode the frequency?
I'm looking at an ICF file produced by Icom's CS-F500 software for an IC-F520 land mobile radio. It wasn't hard to find where in the file memory channels are stored. Unfortunately, the frequency isn't stored as a simple integer nor does the scheme for decoding IC-2100 frequencies work.
The first line of the file is 25260000
In every ICF file I've ever seen, the file is like a BCD dump of the memory, so you have to read the BCD, parse to binary and then you can see what is going on. See the ICF conversion code in chirp (chirp/icf.py) for details. Icoms seem to always use a few bytes for the frequency, which is multiplied by a step frequency (6.25kHz, 5kHz, etc) to get the actual frequency.
--Dan
On Jan 28, 2015, at 5:57 PM, Dan Smith dsmith@danplanet.com wrote:
Does anyone know how to decode the frequency?
I'm looking at an ICF file produced by Icom's CS-F500 software for an IC-F520 land mobile radio. It wasn't hard to find where in the file memory channels are stored. Unfortunately, the frequency isn't stored as a simple integer nor does the scheme for decoding IC-2100 frequencies work.
The first line of the file is 25260000
In every ICF file I've ever seen, the file is like a BCD dump of the memory, so you have to read the BCD, parse to binary and then you can see what is going on. See the ICF conversion code in chirp (chirp/icf.py) for details. Icoms seem to always use a few bytes for the frequency, which is multiplied by a step frequency (6.25kHz, 5kHz, etc) to get the actual frequency.
--Dan
Now that I have the IC-F520 memory (mostly) mapped I found my problem; I wasn't looking at 7 bits of the frequency. Oops!
The Tx and Rx frequencies are stored in Hz. No special conversion required. I'll keep my eyes open for "gotchas".
participants (2)
-
Dan Smith
-
Joseph scanlan