Teensy 4.1 not recognized by Arduino software and Platform IO

leorobertreid

New member
I'm trying to program a Teensy 4.1
.
I've tried to upload a test program:

C++:
#include <Arduino.h>

void setup() { 
    pinMode(LED_BUILTIN, OUTPUT); 
    Serial.begin(9600);
}

void loop() { 
    digitalWrite(LED_BUILTIN, HIGH); 
    Serial.println("LED is ON");  delay(1000); 
    digitalWrite(LED_BUILTIN, LOW); 
    Serial.println("LED is OFF"); 
    delay(1000);
}

A simple blink sketch.The problem is that, when I try to upload it (I've tried arduino with Teensyduino and platformio), the board is not detected and it asks to click on the program button. I do that, but it still is not recognized.

Does anyone know what I'm doing wrong? Do I just have a bad board. I got it from aliexpress, so that might me why.

On device manager (on windows 11), I can see Teensyduino RawHID appear and disappear when I plug it in and out, and when I click on the program button on the Teensy 4.1, it appears as unknown.

My main worry is that the board is faulty, but I'm praying that I'm doing something wrong.

Thanks for the help
 
First check would be confirming a good quality data cable. Power only of course isn't capable, but the T_4.x USB runs faster and is more demanding of a quality cable.

Does the computer make a USB Device recognition on plugging it in? And again on pushing the Button?
 
I can see on device manager that something changes. When I plug the teensy 4.1 in, I can see Teensyduino RawHID appear, and when I click on the program button, it changes to unknown.
 
With the Teensy.exe loader open open the Help / Verbose window.
Perhaps unplug the Teensy
Clear the Window text
Then repeat plugging it in and Button Press and watch for the posted notes

Trying a 'known good' Quality cable would be the first thing to try - other day somebody found success on 5th cable - though there now is not a charge only cable - it may not be reliable at 480 Mbps
 
Back
Top