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

Thread: unresponsive Teensy3.1

  1. #1
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    156

    unresponsive Teensy3.1

    Hi guys. Was having a good night here, uploading small variations of code to the audio shield project. The Teensy3.1 stopped responding. I tried another unit which took the code and works fine installed in the project. The original is still non responsive. Nothing electrical was changed... I only uploaded new code. Only thing noteworthy was that I was still running audio through the circuit as I uploaded code. No external dc.
    Attached Files Attached Files
    Last edited by ETMoody3; 04-17-2014 at 04:25 AM.

  2. #2
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    Tried this?
    Compile a known good simple program link blinky.
    disconnect all Teensys.
    Connect the problem Teensy.
    Press the button on that Teensy to ensure it downloads only the simple program.
    Double check what the downloader window shows - correct file name, etc.

  3. #3
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    156
    It appears to be a win7 problem. Rebooted, flashed the program and I'm back in business. Duly noted that this can happen.

  4. #4
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    There's a known problem with Windows that is general to all USB, but affects the Teensy more. When the Teensy runs amok for some reason, the USB disconnects in an odd manner per Windows. Then Windows introduces a delay of some 15 seconds before it tries to re-enumerate that USB device. It is said it doesn't happen on MACs.

  5. #5
    Senior Member
    Join Date
    Apr 2014
    Posts
    347
    Yes I seem to have this type of problem
    A new Teensy3.1 worked Ok downloading and running examples to the teensy only, nothing else connected and powered from USB
    Then it just stopped and didnt download properly and then Windows Device manager kept detecting it and then dropping it.
    The LED still flashes on it but randomly rather than repeated link in the blink sketch.
    When I now compile Blink, it compiles and opens the loader, Arduino verbose tells me to press reset to download.
    I press the button on the teensy board but looks like the Teensy Loader is not detecting it.....

    When I switch on Teensy verbose in the Teensy loader it gives me the following...

    14:29:22: Verbose Info event
    14:29:26: Device came online, code_size = 262144
    14:29:26: Board is: Teensy 3.1 (MK20DX256), version 1.03
    14:29:26: File "Blink.cpp.hex". 14324 bytes, 5% used
    14:29:26: HID/win32: HidD_GetPreparsedData ok, device still online :-)
    14:29:26: Device went offline

    It tells me the device went offline although it is still plugged in

    Is this a windows setup or drivers or hardware problem. Is there any other way of finding out what is happening....
    Thanks

  6. #6
    Senior Member
    Join Date
    Apr 2014
    Posts
    347
    Further to my previous post, does it matter what is set in Arduino IDE, Tools, Programmer when programming Teensy via USB.....????
    What should it be set to...??

  7. #7
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    156
    I'm not certain what the problem actually is. I had to rrboot the computer before things worked again. As for settings in the IDE regarding programmer... those are for using *programmers* and dont apply to using bootloader enabled devices. I'd make sure the IDE is targeting the correct board and serial port, though.

    I also searched through the forum for "dead teensy" and other variations and read them. Scattered throughout are bits and pieces of why this happens and some electrical tests that can be done. Try rebooting your Windows computer.

    Emory

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,101
    Quote Originally Posted by Teenfor3 View Post
    Is this a windows setup or drivers or hardware problem.
    The simple test is to try on a different PC (and use a different USB cable). If the problem only happens on a single machine, then it's probably a hardware or software problem on that PC.


    Is there any other way of finding out what is happening....
    By only electronic communication, it's difficult to tell. There is expensive equipment that can monitor everything about the USB communication....

  9. #9
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    156
    Click image for larger version. 

Name:	20140418_120852_resized.jpg 
Views:	117 
Size:	174.0 KB 
ID:	1829

    Fwiw dept: all fine here now. Getting musically useful results from the flanger effect. Nice work, Pete. I'm getting thumbs up from a couple of pros who've heard the thing being put through paces.

    ( I get the hardware...math makes my head spin. Patiently awaiting the work being done, ready to take it onwards. )


    Emory

Posting Permissions

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