Forum Rule: Always post complete source code & details to reproduce any issue!
Page 1 of 2 1 2 LastLast
Results 1 to 25 of 35

Thread: Can't upload anything to Teensy 3.2

  1. #1
    Junior Member
    Join Date
    Apr 2019
    Posts
    16

    Can't upload anything to Teensy 3.2

    I bought a teensy 3.2 a few months ago, tested by plugging in usb (blinking) and left it in the drawer till today.
    I install everything according to the website, even with administrator .

    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, and i release, nothing happens, and the light keeps blinking. I'm using blink example from teensy to upload.

    I tested with all usb cable i have (those that can transfer file between phones and PC) with 4 other PC, non of them work. Is my teensy dead?

    Below is the verbose log.
    .Log.txt
    Last edited by nhatnamt; 04-03-2019 at 06:26 AM.

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,633
    Yes, you want to upload a program... verify does not much when no program is loaded in Arduino. It does not upload anything.

  3. #3
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    Sorry I wasn't clear, I loaded the blink example

  4. #4
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,633
    Then press upload (?!)

  5. #5
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,771
    If you are loading BLINK and it is running Blink - then after upload it will return to blinking if it works - or not. With TeensyLoader active it will reprogram each time that 'PROGRAM' button is pressed.

    Have you selected the Teensy Port and opened SerMon to monitor USB output? Does the Blink in use have any printing output to show it is running something unique?

    Try the above with the sketch in this post - and scan the steps there to see if any are useful: Can-t-communicate-with-Teensy-3-2-through-Teensyduino

  6. #6
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    I load Blink but modified it to 100 milisec, nothing changes. Whenever I press and release the program button, Windows make a sound and that's it.
    Here's my Arduino setting
    Click image for larger version. 

Name:	Annotation 2019-04-03 145029.png 
Views:	9 
Size:	8.8 KB 
ID:	16320

    Teensy shows up as this device, it appears whenever I plug in teensy
    Click image for larger version. 

Name:	dm.png 
Views:	9 
Size:	10.6 KB 
ID:	16321

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    From this screenshot, looks like Teensy is working. 16c0 and 0486 is the RawHID blink program that comes on every brand new Teensy.

    Is Teensy Loader visible somewhere on your screen? Try turning off Auto mode. Then press the pushbutton on your Teensy.

  8. #8
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    Yes teensy loader does show up every time i press verify but nothing happen when I press the pushbutton.
    Name:  loader.png
Views: 112
Size:  38.8 KB

    Correct me if I'm wrong. First you load the sketch, then hit verify, Teensy loader will show up prompting you to press the pushbutton. Once you press it, the program should be loaded to your Teensy. Is that right?

  9. #9
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    Quote Originally Posted by nhatnamt View Post
    Once you press it, the program should be loaded to your Teensy. Is that right?
    It depends on the Auto mode setting.

    When Auto mode is turned on, that's correct. It should send the program to your Teensy. The entire process happens pretty quickly, so if your eyes aren't focused on that window (or if some other software on your PC is slowing down GUI updates) you might miss is.

    When Auto mode is turned off, as in your screenshot, then you should see the "Press Button..." message replaced by a bright image of whatever Teensy board you're using. Those 2 buttons in the middle of the toolbar are supposed to become enabled. One causes the code to be programmed onto your Teensy. The other causes Teensy to reboot to whatever code it has, which should still be the prior program if you don't click that first button.

    Here's how it's supposed to look in that state, where Auto mode is off and it's detected your board, where those 2 buttons are enabled.

    Name:  sc.jpg
