Not able to upload sketch to Teensy

Status
Not open for further replies.

mbirame

Member
Hi,
I just got a Teensy 3.2 today and I am unable to upload a sketch from Arduino. I have searched here on the forum and seen some other people with a similar issue, but I haven't found a solution that works for me.

I'm on a mac. I have Arduino 1.6.7 and I saw the teensyduino is in beta for that version. I tried that one and got the problem, and then downloaded Arduino 1.6.6 and the non-beta version of teensyduino and I am getting the same problem.

When I first open Arduino and have the teensy plugged in, I hit verify and the Teensy window pops up asking me to push the button. I push the button and nothing happens.
Then if I go to upload the sketch, it tries to upload and then at the end I get an error:
"Teensy did not respond to a USB-based request to automatically reboot.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch."

Any help would be greatly appreciated!

FYI, when I plug the Teensy in by itself, the LED starts blinking on the board and if I hit the button, the blinking stops.
 
What you see with blinking and stopping is normal behavior on pushing the program button - sounds like you have a healthy Teensy!

Perhaps you have a bad cable - try another good cable that works for data transfer - and perhaps another USB port.
 
I've encountered some USB cables that use a wire gauge that's too small for the current - leading to a too-high I*R drop.
Gauge small = less cost to produce. Pennies count over there.
 
I had problems with this USB cable after over year of no problem on my ambilight radioshack setup.
IMG_20151222_185638066.jpg

That's right it's the cheap 2$ gas station USB cable.
Shorted out to ground, thank God for USB polyfuse.
 
Indeed even good cables go bad. I lost an hour one night 'trusting my cable' and assuming something else had gone wrong (win8?, New IDE?). In my case it was FOUND BY trusting the computer saying : " I don't see the Teensy " - not as USB and not as HID on button press. That cable didn't do anything evil like shorting though - just stopped usably doing the data sending stuff.

I have gotten my Teensy's out of wack with my Windows systems from odd code or confusing Windows USB - or it seems handling a hand wired bare PCB too much that had a socketed Touch screen on it. Reposting that link here for those that catch this thread and it isn't a simple cable issue.

For those cases I found these steps to get them back online: Can-t-communicate-with-Teensy

I've shared/linked those steps in that post and they have helped others - and central in bold on that post is:
> Have a good USB cable - not a charge only cable, good cables can go bad.
(now I'll go underline : good cables can go bad)

stevech makes a good point about cheap cables and I*R drop - they may work until they bend one too many times increasing R- or you add one more device increasing I.
 
Last edited:
Status
Not open for further replies.
Back
Top