Loading ...
Sorry, an error occurred while loading the content.

Re: TNC-X Questions

Expand Messages
  • neocharles_kk4hok
    Okay, again I went too fast here. Looks like the cable had a loose ground possibly. But listening to the audio that s being transmitted, it doesn t quite
    Message 1 of 7 , Mar 16 11:03 AM
    • 0 Attachment
      Okay, again I went too fast here. Looks like the cable had a loose ground possibly.

      But listening to the audio that's being transmitted, it doesn't quite sound "packet like"... almost like a solid tone is being sent... regardless of how I adjust R7

      --- In BPQ32@yahoogroups.com, "neocharles_kk4hok" <neocharles@...> wrote:
      >
      > Thanks!
      >
      > I was trying this last night with an HT that I had, and I think there was just too much of a delay between xmit and receive on the radio itself to work properly... (UV-5r), so I came into where I have my working node running with my KPC3+ and Kenwood TR-700A.
      >
      > I unplugged the 9 pin cable from the KPC and plugged it into the Pi. The Yellow LED lights up when there's packet data heard (verified with an HT on the same frequency to monitor), however, whenever it tries to transmit... it doesn't key the radio!
      >
      > The radio settings from the cfg file are: http://pastebin.com/raw.php?i=hSVcXBNE
      >
      > The TNC Params are: http://pastebin.com/raw.php?i=GdA0ZYeN
      >
      > This is what I get when starting up linbpq: http://pastebin.com/raw.php?i=jWNdMMa1
      >
      > Am I missing something?
      >
      > --- In BPQ32@yahoogroups.com, "John Wiseman" <john.wiseman@> wrote:
      > >
      > > Charles,
      > >
      > > That would work. I add user pi to group i2c. I'll get that added to the
      > > docs. Generally as little as possible should be run as root.
      > >
      > > 73, John
      > >
      > > _____
      > >
      > > From: BPQ32@yahoogroups.com [mailto:BPQ32@yahoogroups.com] On Behalf Of
      > > neocharles_kk4hok
      > > Sent: 16 March 2013 00:44
      > > To: BPQ32@yahoogroups.com
      > > Subject: [BPQ32] Re: TNC-X Questions
      > >
      > >
      > >
      > >
      > > Appears it may be permissions related... not sure if you need to be able to
      > > access these as not root, but this post allowed me to be able to not to need
      > > that... http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28
      > > <http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=26212> &t=26212
      > > (third post)
      > >
      > > --- In BPQ32@yahoogroups.com <mailto:BPQ32%40yahoogroups.com> ,
      > > "neocharles_kk4hok" <neocharles@> wrote:
      > > >
      > > > I.... may have done something wrong? I'm not sure...
      > > >
      > > > http://pastebin.com/raw.php?i=bjyhx4yj
      > > >
      > > > --- In BPQ32@yahoogroups.com <mailto:BPQ32%40yahoogroups.com> , "John
      > > Wiseman" <john.wiseman@> wrote:
      > > > >
      > > > > Charles
      > > > >
      > > > > I assume you want to run the Linux version of BPQ32 (LinBPQ) on the PI -
      > > if
      > > > > not you are probably posting to the wrong forum!
      > > > >
      > > > > I don't know which PDF you are refering to, but from what you've said it
      > > > > doesn't sound lke they are for using the TNC with LinBPQ they sound like
      > > > > instructions for using the Linux ax.25 stack.
      > > > >
      > > > > You don't need to use the ax-tools or ax-apps, or to edit any of the
      > > > > /etc/ax25 files - they are for using the linux kernel ax25 code.
      > > > >
      > > > > As you've said, the TNC is shipped configured to use the serial port. To
      > > > > enable i2c you have to change the value in location 7 of the NVRAM. You
      > > have
      > > > > to do one at a time - you cant have two TNCs using the serial port at
      > > the
      > > > > same time. So plug in one of the TNCs, and run
      > > > >
      > > > > ./pitnc_getparams 0 0 - you should get what your image shows, but
      > > without
      > > > > the checksum error. Set the i2c address - I usually start from 16 (for
      > > no
      > > > > very good reason)
      > > > >
      > > > > ./pitnc_setparams 0 0 7 16 This should now show that location 7 is 16
      > > (10
      > > > > hex) Confirm with another get_params. Note that it wont switch to i2c
      > > mode
      > > > > till the TNC is reset. To do this set reg 15 to 2
      > > > >
      > > > > ./pitnc_setparams 0 0 15 2 The leds should flash, but you wont get a
      > > > > response (as the program is still in serial mode). Now read the params
      > > in
      > > > > i2c mode
      > > > >
      > > > > ./pitnc_getparams 1 16 (assuming it is a Version 2 board (with the
      > > > > mounting holes). It should now respond.
      > > > >
      > > > > Repeat with the other TNC, and set a different address. Say 17.
      > > > >
      > > > > Plug both TNCs onto the PI, and check that they are both still
      > > responding,
      > > > > to getparams.
      > > > >
      > > > > You can then run LinBPQ - the instructions for configuring the the code
      > > to
      > > > > use i2c is towards the bottom of the installation instructions at
      > > > >
      > > > > https://dl.dropbox.com/u/31910649/InstallingLINBPQ.htm
      > > > >
      > > > > Good Luck!
      > > > >
      > > > > 73, John G8BPQ
      > > > >
      > > > >
      > > > > From: BPQ32@yahoogroups.com <mailto:BPQ32%40yahoogroups.com>
      > > [mailto:BPQ32@yahoogroups.com <mailto:BPQ32%40yahoogroups.com> ] On Behalf
      > > Of
      > > > > neocharles_kk4hok
      > > > > Sent: 15 March 2013 19:53
      > > > > To: BPQ32@yahoogroups.com <mailto:BPQ32%40yahoogroups.com>
      > > > > Subject: [BPQ32] TNC-X Questions
      > > > >
      > > > >
      > > > >
      > > > >
      > > > > I am getting around to building and installing this on my very first
      > > > > Raspberry Pi. I am hoping you can answer a few questions for me!
      > > > >
      > > > > I bought the model Pi with the higher amount of RAM on it (not sure if
      > > that
      > > > > matters). I also picked up 2 of the TNC-X's and have them built and
      > > attached
      > > > > onto the Pi.
      > > > >
      > > > > I hope to use this for a 2m and a 440 HT to have packet running on both
      > > > > frequencies in the area. (at least, that's the plan. May not last that
      > > way
      > > > > long-term).
      > > > >
      > > > > I followed the steps on the PDF file. Luckily, ax25 is included in the
      > > > > newest Weezy release, so that made it a little easier.
      > > > >
      > > > > I went ahead and removed the lines specified from cmdline.txt and edited
      > > the
      > > > > inittab file as well.
      > > > >
      > > > > I loaded the ax25-tools and ax25-apps, and went ahead and edited the
      > > > > /etc/ax25/axports file. I added the two lines as stated in the pdf file
      > > > > (except using my call). I then went ahead and ran 'sudo kissattach
      > > > > /dev/ttyAMA0 1 10.1.1.1', and it seemed to be successful - to a point. I
      > > was
      > > > > able to execute 'sudo axlisten -a' and I was able to see the packet data
      > > > > properly. However, when I had ran kissattach, it seems that it took my
      > > pi
      > > > > off the wireless network, and I was no longer able to ssh in, etc. I am
      > > > > unsure if that's the correct thing that is supposed to happen or not.
      > > > >
      > > > > Anyways, at that point, I went ahead and continued on in the manual past
      > > > > some of the other steps, onto the portion about the I2C protocol. That's
      > > > > what I am interested in - using it with John's software.
      > > > >
      > > > > However, this again has me stumped. Specifically, since I have two TNCs
      > > > > hooked up, I am unsure how to set this up. I went ahead and removed the
      > > > > lines in /etc/modprobe.d/raspi-blacklist.conf and added the line in
      > > > > /etc/modules. I downloaded and extracted paraps.zip and set that to be
      > > able
      > > > > to be executed, however, regardless of what value I put in 'b' for
      > > > > 'pitnc_getparams b d', I get the same output:
      > > > > http://pastebin.com/raw.php?i=NRsEhVFp
      > > > >
      > > > > From what I thought by reading this, since they're both shipped
      > > apparently
      > > > > with this value being 0, how do I differentiate between the two? Why is
      > > it
      > > > > responding when I use 1, or even 2?
      > > > >
      > > > > I have pretty much stopped at this point, and awaiting to hear back as
      > > to
      > > > > what is going on so far, and where to proceed from here.
      > > > >
      > > > > Thanks!!
      > > > > Charles, KK4HOK
      > > > >
      > > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.