Views: 112
Size:  23.4 KB

  10. #10
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    I see, but mine is nothing like that, I'm not sure what's the problem here. Maybe I'll try it on Ubuntu again and update the result.

  11. #11
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,220
    Quote Originally Posted by nhatnamt View Post
    I see, but mine is nothing like that, I'm not sure what's the problem here. Maybe I'll try it on Ubuntu again and update the result.
    Are you saying that, after pressing the auto button, you are not getting the image, Paul provided?

  12. #12
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    Yes, you can look at the picture I posted earlier, buttons are grayed out.

  13. #13
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,220
    Quote Originally Posted by nhatnamt View Post
    Yes, you can look at the picture I posted earlier, buttons are grayed out.
    Yes, because it is in AUTO mode (Auto button is green). press Auto button and then Teensy loader should go to manual mode.

  14. #14
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    Just to confirm, you're pressing the button on your Teensy, right? Not anything on your PC, but the physical button that's on the Teensy board.

  15. #15
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    Quote Originally Posted by WMXZ View Post
    Yes, because it is in AUTO mode (Auto button is green). press Auto button and then Teensy loader should go to manual mode.
    I thought that it is manual and this is auto
    Name:  loader.png
Views: 116
Size:  38.8 KB

  16. #16
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    Quote Originally Posted by PaulStoffregen View Post
    Just to confirm, you're pressing the button on your Teensy, right? Not anything on your PC, but the physical button that's on the Teensy board.
    Yes, here's what I'm doing (I forgot to turn of AUTO mode this time)
    https://youtu.be/qh143zSkC-k

  17. #17
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,220
    Quote Originally Posted by nhatnamt View Post
    I thought that it is manual and this is auto
    Name:  loader.png
Views: 116
Size:  38.8 KB
    OK,
    so when AUTO as in this picture (light green) and you are pressing button on teensy, what happens exactly? any sound on PC?

  18. #18
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    Quote Originally Posted by WMXZ View Post
    OK,
    so when AUTO as in this picture (light green) and you are pressing button on teensy, what happens exactly? any sound on PC?
    Some sound on PC but thats all, you may want to have a look at the video I posted.

  19. #19
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    After you're pressed the button and heard the sound, what do you see if you click Arduino's Tools > Ports menu? 0486 or 0478 in the ID numbers?

    Some thoughts...

    1: Reboot. This is Windows afterall.

    2: Maybe something got messed up in the Windows registry. You might need to find a utility to get Windows to "forget" everything it's learned about USB hardware ID 16C0:0478.

    3: Try a different PC, or run Linux on this machine. If a "detecting hardware" message appears the first time you press the button, don't mess with it. Let Windows do its thing. Or try Linux, which doesn't suffer from silly registry problems.

  20. #20
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,220
    Quote Originally Posted by PaulStoffregen View Post
    You might need to find a utility to get Windows to "forget" everything it's learned about USB hardware ID 16C0:0478.
    I found it useful to
    remove teensy
    open device manager and visualize also hidden devices
    uninstall all inactive (greyed) HID devices with HW ID 16C0
    uninstall all inactive COM ports.

    typically this should remove 'bad' USB ports from Windows

  21. #21
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    One more question - where did you buy this Teensy? Directly from PJRC or any of the official distributors?

    Any chance this board could be a Chinese fake? (anything purchased from Aliexpress)

  22. #22
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,633
    Quote Originally Posted by PaulStoffregen View Post
    One more question - where did you buy this Teensy? Directly from PJRC or any of the official distributors?

    Any chance this board could be a Chinese fake? (anything purchased from Aliexpress)
    Indeed.. I did a quick search and I found some Teensy 3.2 which look like counterfeits.. but pretty good ones Hard to see - they have even the vias on the same positions - but if look closely you see missing SMD Parts or a slightly wrong silkscreen..
    Paul, are there any official versions which have the print "GND" near pin 0 upside down (on the backside)?

  23. #23
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    Ah that explains everything. Yes I bought it from Ali. Didn't think it was a counterfeit since it came very well fabricated, even with anti static bag.
    I guess I'll have to get another one then.

  24. #24
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,633
    Can you please post good photos?

  25. #25
    Junior Member
    Join Date
    Apr 2019
    Posts
    16
    Quote Originally Posted by Frank B View Post
    Can you please post good photos?
    Here it is

    Click image for larger version. 

Name:	IMG_3856.jpg 
Views:	28 
Size:	225.8 KB 
ID:	16328
    Click image for larger version. 

Name:	3587.jpg 
Views:	23 
Size:	176.2 KB 
ID:	16329

Posting Permissions

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