Looking at this today, just changing the order so the math library is last seems to solve this problem.
In other words, changing this
teensy36.build.flags.libs=-larm_cortexM4lf_math -lm -lstdc++
to this...
Before I consider a simple fix to be merged into the official core library, given all this new info is there a reliable way to reproduce this problem? Can it be done with a relatively small program not depending on many libraries and external...
Turns out this broke String from float on Teensy 3 & 4 with Smallest Code optimization, where snprintf() doesn't support float printing.
Fixed so it now works with all optimization...
Also another blind guess, if this is some sort of timeout error, maybe configuring different the AWRWAIT and AWRWAITUNIT fields in FLEXSPI2_FLSHA1CR2 and FLEXSPI2_FLSHA2CR2 might have some effect?
When the problem happens, any chance you could read the FLEXSPI2_STS1 register?
Main question is whether these fields indicate the hardware detected any sort of error.
I've added code to my build scripts to automatically update -DTEENSYDUINO= in boards.txt for both Arduino 1.8.x installer and the 2.3.x Boards Manager package. Future releases should have these correct.
However, there's nothing automated for...
Here's my attempt to fix platform.txt for Export Compiled Binary to work properly on IDE 2.3.10 with Lockable Teensy.
recipe.hooks.savehex.postsavehex.1.pattern="{teensytools.path}teensy_secure" encrypthex {build.board}...
No, it's never been supported on Teensy 4.0 or Teensy 4.1.
If PlatformIO or any other system is using the commented out lines, that's absolutely a bug with their software.
Oh that is a really interesting idea to use the flash chip erase/write suspend. But I don't see how it can work in practice with Winbond's timing requirements, unless there's some way I don't know for FlexSPI to integrate with timers. The...
Maybe there is some misunderstanding? Or maybe I'm reading too much from only a few words like "AHB sequence" and "auto-resume"?
Just in case of misunderstanding, please let me explain the pretty limited hardware capability and how the EEPROM...
Did you connect the MIDI circuit in msg #8 to your Teensy 4.0? Did it work?
Nobody can give useful help if you withhold info about what you've actually done and what result you saw. Remember, we can't see your screen, we can't see your...
Pretty likely you had a "ground loop" problem.
It's a very common issue with all audio systems. MIDI uses an optocoupler input for this reason, so the input has no physical connection which can cause a ground loop. Most professional audio gear...
Maybe this is related, or maybe you've found a different problem I also need to investigate and fix? Replying now, but if it doesn't directly help with this @Thundercat problem, maybe a new thread only about this issue would be most helpful for...
That's both easy and difficult to answer.
The easy answer is right there in the info: "error reading /Users/Mikey/Documents/Arduino/Fader_Pro_Premium_V6_31_SE/Fader_Pro_Premium_V6_31_SE.ino.TEENSY40.hex".
The "exit status 1" just means...
I probably should have replied on those threads, but just to confirm now, I did put most of the "happy little" threads on my list of issues to investigate.
Just to be realistic, in the absence of reports people are actually hitting these bugs, I...
The link in msg #14 points to line 44 which defines "txbuffer". But the only use of arm_dcache_delete() at line 80 uses "rx_buffer", which is indeed 32 byte aligned, as you can see at line 49. The pointer is added to an index multiplied by...
I need to weigh the needs of the many with the needs of the few.
Many programs exist using DMAMEM to allocate variables and arrays in RAM2. Few programs (essentially none) exist which incorrectly call arm_dcache_delete() in violation of the...
1.62 updated the compiler from gcc 11.3 to 15.2. We tried to keep everything else as similar as possible between 1.61 and 1.62.
Change any of the settings, like Tools > CPU Speed, so Verify will be forced to recompile everything. Watch...
From imxrt.h line 10336:
// Delete data from the cache, without touching memory
//
// WARNING: This function is DANGEROUS!! The address must be
// 32 byte aligned and the size must be a multiple of 32 bytes.
//
// DO NOT USE this function with...
We've had 3 releases so far in 2026, in February, May and June.
Not as visible, we've also had 2 severe supply chain disruptions in 2026, first with flash memory and recently with Schottky diodes. Like in the pandemic, those take a huge amount...
We only ban netblocks that originate spam or register fake accounts for spammers.
Sadly, many VPN services are used by the automated forum posting software sold to spammers. It's a huge problem. Before we started blocking many IP ranges...
MicroMod boards have bootloader 1.06 or 1.07, depending on when they were manufactured.
Yes, update for bootloader features will come to MicroMod. We will also publish the update for all DIY circuit boards made with the T4 bootloader chip.
I should also mention, PJRC has *not* published any update that changes existing Teensy boards from bootloader 1.08 to 1.09.
Version 1.09 added support for many more flash memory chips. Full list on the T4 bootloader page. Version 1.08 and...
Looks like it should work.
But be careful with the 5V and 3.3V wires, which are physically next to each other. If 3.3V accidentally touches 5V, even for a brief moment, Teensy 4.0 will be destroyed.
FYI
Just updated my M2 mac to macOS 27.0.1 and found that Arduino IDE 2.3.10 wanted Rosetta installed. Thought I had gotten rid of Intel apps by looking at 'Activity Monitor'. Looked around and found Paul resolved the problem ~5/2026 and so I...
Normally pin 7 on 6N138 would be unconnected. See recommended schematic at this page.
https://www.pjrc.com/teensy/td_libs_MIDI.html
But if you design a PCB, you could simple not add the resistor during soldering, or choose a different resistor...
Friends,
Here is my latest tutorial, which brings on-the-fly DDS synthesis (16-bit) to port IO on the Teensy 4.1. It can go surprisingly fast, and through careful testing, I show that the arm_sin_q31() function is the fastest way to compute the...
Looks like NXP stopped making this eval board, but if you really want one for experimentation, some distributors still have stock.
Mouser has 13 in stock today, part number is 771-MIMXRT1060-EVKB
Newark has 19 in stock today, part number 25AK0898
The official answer is "not really". Teensy is really meant to be programmed by Teensy Loader, either the normal GUI version or the command line tool.
Unofficially, you have more options with Lockable Teensy, which allows setting the boot...
Check MCLK output.
SGTL5000 remains in a low power reset state where it's unresponsive to I2C if no MCLK signal is seen.
If that doesn't solve your problem, perhaps get a Teensy 4.1 board and audio shield (known good hardware) to test your program.
Might also be worthwhile to mention this official statement covers Teensy 4.1 as shipped by SparkFun.
Info about use of SD card or additional flash memory chips soldered to the bottom side isn't covered in the official statement from SparkFun...
This 3.3V power may be turning on too early. See Power Up Sequence on the bootloader chip page for details.
1K pullup resistors to I/O pins should not destroy the hardware, but you can easily get Teensy stuck if current feeds through the I/O...
Existing releases are effectively frozen. Don't expect version 1.62 to ever be re-released, which would mean changing the data and thus all the SHA256 signatures in the platform index file.
But do look for me to (hopefully) get it right in...
It's SparkFun's old part number for Teensy 3.6. Searching their site doesn't find it, but Digikey still has a reference.
If you can't find any, I have 5 here which appear to be new condition, 3 without pins and 2 with pins. I have about a...
We've long had an informal expectation that bug reports need to show a complete program & details to reproduce the problem. My feeling is this applies equally whether 100% organic human or AI assisted.
When this forum ran on vBulletin we even...