Best thing you can do while you wait for replacement hardware is extensively test your application running on the damaged board.
If it runs successfully for the rest of this week, perhaps that will be good enough to meet your deadline next week.
Maybe. There is no 100% certain answer. The power quality will be lower, but I can not predict whether the lower quality will manifest as problems in your application.
You should begin testing to answer this question for yourself, specific to...
R2 is used for the red LED which shows bootloader status. Teensy 4.1 can work without this LED.
C21 and C29 are 3.3V decoupling capacitors. C21 is close to the SD socket and QSPI pads. C29 is close to the ethernet chip. Teensy 4.1 can...
I'm guessing you're dealing with code someone else wrote on this PC?
If so, please first make sure you have backup copies of all the files. Especially if the PC you're using has the only (very old) copy of the working (with Arduino IDE 1.0.5)...
Arduino IDE 1.8.5 is the oldest supported. But the IDE version probably isn't your main challenge. If you have code which was written for the Teensy 3.0 hardware, porting to Teensy 4.0 means rewriting the low-level USB code which actually...
Most function generators output with a fairly low impedance which can easily drive the input's 2.2K resistor. But to get a signal with low enough amplitude, you might need to add a resistor divider to decrease the signal level.
Indeed the 0.1uF...
I was also going to ask about those pins.
Maybe I misunderstood the description "Attempting to download the blink program at this point or any other for that matter, fails, the USB port drops out" to mean the code begins to load but fails after...
Teensy is assembled in Oregon, USA. Final testing and firmware programming is done in Oregon, USA.
The 2 microcontroller chips both have China as country of origin.
NDAA compliance is easy, since Teensy isn't telecommunications or video...
Something is going wrong here, but your Teensy is almost certainly not bricked.
I want to help, but it is difficult to get a clear picture of what's really happening because your description of the problem is heavy on interpretation / analysis...
Sure, here's another test. Basically the same, but prints a slightly different hello message. ;)
https://www.pjrc.com/tmp/hello3.exe
Based on what we saw 3 years ago with 1.54 beta #7, my guess is we've got a few beta versions to go before...
Glad you got it working. :)
Be careful about Teensy's power pins accidentally touching the metal chassis of your laptop. In theory everything should have over-current protection. In practice, best not to put that to the test.
So many questions. Here's a couple quick answers. (sorry, don't have time for another long message)
Yes, basically the same. You can see what's changed on github.
https://github.com/PaulStoffregen/SdFat
The readme has a high-level summary...
Can you show us the PC side transmitting code?
Is this C++ code and Python code fairly simple to compile and run? Or perhaps you could create a simple version which just sends fixed patterns? Without the transmitting code, we can only read...
The short and simple answer is you should uninstall or delete SdFat you've installed, so Arduino IDE will use the copy of SdFat which comes with Teensyduino. When you install a library, usually Arduino IDE gives your installed copy priority...
The good news is this sort of problem is usually recoverable.
Before you go any further, I'd recommend buying liquid flux chemical. Applying liquid will make resoldering so much easier and give better results. With the extra flux, you can...
Yes, this problem usually happens on Windows if Teensy Loader is still running when uninstalling the older Teensy files or using an older IDE. Windows does not allow the EXE file to be deleted. Arduino IDE does not handle the situation well...
I also tried running the WS2812Serial library FastLED_Cylon example. It defaults to pin 1 and 64 LEDs, so I ran it exactly as-is.
I see it animating on the 8 LEDs and then they fade. I'm guessing the animation travels to the other 56 LEDs I...
I'm running this program on a Teensy 4.0, programmed by Arduino 1.8.19 + Teensyduino 1.59.
#include <FastLED.h>
#define NUM_LEDS 8
#define DATA_PIN 1
CRGB leds[NUM_LEDS];
#define RED 0x160000
#define GREEN 0x001600
#define BLUE 0x000016...
No, do not send your long program.
If you're stuck, invest the time to copy only the problematic portion to a small program. Please carefully check that your small program does indeed reproduce the problem. Then show the small program here...
delayNanoseconds() isn't perfect. It can and usually does give slightly longer delay than requested. Internally it uses a hardware timer so interrupts which occur (and finish) while waiting don't lengthen the total wait. But this approach adds...
Yes, the delays only where needed is the best way.
If you want to experiment with shorter delays, use delayNanoseconds() rather than delayMicroseconds(). My guess is you probably only need something like 20 to 50 ns.
The PWM hardware can only create frequencies using integer division of the base clock, which is 150 MHz.
20 MHz would require divide by 7.5, which isn't an integer. Divide by 8 gives 18.75 MHz. My guess is that's the frequency you're really...
Pins 33, 34, 35 are not connected to 3.3V. See the Teensy 4.1 schematic for details.
https://www.pjrc.com/store/teensy41.html#tech
I do not understand the 2nd part of your question about "launchstatePIN". Maybe your question is about specific...
Posted an article on the website today with info about how the Windows EXE cross compile and signing works.
https://www.pjrc.com/how-to-cross-compile-and-sign-windows-exe-on-linux-with-yubikey-token/
Hopefully it can help other people who want...
Maybe the Power Up Sequence info on the T4 bootloader chip page can help with understanding the circuitry as you try to diagnose the problem.
https://www.pjrc.com/store/ic_mkl02_t4.html
On the board showing nearly zero volts, try measuring...
If you're using Windows and have a moment to help, please download this freshly compiled Hello World program (it just prints "Hello World" if run from command line).
https://www.pjrc.com/tmp/hello2.exe
This EXE file supposed to be properly...
Sadly, no. That state exists only on the PC. As far as I know, the HID protocol used by nearly all USB keyboards does not provide any way to explicitly communicate that state from the PC to the keyboard.
However, the LEDs are communicated...
"Device not responding to setup address" is an error at the very beginning of USB enumeration, before any distro driver or middleware differences would likely come into play. It's almost certainly a hardware problem, as the "Cannot enable. Maybe...
Wiznet W5500 works great with the Ethernet library, which uses SPI.h internally to talk to the hardware.
If you're creating your own library to talk to W5500, maybe look at the Ethernet library code.
Regarding the specific problem you...
It's safe to assume case A.
Case B isn't how the hardware works.
As I tried to explain in msg #4, the RT1062 will use power from VDD_SNVS_CAP (which should be 1.1V) to drive PMIC_ON_REQ (a.k.a. the LDO EN pin) in the absence of 3.3V power. If...
You could get a clearer picture by watching the PMIC_ON_REQ test point while it happens.
1 volt or higher means the CPU is asking the 3.3V regulator to be on. If the 3.3V power shuts off while PMIC_ON_REQ is 1V or higher, you can pretty well...
Yep, TCM is basically the same speed as cache. It can be slightly slower in some cases, like heavy use of DMA.
There's a reason why we default to use of RAM1. ;)
I don't recall anyone ever running (and sharing) this specific test. But yeah...
No. NVIC uses priority levels. As long as you don't reconfigure the priority, you'll never get a recursive interrupt. Upon entry to the ISR, the NVIC knows you're now running at that interrupt's priority level. It won't allow more interrupts...
The forum search has limitations. It's not Google!
But you can use Google. Just add "site:forum.pjrc.com" to anything you search on Google and it will limit their search to only this forum. I believe this also works on Bing and DuckDuckGo.
I can't say exactly how your program should be written, but here is some general advice which may (or may not) help.
I would add a variable which keeps track of the intensity level you're currently displaying. Maybe this would be a single...
First quickly check if your CM used the correct flash part. The Winbond parts with "Q" at the end do not work and will give this 3 blink error. Only the "M" parts work.
3 blinks means a problem with the flash memory.
Blink code are on the T4 bootloader chip page. Scroll down to "Troubleshooting & Diagnostic Blink Codes" near the end,
This sort of error can be caused by missing or wrong connections between the bootloader and RT1062, or between the RT1062 and flash memory.
Is the red LED giving any of the blink codes? Blinking twice or 4 times would be the likely errors.
If you previously had TX - RX and RX - TX connected and swapped the wires so TX - TX and RX - RX connect, you would expect the result to change from "something" to "nothing" if the problem is something like wrong baud rate or poor quality signal...