Hello,
I restarted a project again that uses a custom PCB to interface (and power) my Teensy 4.1. No luck communicating over USB when powered by my board. To narrow down the problem, I took a brand new Teensy 4.1 purchased from Digikey a few months ago and downloaded the attached test program using a standard, unmodified 18" USB cable. Teensy was not installed in any PCB at this time and worked as expected. I then took another USB cable (that worked before I modified it) and cut the +5V wire in it. I supplied 5V from a Rigol DP832A to the 5V pin in the corner by the USB connector and ground to the pin next to it. Device manager shows a "USB Serial Device (COM5)" just like before, Arduino under Tools/Port shows "COM5 (Teensy)" but when I try to re-download the program I get:
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
Pressing the button I get two red flashes from the LED by the USB port and did not help trying to program. Trying to open the Arduino Serial Monitor I see "TeensyMonitor: COM5 Offline". Note: for this test I did not cut the trace on the bottom to separate the 5V from the USB cable and 5V from the 5V pin in the corner. I suspect if I do cut the trace on this test Teensy, use an unmodified USB cable and power it from the Rigol power supply I will get similar results.
For the Teensy 4.1s I've previously used for my project in my custom PCB I did cut this trace, all worked as you might expect. Now those Teensys have similar behavior as above. I took one of them and soldered a bridge over the cut trace, it it works fine with an unmodified USB cable but not with my modified USB cable, powered from my Rigol DP832A. This is using a Windows 10 desktop (that I have used for this project before). I get the same results from a Windows 10 laptop, which also worked before. I've tried several different unmodified cables with the Teensy with the trace cut in my PCB, so I don't believe my troubles are due to a too long or low quality USB cable.
Any suggestions?
- Steve
I restarted a project again that uses a custom PCB to interface (and power) my Teensy 4.1. No luck communicating over USB when powered by my board. To narrow down the problem, I took a brand new Teensy 4.1 purchased from Digikey a few months ago and downloaded the attached test program using a standard, unmodified 18" USB cable. Teensy was not installed in any PCB at this time and worked as expected. I then took another USB cable (that worked before I modified it) and cut the +5V wire in it. I supplied 5V from a Rigol DP832A to the 5V pin in the corner by the USB connector and ground to the pin next to it. Device manager shows a "USB Serial Device (COM5)" just like before, Arduino under Tools/Port shows "COM5 (Teensy)" but when I try to re-download the program I get:
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
Pressing the button I get two red flashes from the LED by the USB port and did not help trying to program. Trying to open the Arduino Serial Monitor I see "TeensyMonitor: COM5 Offline". Note: for this test I did not cut the trace on the bottom to separate the 5V from the USB cable and 5V from the 5V pin in the corner. I suspect if I do cut the trace on this test Teensy, use an unmodified USB cable and power it from the Rigol power supply I will get similar results.
For the Teensy 4.1s I've previously used for my project in my custom PCB I did cut this trace, all worked as you might expect. Now those Teensys have similar behavior as above. I took one of them and soldered a bridge over the cut trace, it it works fine with an unmodified USB cable but not with my modified USB cable, powered from my Rigol DP832A. This is using a Windows 10 desktop (that I have used for this project before). I get the same results from a Windows 10 laptop, which also worked before. I've tried several different unmodified cables with the Teensy with the trace cut in my PCB, so I don't believe my troubles are due to a too long or low quality USB cable.
Any suggestions?
- Steve