This is a really intriguing idea, to just use ethernet as a raw serial-like byte stream at 100 Mbit speed. Or maybe as a raw packet delivery?
If the ethernet mac is configured in promiscuous mode...
Type: Posts; User: PaulStoffregen
This is a really intriguing idea, to just use ethernet as a raw serial-like byte stream at 100 Mbit speed. Or maybe as a raw packet delivery?
If the ethernet mac is configured in promiscuous mode...
Maybe Teensy is transmitting "*** ONLINE ***" before your PC is able to complete USB detection, and then you interpret the lack of that message as the USB device not working? But that doesn't...
Nope. The cards are always included for distributors. The distributors get the cards bulk packaged, usually in sets of 100.
But mistakes and misunderstandings can happen. Sometimes a person...
I'm really sorry this happened. Every Teensy is always supposed to come with the documentation card.
Robin & I will contact TinyTronics....
If you want the original printed card (which is much...
I might be reading too much into your question, but it sure sounds like you have a misunderstanding how of how programming Teensy really works.
The "Arduino language" really is just C++ which very...
I believe you should test without the Moxa products. If the same error happens with both plugged into the same LAN, that is much easier to reproduce and investigate.
If the error only happens...
Which Teensy pins each configuration of input & output uses are also documented in the design tool right-side panel.
The answer depends on so many unknowns. Nobody could possibly give you a definitive answer. The best anyone can do is help you figure out which things you need to know, or just make up some numbers...
Yup, PCM1808 is really simple. You can use either I2S or I2S2 on Teensy 4.x. Just connect the 4 signals. MCLK is named SCKI on that chip. The other 3 have names the same as Teensy uses.
...
That's not how unwanted ground loop currents work. They change the observed signal by altering the ground reference. The signal could be absolutely perfect, but if you alter the ground voltage seen...
Looks like this project isn't using USBHost at all.
But yeah, improved USB host MIDI transmit was recently put into USBHost_t36 and it's in 1.54-beta7 (published yesterday).
Part of that...
Pretty sure that's on me. I've never bothered to put metadata beyond the bare minimum into the resource file. It only has the program's icon and an XML file that prevents the "This program might...
Yeah, this beta was prompted by changes to the builds on all 3 operating systems.
On Windows, we were forced to get a new code signing cert. They rubber stamp reissue the old one if you renew...
Two questions for everyone using Windows
1: Is Teensy Loader chewing up CPU while idle, like it was on Linux?
2: How difficult is the download & install (before Microsoft's servers re-learn...
I2S slave mode causes the entire audio library to run at the sample rate dictated by the incoming LRCLK signal. Hopefully the fundamental reason why 2 ports running in slave mode can't work is...
It should work, but hasn't been tested.
Maybe I should package up 1.54-beta7 today, or soon-ish?
Might also be a good time to test Windows installs signed with the new cert (PJRC was forced to renew a couple weeks ago).
You can also click the button to skip the udev rules check.
I'll admit, I've sometimes wondered if the 512 tap FIR filter was really a good idea. I wrote the code more as a challenge to see if Teensy could implement such an extreme filter rather than a...
To quickly answer your 3 questions...
Yes.
For Teensy 3.2, in mk20dx256.ld on line 49:
Arduino Uno is woefully underpowered, only 8 bits and only 16 MHz. Uno also lacks DMA to efficiently move data between memory and audio hardware. It has no hope of running the audio library code.
...
Feels good to finally get these many lingering Linux issues fixed. :)
Probably not worthwhile. I tested 32 bits on Raspberry Pi 4.
Unless Kurt turns up any more issues, I'm going to cross ARM64 troubles off my bug list.
Did you run 32 bits or 64 bits on your Raspberry Pi? So far, I've only tested 32 bits.
Yup, added the hidraw rule. The usb subsystem rule also applies. But it looks like the more complex...
Today I went down the deep rabbit hole of Linux udev rules.
To make serial raw mode configure work well on Raspberry Pi, I had to rename the file from 49-teensy.rules to 00-teensy.rules.
...
Well, after much removing and restoring files, I finally tracked it down to this line (meant for some Arduino.org boards):
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="*",...
Arduino kinda does support UTF8. If you type or copy non-latin characters into strings, the Arduino IDE does end up putting UTF8 encoded strings into memory. And if you transmit UTF8 encoded data...
Yes, I agree.
But so far, I can't reproduce the problem on my Linux desktop.
23786
The /dev/hidraw devices are being created with open permissions.
23787
This new size program parses the binary .elf file directly, so we're not depending on the specifics of a human readable text format. ELF 32 bit is a very stable binary format.
I tried to keep the...
Yes, a check for not enough RAM1 left for a reasonable size stack is a good idea. If you feel like doing this, please add it and send a pull request.
To show an error in red text, just print to...
Yup, a harmless warning. Fixed on github.
https://github.com/PaulStoffregen/teensy_size/commit/492d4b76d8844a770e06ac48a7cf8574b27bfdb5
I changed teensy_size to print to stderr and prefix each line with "teensy_size:". This causes the size report to be visible in both verbose and non-verbose mode. But Arduino shows it in alarming...
I might just patch the Java code to run it, if builder doesn't give a way to have its output seen in non-verbose mode.
Minor problem... looks like arduino builder discards all the stdout printing in non-verbose mode. :(
I'm going to edit the linker scripts. Now that we can print more detailed info, having too much stuff lumped together in the .text.progmem segment means we get inaccurate info.
If you grab newer...
Plan is not using builder's regex stuff.
So add this to platform.txt
recipe.hooks.postbuild.4.pattern="{compiler.path}teensy_size" "{build.path}/{build.project_name}.elf"
and delete...
The code on github right now prints this, for the LadderFilter example compiled for Teensy 4.1.
FLASH: code:59452, data:6152, headers:7212 free for files:8053648
RAM1: code:65536,...
I'm kinda hoping for a replacement. Committed some code on github towards that goal.
Is anyone using a different PDM chip than MP34DT01-M or MP34DT05-A?
I'd like to ask everyone who wants me to work on this a question.
Which PDM microphone or chip are you using?
(hint: I'm more motivated by seeing photos...)
To learn everything in such detail is a huge undertaking. It could reasonably be expected to take years to cover it all in a "deep complete basis".
So with that in mind, you could think of...
Here is the elf parsing code.
https://github.com/PaulStoffregen/teensy_size
Want the final result to be compact in the non-verbose mode, probably 1 line per memory region shown on the product...
Should be possible. You need to edit usb_desc.h inside {Arduino}/hardware/teensy/avr/cores/teensy4 (or teensy3 - there are 2 copies of this file). See the comments in the top of that file for...
Would you like me to investigate? I need a complete program I can copy into Arduino, even if the rest seems "trivial".
I'm not sure what to do with PlatformIO, but here's a link to the Servo library Teensyduino uses.
https://github.com/PaulStoffregen/Servo
Maybe you can somehow import this to PlatformIO?
I've built the ARM 32 & 64 bit versions. Here are links to all 4 Linux installers.
ARM 32 bit
https://www.pjrc.com/teensy/td_154-beta6c/TeensyduinoInstall.linuxarm
ARM 64 bit...
Don't waste too much time on the old version on Raspberry Pi. I'm updating the ARM64 build to GTK3.
Even if Princeton discontinues the genuine PT8211, seems pretty likely the Chinese counterfeits will remain.
Try the installer on msg #36.
Should be fine to install this "on top of" the 1.51 install you already have. Or extract a fresh copy of Arduino and install into it, if you want to have both copies...
Kurt, can you remind me about the problems you saw with ARM64 Ubuntu running on Raspberry Pi?