Date   

Re: Compiling SM_Teensy with Arduino 1.8.7 and Teensyduino 1.44

Bob NW8L
 

I downloaded the new TeensyProjects archive and verified that SM_Teensy compiles out of the box now.

However, I noticed that the same fix wasn't applied to ARDOP_Teensy and ARDOP2_Teensy. So, when you say "The soundcard emulation sketches won't work with the new compiler." are ARDOP_Teensy and ARDOP2 included in that group? They compile here if I modify the sketch file to declare functions extern "C" as needed but haven't tested them yet.

Which brings me to my next question. Try as I might, I don't see an example of the PORT definition in bpq32.cfg for the ARDOP Teensy TNCs anywhere in the BPQ docs or by searching the web (or searching this email group). DRIVER=ARDOP and TYPE=SCS? If someone can point me in the right direction I'd appreciate it.

Bob NW8L


Re: Compiling SM_Teensy with Arduino 1.8.7 and Teensyduino 1.44

August Johnson KG7BZ
 

The version I downloaded from tnc-x contains only 555 lines. Did you mean line 549? It compiles when I remove that line and insert the } at the end of the sketch.

August KG7BZ

Arduino.jpg

On Sun, Oct 14, 2018 at 2:31 AM John Wiseman <john.wiseman@...> wrote:
I've Installed Arduino 1.8.7 and TeensyDuino 1.44 and am seeing the same problem.

To compile the code from tnc-x site  remove line 749 (containing }) and add a line containing just } at the end of the sketch.

I've uploaded a new version of TeensyProjects to my beta site. I've updated platform.txt and boards.txt  to match the new Arduino version. The platform.txt and boards.txt in the tnc-x  download work with the new versions but don't support some of the new features of the new complier versions.

The soundcard emulation sketches won't work with the new compiler. I'll fix that as soon as I have time.

73, John



Re: TNC-Pi9.6K to KISS TNC?

John G8BPQ
 

The code supports 2400 AFSK but I've never had much success with it.

I've just done a quick test with my code running on a Windows machine at 4800 FSK and it seems to work and be compatible with UZ7HO's G3RUH 4800 baud mode. I'll need to make some changes to the Teensy code to allow you to configure 4800, and I can't test it at the moment as I'm away from my radios, but if anyone is willing to test it I'll build a version that supports 4800 FSK.

73,
John

On 14/10/2018 16:31, August Johnson wrote:
I agree with this. There are many radios that are marginal at 9600 but that would work very well at 4800. All the other 9600 modems I have require many component changes to work at 4800 but if we could change a parameter and have the Pi9.6K become a Pi4.8K, it would be excellent.

August KG7BZ

On Sat, Oct 13, 2018 at 10:40 PM Bill Vodall <wa7nwp@...> wrote:
Does it support 2400, 3600 or 4800?

This is a serious question these days where radios are more than good
enough for 1200 but won't do 9600.

Bill, wa7nwp

> You just set the first 2 digits of the speed - 96 for 9600 or 12 for 1200
>
> 73, John



Re: TNC-Pi9.6K to KISS TNC?

August Johnson KG7BZ
 

I agree with this. There are many radios that are marginal at 9600 but that would work very well at 4800. All the other 9600 modems I have require many component changes to work at 4800 but if we could change a parameter and have the Pi9.6K become a Pi4.8K, it would be excellent.

August KG7BZ


On Sat, Oct 13, 2018 at 10:40 PM Bill Vodall <wa7nwp@...> wrote:
Does it support 2400, 3600 or 4800?

This is a serious question these days where radios are more than good
enough for 1200 but won't do 9600.

Bill, wa7nwp

> You just set the first 2 digits of the speed - 96 for 9600 or 12 for 1200
>
> 73, John


ARDOP img for Pi 3

Ed Bloom, KD9FRQ
 

Has anyone seen an ARDOP img for for the Pi 3 yet?

I am looking for an img to "burn" on to an SD card and then link the Pi & TNC-Pi9K to my HF rig.

Thanks in advance.

73's, Ed, KD9FRQ


Re: Compiling SM_Teensy with Arduino 1.8.7 and Teensyduino 1.44

John G8BPQ
 

I've Installed Arduino 1.8.7 and TeensyDuino 1.44 and am seeing the same problem.

To compile the code from tnc-x site  remove line 749 (containing }) and add a line containing just } at the end of the sketch.

