Menu

NRD-545 help

Help
2005-03-26
2013-01-15
  • Rick Kunath

    Rick Kunath - 2005-03-26

    I've got the 1.2.3 version of hamlib compiled successfully.

    I am doing some testing to see why gmfsk or Smart Gnome Control can't see the radio. (It does work under W2K.) I have both serial ports working. The Linux distro is Mandrake 10.1.

    Running rigctl in a console I get this:
    rigctl -r /dev/ttyS0 -m 607

    Rig command: f
    read_string: timedout without reading a character
    jrc_get_freq: wrong answer , len=-5
    get_freq: error = Command rejected by the rig

    Rig command:

    It appears the radio is rejecting the command or is it the result?

    The radio was set to 15,120.00 KHz at the time.

    Any idea how to test this further? Or is this a bug in the beta drivers for the 545?
    TIA
    Rick Kunath

     
    • Martin Ewing, AA6E

      Don't know your rig, but you may need to specify the baud rate with the -s switch.

      Martin, AA6E

       
    • Rick Kunath

      Rick Kunath - 2005-03-26

      I did some more testing, and can send commands to the radio using rigctl fine, freq, mode changes, but doing an "f" to get the freq returns the failure. Nothing gets read.

       
      • Stéphane Fillod

        Good to know it's working for some other commands. That means the serial settings are ok.
        To help debugging, please always provide traces with -vvvvvv option (full serial traces).

        The problem with get_freq is a known bug, which is fixed in CVS repository, and will be part of forthcoming release 1.2.4.
        It has to do with handling of 64bit ints by printf/scanf. If you're not familiar with CVS, and cannot wait for 1.2.4, then simply replace all "Ld" in jrc/jrc.c by "lld" and recompile. That should do it.

         
    • Rick Kunath

      Rick Kunath - 2005-03-26

      It would look like my serial ports are OK...

      I grabbed an AOR 7030 and hooked it up. Rigctl controls the radio just fine, and sgcontrol works like a dream.

      Going back to the 545, again the same. Freqs can't be read and hamlib appears not to be able to talk to the radio. Rigctl can send commands to the radio just fine.

      I'm suspecting a bug in the 545 hamlib code.

       
    • Rick Kunath

      Rick Kunath - 2005-04-12

      NRD-545 Wideband-
      Still not working after the recent CVS commits post 1.2.4 (4-11-05).

      The frequency read command still fails, and the write is working (as before.) The read frequency command fails differently.

      Here is the console command I started rigctl with:

      rigctl -vvvvvv -r /dev/ttyS0 -m 607

      And here"s the outputs of a frequency read and a write:
      ------------------------------------------
      Rig command: f
      TX 2 bytes
      0000     49 0d  I.
      read_string: timedout without reading a character
      jrc_get_freq: wrong answer , len=0
      get_freq: error = Command rejected by the rig

      Rig command: F
      Frequency: 15000000
      TX 12 bytes
      0000     46 30 30 31 35 30 30 30 30 30 30 0d    F0015000000.

      Rig command:
      --------------------------------------------

      The first operation (the frequency read) fails, but a frequency write works.

      Smart Gnome Control comes up with a blank display, but no longer reports any error messages about the radio, and clicking on the "band plan" section  changes the rig frequency, though the entire black portion of the panel is  blank and the keys for frequency changing and the number keypad are greyed out and inoperative.

      Gmfsk still indicates the "command rejected by rig" message.

      Again, thanks to all in advance,
      Rick Kunath

       

Log in to post a comment.