SmartSDR v3.9.19 and the SmartSDR v3.9.19 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
The latest 4O3A Genius Product Software and Firmware
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
TeensyMaestro
Comments
-
Oleg -
Just curious, why aren’t you using the ribbon cable that comes supplied with the Ethernet kit? That could eliminate a possible variable in your situation.
0 -
Hi Oleg,
I noticed that you're not using the Teensy 4.1 Ethernet Kit for the wires between the Teensy 4.1 and the MagJack. (https://www.digikey.com/en/products/detail/sparkfun-electronics/18615/15775140)
How long is your connection? Is each wire in the R+/R- and T+/T- pair the same length?
Because R+/R- and T+/T- are differential pairs, the wires in each pair should be the same length and shouldn't be too long. I haven't tested what works, but MS Copilot suggests that more than 20cm in length or a difference (skew) of more than about 1cm in a pair might be problematic. (Twisting each pair would help too).
Since the Ethernet PHY only supports 10/100 Mbps its going to be a bit more tolerant of these lengths than 1Gbps. But if you have wires that are a couple of meters long, then it would definitely be an issue.
As Bill said, using the standard kit might eliminate that as a potential issue.
0 -
Hi Len,
First of all, thank you for making TeensyMaestro available to the community. I am building a V2.001 project on HW V2 and I am very pleased with both the hardware and software, and the functionality it provides.My FlexRadio is located at a remote QTH in the forest, with no PC or server present, just the FlexRadio and a router. I access the radio via VPN (TAP mode), where the router acts as the server. This setup works fine, my PC connects and I can run SmartSDR locally.
Initially, I tried to bridge my PC’s OpenVPN connection to the TeensyMaestro using an external USB Ethernet dongle. While it kind of worked, Windows had difficulty passing DHCP across the bridge, and I had to resort to using a static IP for the TeensyMaestro. Unfortunately, the bridge introduced networking quirks on the Windows side, so I started searching for a cleaner solution.
Connection Modes
I modified the code to support three different connection modes specified in the MMConfig.ini:
Auto Discovery: Behaves like the original TeensyMaestro, using Flex UDP discovery on the local LAN.
Fixed: Connects directly to a specified hostname or IPv4 address (with port).
Fixed + Failover: Tries the fixed hostname/IP first, and if that fails, falls back to Auto Discovery.This means that my TeensyMaestro can now connect to any FlexRadio across the Internet, independent of the PC. I just plug it into any network outlet with Internet access,and it connects directly to my radio. For many Flex owners with remote stations, this is a common use case.
MTP / SD Card Access
The only part I have not been able to get working reliably is MTP (to expose the SD card to Windows as a portable device). With the original precompiled HEX file, I sometimes saw the Teensy SD card appear as a drive in Windows, but after building my own firmware it never shows up. I would very much like to know exactly which MTP and SD libraries you used, which versions, and whether you had to apply any patches or shims to make it work reliably.
Main Question
Do you think it is acceptable that I use and extend your source code in this way for private use? If so, would you also be interested in a pull request or patch set with my changes, so this capability could be included in the official firmware? I currently keep my changes in a private GitHub repo, but I believe many users would benefit from being able to connect their TM directly to their FlexRadio without setting up double SoftEther servers or complex bridging workarounds.
Thank you again for all the work you have put into TeensyMaestro. I am very impressed with what it can do,and I would be happy to contribute back if you think this direction makes sense.
0 -
Hi, yes what you are doing is completely appropriate. I would be interested in adding your functionality. I currently use the SoftEther VPN to connect remotely and it has been very reliable. My bigger challenge is finding camping spots that have enough cell service to allow remote operation!
I am on a road trip this week with very limited cell service, so I may be delayed in any responses here. Once I get home, I will be adding 2BISQ functionality, so that will take precedence. Once that is working, I will have time to look at your code.
1 -
I tried to check Teensy ethernet shield functioning uploaded sketch
https://drive.google.com/file/d/1_dJw_sNbGwf28g2VU3UJabM_xejgI_7N/view?usp=sharing
But still no success.
Router is no determining Teensy board.
I would be grateful for any recommendations.
Regards, Oleg0 -
BILL K3CDY - Thank you.
I am using DIY cable 'cause at nearest electronic shop has no ribbon cable.
Simon, NV0E - thank you.
Lenght of DIY cable is 13 cm long
https://drive.google.com/file/d/1uYmVq5iVXrFdmQ82rSx_IFPPYIOL8wLe/view?usp=sharing
Regards, Oleg0 -
Hello Oleg
I would very strongly recommend you purchase an official ethernet kit for the Teensy. It will be a much more robust and reliable set up with a proven design. I think you are opening yourself up to problems with your setup.
They are fairly inexpensive and available on Amazon.
1 -
BILL K3CDY, thank you.
I ordered Ethernet Kit at market place. Hope i can get one at middle of october.
Amazon did not delivering to my location.
By the way - i am using another board of Teensy with other DIY cable to Magjack.
And have same result as previous attempt.
Regards, Oleg0 -
Len, KD0RC
Will TeensyMaestro work with an external Ethernet adapter? Like Wiznet W5500.
https://elektroweb.pl/pl/moduly-ethernet/1403-w5500-mini-modul-sieciowy-ethernet-rj45-spi-wiznet-33v.html?srsltid=AfmBOorpc39wXFVW-JvOz63i6kfXdZAjd97-oxz_JHlphqYX06FMlsPe
Regards, Oleg0 -
Hi Oleg,
That product you listed is a combination of Ethernet PHY chip (WS5500) and RJ45 connector.
The Teensy 4.1 won't work with that product because the Teensy 4.1 already has it's own Ethernet PHY chip (DP83825I) on the PCB. The ethernet connection on the Teensy 4.1 is designed to connect to just an RJ45 connector.
0 -
Hi Oleg,
Oh, I just realized you may have been considering connecting that device to the SPI bus. The current Teensy Maestro firmware would not support that.
I'm uncertain if the Teensy 4.1 would have the correct Arduino libraries to support a W5500 Ethernet PHY chip connected via SPI. Because the Teensy 4.1 already has an onboard PHY chip, I would think it's unlikely.
0 -
Simon, NV0E - thank you.
I tried checking the signals on the magjack pins with an oscilloscope. Pin 4 (Rx +) shows rectangular input signals, but pins 1 and 3 and Pin6 (RX -) show no signals.
Regards, Oleg0 -
Oleg,
not sure what pins you are refering to, look at the schematics
And make sure the magjack you are using is internally identical to whan used. Having signals on RX+ but not - makes me suspect the magjack, or mixed up pins :)
/Lasse
0
Leave a Comment
Categories
- All Categories
- 345 Community Topics
- 2.1K New Ideas
- 612 The Flea Market
- 7.9K Software
- 6.3K SmartSDR for Windows
- 173 SmartSDR for Maestro and M models
- 407 SmartSDR for Mac
- 266 SmartSDR for iOS
- 249 SmartSDR CAT
- 186 DAX
- 374 SmartSDR API
- 9.2K Radios and Accessories
- 20 Aurora
- 202 FLEX-8000 Signature Series
- 7.1K FLEX-6000 Signature Series
- 919 Maestro
- 53 FlexControl
- 860 FLEX Series (Legacy) Radios
- 891 Genius Products
- 453 Power Genius XL Amplifier
- 322 Tuner Genius XL
- 116 Antenna Genius
- 283 Shack Infrastructure
- 199 Networking
- 442 Remote Operation (SmartLink)
- 137 Contesting
- 751 Peripherals & Station Integration
- 138 Amateur Radio Interests
- 971 Third-Party Software