Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Raspberry Pi 3+B and TNC install....... Problems
Lorin Tremblay
HI!
Due a defective SD Card I had to re-install everything from scratch....... But after a couple of days of struggling with the TNC, I have yet to get it to work. I have read pretty much all the tutorial under the sun, and yet still no success.... Where does someone start or looks when everything fails. Raspeberry Pi 3+B with TNC All the latest sorftware as of 08-30-2023, no update are available. Reinstalled to OS about 6 times so far and tried different approaches. Is there a 2023 updated tutorial on enabling the TNC on the raspberry PI? So far, from what I understood is that you need to enable the serial port and disable serial login modify the config.txt with the 3 lines that's need to be added and also the cmdline.txt file Verify the the TNC with an oscillating scope and meter, the tnc is good. So any help or insight would be great! |
开云体育Hello Lorin, You need to share some more information: ?? - What OS are you using on the Raspberry Pi?? I would recommend the newest Raspberry Pi OS (Bullseye) ?? - What TNC are you using? Is there a 2023 updated tutorial on enabling the TNC on the raspberry PI? There is mine where I recommend the use of the sound-device enabled Direwolf software TNC at: ?? Please note that in the Appendix, I do also cover using hardware TNCs like a TNC-X / TNC-Pi as well as a Kenwood D10 as well. --David KI6ZHD |
Manually editing the files isn't needed.
From a console window type sudo raspi-config
Go to interfaces, then serial port.? First option is if you want to allow logins. Select no, second is if you want the hardware to be enabled, select yes.? Exit out and reboot
Get
On Aug 30, 2023, at 10:13, "Lorin Tremblay via " <me.com@groups.io target=_blank>[email protected]> wrote: HI! |
Lorin Tremblay
开云体育Running bullseye? Coastal TNC Followed it to the letter section 90.a
|
开云体育Hello Lorin,
Which one?? TNC-X or TNC-Pi??? If you're using a TNC-X, what are you using to connect the Pi to the external TNC?? A USB to serial adapter?? Maybe you're trying to use one of the RS232 ports off the 40pin GPIO header?
So are you getting any errors when you run the AX.25 startup scripts?? Can you tell us what does and doesn't work? --David KI6ZHD |
Lorin Tremblay
开云体育
From what I’m understanding, the rasp is simply not seing the tnc. pi@WeeWx-APRS:/usr/src/pitncgetset $ sudo ./pitnc_getparams /dev/serial0 0 pitnc_getparams Version 0.0.0.5 Using Serial port /dev/serial0 retrying... retrying... ?Tried several diff devices like, ttys0, serial2, AMA and so on...
|
开云体育I *think* it defaults to I2C on the TNC-pi I stead of serial
Get
On Aug 30, 2023, at 16:35, "Lorin Tremblay via " <me.com@groups.io target=_blank>[email protected]> wrote:
|
Couple things you might try. Turn the TXD(R6) pot CCW(zero) with the power off.?
Apply power for a few seconds. Turn the pot up CW 1/4-1/2. Apply power, this will reset the NVRAM on the pitnc to factory defaults. Also make sure no kissattach is running (no ax.25 or such) Rerun 'sudo ./pitnc_getparams 0 0'? Not sure if this will help, but it is a place to start. 73, Jim |
开云体育Hello Lorin,
Details like this can matter a lot but regardless, you have a TNC-Pi.? Can you look at the board and see if you have a version 1 or version 2 of the board?? Next question, which Raspberry Pi model do you have?? A few different PI's have different quirks around serial ports that you need to be aware of.
Like N5XMT mentioned, the TNC-Pi also supports and uses I2C communications depending on how you configured the TNC-Pi.? You might want to reset your TNC-Pi's config per the instructions on page 28 ?? Your TNC-Pi might be also be in I2C mode.? Assuming you did follow the instructions to enabled the I2C bus on your Raspberry Pi AND installed the required packages, what does the command "i2cdetect 1" or "i2cdetect 0" show?? For example, below shows a TNC-Pi on I2C address "15": ??????? -- ??????? sudo i2cdetect 1 ??????? WARNING! This program can confuse your I2C bus, cause data loss and worse! ??????? I will probe file /dev/i2c-1. ??????? I will probe address range 0x03-0x77. ??????? Continue? [Y/n] ???????????? 0? 1? 2? 3? 4? 5? 6? 7? 8? 9? a? b? c? d? e? f ??????? 00:????????? -- -- -- -- -- -- -- -- -- -- -- -- -- ??????? 10: -- -- -- -- -- 15 -- -- -- -- -- -- -- -- -- -- ??????? 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ??????? 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ??????? 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ??????? 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ??????? 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ??????? 70: -- -- -- -- -- -- -- -- ??????? -- --David KI6ZHD |
Lorin Tremblay
toggle quoted message
Show quoted text
|
to navigate to use esc to dismiss