Teensy 4.1: Software reset (SCB_AIRCR) fails on Bootloader v1.0a (Blink Code 9)

TA99

New member
Hi everyone,

I'm running into an issue with a software reset on my Teensy 4.1 after updating the bootloader.

The Problem​

Previously, a software reset using the Application Interrupt and Reset Control Register always worked reliably:
C++:
SCB_AIRCR = 0x05FA0004;

However, since switching to Bootloader v1.0a, executing this command causes the board to fail to restart properly. Instead, I get blink code 9 (the red LED blinks 9 times periodically). The board only recovers and boots normally after a full power cycle.

Has anyone experienced similar behavior after updating to bootloader v1.0a, or is there a new recommended way to trigger a software reset on this bootloader version?

Thanks for any insights!
 
Try this:
Perform the restore process by holding the button down for 15 seconds. Release it as soon as the red LED flashes briefly. The red LED will then light up bright for about 30 seconds while the flash memory is cleared and a working default program is restored. Once complete, the red LED turns off and the orange LED starts blinking slowly.

Does that work?
 
When I perform the restore process, the red LED stays on for about 30 seconds. However, once it turns off, the orange LED never starts blinking again
 
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 earlier were designed for a specific Winbond part. Until earlier this year, that Winbond flash has been continuously available on the market, even during the pandemic shortages. But big AI companies brought upon the world a memory chip shortage this year, which made 1.09 necessary.

Of course update from 1.08 to 1.09 isn't necessary and makes no sense, since all boards with 1.08 were manufactured with the specific Winbond flash chip 1.08 supported. There's no need to update any of them to 1.09.

Normally I avoid talking about future software, but I will briefly mention a new bootloader with a major new feature has been in development for quite some time as is nearing release. When it starts beta testing, it will be identified as 1.10, not "1.0a". We will publish software which updates earlier versions 1.10, so everyone with Teensy 4.0 or Teensy 4.1 can enjoy the new features. However, initial beta testing will probably be limited to only Teensy 4.1 running 1.08 just to keep the hardware side consistent in the earliest beta testing. After a round or two of beta testing, we'll expand the update to cover Teensy 4.0 and update from older bootloader versions. Main take-away for now is there is no version "1.0a".
 
We will publish software which updates earlier versions 1.10, so everyone with Teensy 4.0 or Teensy 4.1 can enjoy the new features.

So, just to clarify, does this include the MicroMod as well? That's the Teensy that matters the most to me. I assume it runs the same bootloader as the other Teensy 4.X boards as it uses the same processor but I suppose it does use a different flash chip as it has 16MB of Flash. So, does it use the same bootloader and would this 1.10 update then apply to it as well?
 
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.
 
Back
Top