CI-V Protocol error ic-910

Help
phppi
2007-03-08
2013-01-15
  • phppi

    phppi - 2007-03-08

    Hello
    I have got a Problem using rigctl
    When I try to get the frequency with the f command I always get an protocol error. But the bytes I receive seem to be ok. Here is what I get.

    ----------------------------------------------------------------
    Opened rig model 344, 'IC-910'
    Backend version: 0.4, Status: Alpha

    Rig command: f
    TX 6 bytes
    0000     fe fe 60 e0 03 fd      ..`...
    RX 11 characters
    0000     fe fe e0 60 03 00 00 00 35 04 fd       ...`....5..
    TX 6 bytes
    0000     fe fe 60 e0 03 fd      ..`...
    RX 11 characters
    0000     fe fe e0 60 03 00 00 00 35 04 fd       ...`....5..
    TX 6 bytes
    0000     fe fe 60 e0 03 fd      ..`...
    RX 11 characters
    0000     fe fe e0 60 03 00 00 00 35 04 fd       ...`....5..
    TX 6 bytes
    0000     fe fe 60 e0 03 fd      ..`...
    RX 11 characters
    0000     fe fe e0 60 03 00 00 00 35 04 fd       ...`....5..
    get_freq: error = Protocol error

    Rig command:

    ------------------------------------------------------------------------

    The same happens when I try to use the /tests/testrig.c example from the http://hamlib.sourceforge.net/ page.
    For example when I try to change the vfo with rig_set_vfo(), it changes the vto at the rig. But I get an protocol error.

    -----------------------------------------------
    Port /dev/ttyS0 opened ok
    TX 7 bytes
    0000     fe fe 60 e0 07 01 fd   ..`....
    RX 6 characters
    0000     fe fe e0 60 fb fd      ...`..
    TX 7 bytes
    0000     fe fe 60 e0 07 01 fd   ..`....
    RX 6 characters
    0000     fe fe e0 60 fb fd      ...`..
    TX 7 bytes
    0000     fe fe 60 e0 07 01 fd   ..`....
    RX 6 characters
    0000     fe fe e0 60 fb fd      ...`..
    TX 7 bytes
    0000     fe fe 60 e0 07 01 fd   ..`....
    RX 6 characters
    0000     fe fe e0 60 fb fd      ...`..
    rig_set_vfo: error = Protocol error

    ----------------------------------------------------------

    Can anybody tell me what is wrong?
    Thanks Pickus

     
    • Thomas Beierlein

      Hi Pickus,

      Stephane (F8CFE) just pointed me to your message in the forum.

      Your problems seems not to be related to hamlib in general. I think you should check your icom interface.

      Normally all commands send to the rig are looped back to the sender. So in your posted protocol after each TX line should be one RX line with the same content.

      Your lines:

      Rig command: f
      TX 6 bytes
      0000 fe fe 60 e0 03 fd ..`...
      RX 11 characters
      0000 fe fe e0 60 03 00 00 00 35 04 fd ...`....5..

      should read

      Rig command: f
      TX 6 bytes
      0000 fe fe 60 e0 03 fd ..`...
      RX 6 bytes
      0000 fe fe 60 e0 03 fd ..`...
      RX 11 characters
      0000 fe fe e0 60 03 00 00 00 35 04 fd ...`....5..

      That missing echo is interpreted by hamlib as an collission on the CI-V bus system or as a sign of a defective interface.

      Please let us know, if you are able to fix the problem.

      Best 73 and a good start in 2008,

      Tom DL1JBE.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks