IC-R8600 CI-V command bug?

Status
Not open for further replies.

jarvis_road

Member
Joined
May 23, 2019
Messages
12
Hi,

I'm trying to use the (0x1A, 0x00) commands to read back memory contents via CI-V.

It does not seem to work for all memory channels - reading back from channels 11 or 13 gives issues: neither returns the channel number and reading from 13 screws up the next transfer. This behaviour is the same regardless of the bank I have selected. I wonder if anyone else here has tried this? Any help or pointers appreciated. My CI-V setup seems to be correct and I have success with other command classes.

(I have tried partial, full resets / clearing out memory contents / trying with all firmware versions 1.02 - 1.34)

Here's a log of the communication to/from the radio
>> fefe96e01a0000000000fd
<< fefee0961a0000000000fffd
>> fefe96e01a0000000001fd
<< fefee0961a0000000001fffd
... all ok between channel 0x01 .. 0x11
>> fefe96e01a0000000011fd
<< fefee0961a00000000fffd [incorrect response: missing channel number]
>> fefe96e01a0000000012fd
<< fefee0961a0000000012fffd
>> fefe96e01a0000000013fd
<< fefee0961a00000000fffd [incorrect response: missing channel number]
>> fefe96e01a0000000014fd
<< [No response - timeout]
>> fefe96e01a0000000015fd
<< fefee0961a0000000015fffd
... all ok between channel 0x15 .. 0x99
>> fefe96e01a0000000099fd
<< fefee0961a0000000099fffd
 

EricCottrell

Member
Premium Subscriber
Joined
Nov 8, 2002
Messages
2,414
Location
Boston, Ma
Hello,

Going from memory, it looks like you are using too many zeros and actually only writing in Group 00 and Memory 00. Here are some sequences based on the documentation.
fefe96e01a00000000fd Read Group 00 Memory 00
fefe96e01a00000001fd Read Group 00 Memory 01
fefe96e01a00000002fd Read Group 00 Memory 02
fefe96e01a00010001fd Read Group 01 Memory 01
fefe96e01a00000000000000556201050200000000000112000000010057582d31000000000000000000000000fd Program Memory 00-00 to 162.550 FM Filter 2 labelled WX-1

73 Eric
 

jarvis_road

Member
Joined
May 23, 2019
Messages
12
Hi Eric,

Thanks for your reply. Apologies for my confusing logfile - I was reading back memory locations that I had previously cleared in an attempt to keep it brief.

I double-checked the CI-V reference guide and think my read command format is correct:
fe fe 96 e0 1a 00 <GG> <GG> <CC> <CC> fd
Where GGGG is the 4 digit group number & CCCC is the 4 digit channel number.

Here is a log after executing reads from channels [00..14] in group 0 after having written to them with ascending frequencies [144.0MHz, 145.0MHz ... 158.0MHz] (FM, Filter2). The data read back appears to be correct except for channels 11 & 13. Here the responses are 1 byte shorter and lack the channel number (although the frequency is correct). After executing a read from channel 13 I get no response back so my next command times out (my program behaviour). Are you able to try something similar? Try reading back channels 11/13 in any bank?

>> fefe96e01a0000000000fd
<< fefee0961a00000000000000000044010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000001fd
<< fefee0961a00000000010000000045010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000002fd
<< fefee0961a00000000020000000046010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000003fd
<< fefee0961a00000000030000000047010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000004fd
<< fefee0961a00000000040000000048010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000005fd
<< fefee0961a00000000050000000049010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000006fd
<< fefee0961a00000000060000000050010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000007fd
<< fefee0961a00000000070000000051010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000008fd
<< fefee0961a00000000080000000052010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000009fd
<< fefee0961a00000000090000000053010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000010fd
<< fefee0961a00000000100000000054010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000011fd
<< fefee0961a000000000000000055010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000012fd
<< fefee0961a00000000120000000056010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000013fd
<< fefee0961a000000000000000057010502000000000001120005000000002020202020202020202020202020202000000885000023fd
>> fefe96e01a0000000014fd
 

jarvis_road

Member
Joined
May 23, 2019
Messages
12
Good spot Eric, thank you!
Never having used xon/xoff before, I didn't know the significance of 0x11 & 0x13
 
Status
Not open for further replies.
Top