In the regular build there's never any access to the vtable of USBHIDInput because it's not used directly (only as a base class for others to derive from) so it is never referenced. But debug disables optimizations and also enables extra features...
That rings a bell...
It was fixed in the repository last year, there just hasn't been an official Teensyduino release since then. Recommend you either use the beta packages from the announcements forum or the code from the git repos directly if...
IIRC the included PJRC '.println' sends both \r and \n - so that may be why it is there when only '\n' is needed - very annoying when cut and paste double taps them ... as bad a MSFT WORD default to non-single line spacing :(
Glad it is working...
That rings a bell...
It was fixed in the repository last year, there just hasn't been an official Teensyduino release since then. Recommend you either use the beta packages from the announcements forum or the code from the git repos directly if...
Well, I just declared the the methods in the base class that don't have a default implementation to be pure virtual. That at least got it to link. We'll see if I get any crashes!
I needed to strip out the \n\r stuff to make things more compact.
This is what I came up with. I need to put in a delay to wait for the device to become active.
// set this to the hardware serial port you wish to use
#define HWSERIAL Serial5...
That should do it.
I added a same Teensy Serial2 printf to test and it works - just replace the loop() code from prior post.
// set this to the hardware serial port you wish to use
#define HWSERIAL Serial1
void setup() {...
Opps - that is what the example does - and I paired it down removing verbose 'comments' per character - but it is printing each character as ascii# one per line.
I have a minute to revisit if you don't see the fix.
I hacked two Teensy's together, with one of them running @defragster 's little code. I'm getting numbers across the link, but at the moment, my eye isn't great at interpreting the data.
System started
0
0
10
13
83
116
97
114
116
32
116
105
109...
How does one add MTP to a build? Serial & MTP disk? Not clear that my Mac can do MTP without some help...
Yeah, I needed to tell people about where the testing is taking place. The main unit (not the desktop development version) is working in...
Hey all -
I'm hoping this is a simple config change that I just have not been able to uncover: I'm trying to make a debug build in platformio, and I'm getting the following error:
.pio\build\teensy41\src\main.cpp.o: in function...
I've updated the broken link.
Just in case it hasn't been said clearly enough already, you should NOT use an interrupt. Use the Bounce library, as demonstrated on that page or in examples like File > Examples > Teensy > USB_Keyboard > Buttons...
If you can add MTP to your build, YES. The Teensy SD card will appear in a connected device Explorer window for file transfer.
Given there was a wired FTDI device I was picturing the Teensy taking its 'safe space' without knowing the environment...
Since I'm fishing for errors and clues, I can send far more data than the links can take. There's no trouble saturating the link if I want. Since there's no ICE for this board, I'm left with print statements, trying to figure out what, if...
You can transfer files from the SD over the USB connection to your host, at least on Windows, using MTP, so you don't need physical access to the SD card. The SD data rate can be as high as 20 MB/sec, but the higher the data rate, the more of...
Far easier than figuring out Ethernet on Teensy (not that it's terribly hard) and writing a custom program on my mac to read and save the stream... I'm really trying to stay on task, which is bug hunting, and finding out why there's...
Yes. Primarily because I cannot access the SD easily. This is inside of a box enclosure, with connectors and stuff, sitting on top of a lathe, which occasionally throws metal chips around. The chips can be long and stringy, or they can be tiny...
That would be the Easy solution to have both on TyCommander. One Tabbed or two TyComm Windows would give full access to both with two USB cables and the Two Teensys sharing UART.
This also allows programming BOTH easily - well Easy with a change...
Yes, that seems to work, I discovered that this morning. I can use Tabby up to 1.5Mbaud that way.
Found a way to set up minicom at 3Mbaud to save to file. I'm going to try that. Hopefully it uses the default settings of 3000000 8N1.
$ minicom...
A little Fairlight CMI feelings.. :love:
Degenerator 2 play Fairlight sample. Setting the loop points in the "SARARR" sample from the Fairlight wasn't easy.
To accomplish this, I used the program Endless WAV by Björn Bojahr.
Endless WAV
Does TyComm 'Serial Off' release the device? It does on Windows to allow IDE access.
Click the connect icon
Do you have a second Teensy for the USB<>UART ECHO?
Hi everyone,
I have a Teensy 4.1 that I can't get Teensy Loader to recognize consistently.
I've done the 13 second button hold for the factory reset, the red light turns on, I let go, and it stays lit for a while and turns off.
However, upon...
Tabby will also connect to the usb serial, but it is limited to 1.5Mbaud there as well. So I could program using TyCommander, then kill it, and connect with tabby. What an ugly set up. This is getting me so far from what I need to do, which is...
Hmm, confusing all those slightly different specifications.
I tend to trust the CirrusLogic/Crystal document since it specifies all 192 Channel Status bits for both Consumer and Professional mode.
Paul
Thanks for looking into this!
While viewing output_spdif.cpp, I noticed this struct:
struct {
// byte 0
uint32_t pro:1; // 0=consumer format, 1=professional format
uint32_t audio:1; // 0=linear PCM, 1=non-PCM...
It seems the host is controlled by TyTerminal, which is limited by the table in rygel/tytools/libhs/serial.h.
Obviously the Teensy can run serial at 3Mbaud, and I confirmed it on the scope, I get 1/dx = 2.91MHz, give or take. But TyTerminal...
The current folder and file system on the Degenerator 2 SD card
The Patch folder contains a total of 16 preset banks, each with 128 preset folders.
A Preset folder contains a text file for all parameters, including the preset name,
and possibly a...
3.3V high frequency devices are more sensitive than the 5V 16MHz ATMEGA328 used on standard Arduinos.
I/Os going to the "outside world", i.e. connected through connectors and long cables to peripherals like encoders, servos, sensors,..., should...
Funny thing just happened to one of my teensy 4.1's, was running fine, and then regulator hot, and not working anymore. Nothing plugged into it, just running PSRAM and sdcard tests, and it just "gave up" and died apparently.
SDcard is fine, have...
Last week I tried to connect the Teensy's SPDIF output sinks to a cheap USB audio dongle (like this but from ebay and costing less than $10). It wouldn't pick up any sound, no matter if I used AudioOutputSPDIF, AudioOutputSPDIF2 or...
Last week I tried to connect the Teensy's SPDIF output sinks to a cheap USB audio dongle (like this but from ebay and costing less than $10). It wouldn't pick up any sound, no matter if I used AudioOutputSPDIF, AudioOutputSPDIF2 or...
Last week I tried to connect the Teensy's SPDIF output sinks to a cheap USB audio dongle (like this but from ebay and costing less than $10). It wouldn't pick up any sound, no matter if I used AudioOutputSPDIF, AudioOutputSPDIF2 or...
Sorry, I could be wrong, but my guess is that there are very few devices/setups that auto-negotiate...
For example, Take the UNO R4 The Wifi uses an ESP32 to handle it's USB (by default), If you don't setup the Arduino IDE with the correct
Baud...