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

Thread: Noob question

  1. #1

    Noob question

    When I attach the teensy to my computer and download code it runs fine. When I remove power and then hook it up again the flashed program is not restarting. Is there a procedure to get the teensy3 to reboot the flashed code that I missed somewhere? I'm sure everyone knows the answer, I have not been able to figure it out.

  2. #2
    The teensy always runs the flashed program when it is started regardless of whether it is connected to USB. Is it possible that you're doing something which is requiring USB? You didn't say which teensy you're using, but I had some programs for the teensy 3 that did something like:

    while(!usb_configuration) {
    digitalWrite(13, HIGH);
    And these would fail to light up when only connected, for instance to a charger, and not to a real USB device.

    Try loading a simple "blink" program and see that it does work when not connected to USB.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Please help us to help you by reading this post.

  4. #4
    Thanks. That actually helped a lot. I've been playing with an Adafruit TFT touch screen display, running several different programs on it. The problem goes away when I remove the wire I installed between the teensy3 "reset" line next to pin 13 and the LCD control Reset line, wiring the TFT reset instead to pin 13 on the teensy3. see:
    I had done so little with the teensy3 that I mistook the nature of the issue. I think another poster in the forum link said what I did worked for him and it does in the circumstance of downloading. The Adafruit info seems to say that one digital pin can be saved by using reset, their software skips tickling the reset signal if the specified pin is D0.

Posting Permissions

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