I've uploaded a new version of TeensyProjects to my beta site. I've updated platform.txt and boards.txt  to match the new Arduino version. The platform.txt and boards.txt in the tnc-x  download work with the new versions but don't support some of the new features of the new complier versions.

The soundcard emulation sketches won't work with the new compiler. I'll fix that as soon as I have time.

73, John

On 14/10/2018 08:31, John Wiseman wrote:
I'm running Arduino 1.8.1 and TeensyDuino 1.35. I'll install the latest and see what happens.

73, John

On 14/10/2018 00:16, Bob NW8L wrote:
Yes, just today I downloaded your beta TeensyProjects file dated 2018-10-13 09:53.
What version of Arduino and Teensyduino are you using? Maybe that matters...

Bob NW8L





Re: Compiling SM_Teensy with Arduino 1.8.7 and Teensyduino 1.44

John G8BPQ
 

I'm running Arduino 1.8.1 and TeensyDuino 1.35. I'll install the latest and see what happens.

73, John

On 14/10/2018 00:16, Bob NW8L wrote:
Yes, just today I downloaded your beta TeensyProjects file dated 2018-10-13 09:53.
What version of Arduino and Teensyduino are you using? Maybe that matters...

Bob NW8L




Re: TNC-Pi9.6K to KISS TNC?

 

Does it support 2400, 3600 or 4800?

This is a serious question these days where radios are more than good
enough for 1200 but won't do 9600.

Bill, wa7nwp

You just set the first 2 digits of the speed - 96 for 9600 or 12 for 1200

73, John


Re: Compiling SM_Teensy with Arduino 1.8.7 and Teensyduino 1.44

August Johnson KG7BZ
 

Bob, I had the exact same error when I tried to compile the source from tnc-x.com. A friend ended up compiling it for me and had no problem. He had an older version of Arduino, I'm using 1.8.7 and Teensyduino 1.44. Now that I see this, I may try an older version and see if it works for me.

D:\Users\KG7BZ\Documents\Arduino\TeensyProjects\libraries\TeensyConfig/TeensySound.c:118: undefined reference to `ProcessNewSamples'

August KG7BZ


On Sat, Oct 13, 2018 at 4:19 PM Bob NW8L <nw8l@...> wrote:
Yes, just today I downloaded your beta TeensyProjects file dated 2018-10-13 09:53.
What version of Arduino and Teensyduino are you using? Maybe that matters...

Bob NW8L



Re: Compiling SM_Teensy with Arduino 1.8.7 and Teensyduino 1.44

Bob NW8L
 

Yes, just today I downloaded your beta TeensyProjects file dated 2018-10-13 09:53.
What version of Arduino and Teensyduino are you using? Maybe that matters...

Bob NW8L



Re: Compiling SM_Teensy with Arduino 1.8.7 and Teensyduino 1.44

John G8BPQ
 

Bob,

I've just downloaded both the copies from the tnc-x site and my beta downloads and both complied ok. If you downloaded my version before this morning try downloading again - there were some problems with the previous version.

73, John G8BPQ
 


On 13/10/2018 22:02, Bob NW8L wrote:
Hello,

I built a TNC-Pi9K6 kit and tried to compile SM_Teensy in the TeensyProjects download from www.tnc-x.com but ran into a linker error:

C:\Users\bobc\Documents\Arduino\TeensyProjects\libraries\TeensyConfig/TeensySound.c:118: undefined reference to `ProcessNewSamples'

This makes sense to me because ProcessNewSamples() is called by code in the TeensySound.c file. The fix seemed obvious, to declare the ProcessNewSamples() function in the SM_Teensy sketch file as having C linkage (extern "C"), like several others there.

Using the latest source downloaded from http://www.cantab.net/users/john.wiseman/Downloads/Beta/ I must also do the same for AddTrailer(), displayDCD(), StopCapture() and StartCapture() which appear in the sketch file in that version.

Presumably the released code should work without modification, but I'm unfamiliar with the Arduino build system and wonder if there's something I'm missing. Yes, I am using the boards.txt and platform.txt files included with the Teensy projects.

Has anyone else run into this? 

Bob NW8L


Compiling SM_Teensy with Arduino 1.8.7 and Teensyduino 1.44

Bob NW8L
 

Hello,

I built a TNC-Pi9K6 kit and tried to compile SM_Teensy in the TeensyProjects download from www.tnc-x.com but ran into a linker error:

C:\Users\bobc\Documents\Arduino\TeensyProjects\libraries\TeensyConfig/TeensySound.c:118: undefined reference to `ProcessNewSamples'

This makes sense to me because ProcessNewSamples() is called by code in the TeensySound.c file. The fix seemed obvious, to declare the ProcessNewSamples() function in the SM_Teensy sketch file as having C linkage (extern "C"), like several others there.

Using the latest source downloaded from http://www.cantab.net/users/john.wiseman/Downloads/Beta/ I must also do the same for AddTrailer(), displayDCD(), StopCapture() and StartCapture() which appear in the sketch file in that version.

Presumably the released code should work without modification, but I'm unfamiliar with the Arduino build system and wonder if there's something I'm missing. Yes, I am using the boards.txt and platform.txt files included with the Teensy projects.

Has anyone else run into this? 

Bob NW8L


Re: TNC-Pi9.6K to KISS TNC?

John G8BPQ
 

August,

The latest code is at http://www.cantab.net/users/john.wiseman/Downloads/Beta/TeensyProjects.zip

John's code does actually use centre frequency for AFSK (1200 baud) packet, but defaults to 1700 if not set via setparams.

For packet the only difference is the addition of a calibrate command which sends flags for 10 seconds to help with setting TX level. Use pitnc_setparams to set register 15 to 3 to initiate this.

The other new feature is the addition of a sketch SoundCardPkt to run soundcard mode and packet mode simultaneously. The previous version included a SoundCard sketch  which basically allows the Teensy to look like a soundcard to the PC, with audio derived PTT, so you can run other sound card based modes with it. The new sketch allows both packet and soundcard to run at the same time. If you only want packet you should still use SM_Teensy.

73,
John


On 11/10/2018 14:39, August Johnson wrote:
John,

Where do I find the latest code? What's the difference between that and the code that John is distributing?

Thanks & 73,
August KG7BZ

On Wed, Oct 10, 2018 at 10:30 PM John Wiseman <john.wiseman@...> wrote:

August,

 

I don’t think the version John distributes uses centre frequency, but the latest code does, so it might be a good idea to set it. The value is in 10’s of Hz, so for the normal 1200 baud centre of 1700 you would enter 170. The parameter was added primarily for use with 300 baud packet, where changing centre freq is more common.

 

73,

John

 


From: RaspberryPi-4-HamRadio@groups.io [mailto:RaspberryPi-4-HamRadio@groups.io] On Behalf Of August Johnson
Sent: 10 October 2018 14:17
To: RaspberryPi-4-HamRadio@groups.io
Subject: Re: [RaspberryPi-4-HamRadio] TNC-Pi9.6K to KISS TNC?

 

John,

 

Duh... Got to read the manual carefully! OK, that works. It's not mentioned in the manual but do I need to set center freq for 1200 baud? I see that I can't set parameters 6 or 7, they stay at ff, do these just default to needed values?

 

Now to get some radios hooked up and experiment.

 

Thanks,

August KG7BZ

On Wed, Oct 10, 2018 at 12:11 AM John Wiseman <john.wiseman@...> wrote:

You just set the first 2 digits of the speed - 96 for 9600 or 12 for 1200

73, John

 

 



Re: Teensyduino

dwfunk4475
 

Yes, sort of.  The sketch is "source code" and once it is compiled and loaded onto the micro it is firmware.

Firmware does not disappear when the power is turned off.


-david
.


On Thu, Oct 11, 2018 at 1:01 PM w8tcc, troy <w8tcc@...> wrote:
When writing a shetch for the teensyduino, mounted on the tnc-pi9k6, is that sketch considered firmware?

--
73 de w8tcc, troy


Re: Teensyduino

John G8BPQ
 

Not sure about your terminology. Teensyduino is the software development tool. A Teensy 3.6 is part of the TNC, and is programmed using Teensyduino. I call what is loaded into the Teensy 3.6 firmware.

73, John G8BPQ (designer of tnc-pi9k6)


On 11/10/2018 18:21, w8tcc, troy wrote:
When writing a shetch for the teensyduino, mounted on the tnc-pi9k6, is that sketch considered firmware?

--
73 de w8tcc, troy


Teensyduino

w8tcc, troy <w8tcc@...>
 

When writing a shetch for the teensyduino, mounted on the tnc-pi9k6, is that sketch considered firmware?

--
73 de w8tcc, troy


Re: TNC-Pi9.6K to KISS TNC?

August Johnson KG7BZ
 

John,

Where do I find the latest code? What's the difference between that and the code that John is distributing?

Thanks & 73,
August KG7BZ

On Wed, Oct 10, 2018 at 10:30 PM John Wiseman <john.wiseman@...> wrote:

August,

 

I don’t think the version John distributes uses centre frequency, but the latest code does, so it might be a good idea to set it. The value is in 10’s of Hz, so for the normal 1200 baud centre of 1700 you would enter 170. The parameter was added primarily for use with 300 baud packet, where changing centre freq is more common.

 

73,

John

 


From: RaspberryPi-4-HamRadio@groups.io [mailto:RaspberryPi-4-HamRadio@groups.io] On Behalf Of August Johnson
Sent: 10 October 2018 14:17
To: RaspberryPi-4-HamRadio@groups.io
Subject: Re: [RaspberryPi-4-HamRadio] TNC-Pi9.6K to KISS TNC?

 

John,

 

Duh... Got to read the manual carefully! OK, that works. It's not mentioned in the manual but do I need to set center freq for 1200 baud? I see that I can't set parameters 6 or 7, they stay at ff, do these just default to needed values?

 

Now to get some radios hooked up and experiment.

 

Thanks,

August KG7BZ

On Wed, Oct 10, 2018 at 12:11 AM John Wiseman <john.wiseman@...> wrote:

You just set the first 2 digits of the speed - 96 for 9600 or 12 for 1200

73, John

 

 


Re: TNC-Pi9.6K to KISS TNC?

John G8BPQ
 

August,

 

I don’t think the version John distributes uses centre frequency, but the latest code does, so it might be a good idea to set it. The value is in 10’s of Hz, so for the normal 1200 baud centre of 1700 you would enter 170. The parameter was added primarily for use with 300 baud packet, where changing centre freq is more common.

 

73,

John

 


From: RaspberryPi-4-HamRadio@groups.io [mailto:RaspberryPi-4-HamRadio@groups.io] On Behalf Of August Johnson
Sent: 10 October 2018 14:17
To: RaspberryPi-4-HamRadio@groups.io
Subject: Re: [RaspberryPi-4-HamRadio] TNC-Pi9.6K to KISS TNC?

 

John,

 

Duh... Got to read the manual carefully! OK, that works. It's not mentioned in the manual but do I need to set center freq for 1200 baud? I see that I can't set parameters 6 or 7, they stay at ff, do these just default to needed values?

 

Now to get some radios hooked up and experiment.

 

Thanks,

August KG7BZ

On Wed, Oct 10, 2018 at 12:11 AM John Wiseman <john.wiseman@...> wrote:

You just set the first 2 digits of the speed - 96 for 9600 or 12 for 1200

73, John

 

 


Re: TNC-Pi9.6K to KISS TNC?

August Johnson KG7BZ
 

Well, it transmits from EasyTerm/AGWPE, now to hook up some additional equipment and see if I can get data over the air!

Thanks for your help!

August KG7BZ


On Wed, Oct 10, 2018 at 6:17 AM August Johnson <augjohnson@...> wrote:
John,

Duh... Got to read the manual carefully! OK, that works. It's not mentioned in the manual but do I need to set center freq for 1200 baud? I see that I can't set parameters 6 or 7, they stay at ff, do these just default to needed values?

Now to get some radios hooked up and experiment.

Thanks,
August KG7BZ

On Wed, Oct 10, 2018 at 12:11 AM John Wiseman <john.wiseman@...> wrote:

You just set the first 2 digits of the speed - 96 for 9600 or 12 for 1200

73, John



_._,_._


Re: TNC-Pi9.6K to KISS TNC?

August Johnson KG7BZ
 

John,

Duh... Got to read the manual carefully! OK, that works. It's not mentioned in the manual but do I need to set center freq for 1200 baud? I see that I can't set parameters 6 or 7, they stay at ff, do these just default to needed values?

Now to get some radios hooked up and experiment.

Thanks,
August KG7BZ


On Wed, Oct 10, 2018 at 12:11 AM John Wiseman <john.wiseman@...> wrote:

You just set the first 2 digits of the speed - 96 for 9600 or 12 for 1200

73, John



5841 - 5860 of 14145