Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Teensy did not respond to a USB-based request to enter program mode.

  1. #1
    Junior Member
    Join Date
    Jan 2018
    Posts
    3

    Teensy did not respond to a USB-based request to enter program mode.

    Hi all.

    This is actually my first Teensy, and hence my first project with it so it's entirely likely that there's something simple that I'm overlooking with this. I've connected a button to my Teensy 2.0, and I'm essentially trying to have it push the 'W' key when pressed.

    My process for attempting to load this very basic script into the Teensy is, as far as I can tell, correct. I've set the board to 'Teensy 2.0', and set the USB type to 'Keyboard' in Arduino (1.8.5).

    When I plug the Teensy in, the orange LED blinks. From there, I press 'Verify', the Teensyduino program opens and I press the button on the Teensy, and the light stops blinking. Just like it told me to when I was installing the Teensyduino program.

    The problem is that when I press upload, the display says:

    "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."

    When as far as I'm concerned, I did this.
    This is the only thing written on the display (other than 'Sketch uses xyz bytes' etc.).

    Any assistance would be greatly appreciated.
    Thanks.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    16,282
    Watch the Teensy Loader window when you press the button on the Teensy. You should see it show your Teensy and "Programming" then "Reboot OK". The programming goes quickly, so it's easy to miss if you're not looking or the Teensy Loader window is minimized or behind another window.

    If nothing happens in the Teensy Loader window...

    Check your USB cable - some cables sold for phone charging have no data wires, only power.

    Check any USB hubs or other stuff between the Teensy and computer

    Check the Teensy. Is the cable plugged in? Is the board damaged? It is a genuine Teensy or Chinese fake?

  3. #3
    Junior Member
    Join Date
    Jan 2018
    Posts
    3
    Actually, when I plug the Teensy in and press verify, the Teensy loader window just says "Press Button on Teensy to manually enter Program Mode". I can then proceed to press the button. While the light stops blinking, the Teensy loader window remains completely unchanged.

    The board itself is undamaged, and it's certainly not a fake (I bought it directly from the PJRC website). It may be in the USB cable, so I'll certainly look into that.

    Thanks.

  4. #4
    Quote Originally Posted by j.adams124 View Post
    Hi all.

    This is actually my first Teensy, and hence my first project with it so it's entirely likely that there's something simple that I'm overlooking with this. I've connected a button to my Teensy 2.0, and I'm essentially trying to have it push the 'W' key when pressed.

    My process for attempting to load this very basic script into the Teensy is, as far as I can tell, correct. I've set the board to 'Teensy 2.0', and set the USB type to 'Keyboard' in Arduino (1.8.5).

    "Teensy did not respond to a USB-based request to enter program mode.
    Please press the PROGRAM MODE BUTTON on your Teens
    I had this problem in Ubuntu. I had not done the install bit with the 49 in it. Once I did that it was fine. You have to copy a file somewhere.

  5. #5
    Junior Member
    Join Date
    Jan 2018
    Posts
    3
    It turns out the problem actually lay in the cord that I was using. All works fine now and my homemade joystick works perfectly. I'll definitely be buying more Teensies in the future, since they're very good to work with. Thanks for the replies.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •