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

Thread: Bad Board?

  1. #1

    Bad Board?

    I love the Teensy and am trying to make a drum. However, I am having a problem with a new Teensy 3.5 board I just purchased (through Amazon).

    The blink program works perfectly. It loads correctly without errors and I can change the timing of the blinking by changing the code. All fine there.

    The program to test an analog input with a pot (potentiometer) does not work at all. It is tutorial 3 or 4. I am 100% positive I have it wired properly on a breadboard and loaded the correct code. The monitor is completely blank.

    I've also tried hooking up digital (momentary switches) and analog (peizo) triggers and get nothing.

    Could my board be bad?

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,067
    Hard to say, what is going on, without any actual information.

    Like maybe a picture of your actual setup. Is it in a breadboard? Did you buy a board that had the pins soldered in? Or if not did you solder in the pins or are you expecting just friction will make a proper connection? Typically that will not work.

    Also what code? Is it this one?
    Code:
    /* Analog Input Example, Teensyduino Tutorial #4
       http://www.pjrc.com/teensy/tutorial4.html
    
       After uploading this to your board, use Serial Monitor
       to view the message.  When Serial is selected from the
       Tools > USB Type menu, the correct serial port must be
       selected from the Tools > Serial Port AFTER Teensy is
       running this code.  Teensy only becomes a serial device
       while this code is running!  For non-Serial types,
       the Serial port is emulated, so no port needs to be
       selected.
    
       This example code is in the public domain.
    */
    
    void setup()
    {                
      Serial.begin(38400);
    }
    
    int val;
    
    void loop()                     
    {
      val = analogRead(0);
      Serial.print("analog 0 is: ");
      Serial.println(val);
      delay(250);
    }
    Is the Serial monitor setup to look at the correct Serial port? i.e. the one that is associated with the Teensy 3.5?

    Note: I often add a little to start of setup. Something like:
    Code:
    void setup()
    {
      while(!Serial && (millis() < 5000)) ; // wait up to 5 seconds for Serial Monitor                
      Serial.begin(38400);
    }
    Also if that does not help, might help to know what type of computer you are running this on? PC? Mac? Linux? What OS.
    Likewise which version of Arduino? What version of Teensyduino

  3. #3
    KurtE, Thanks so much for the quick reply.

    I use a Windows computer and the software seems to run perfectly. The sketch compiles without errors. It is really simple code, not as complex as yours.

    I've attached a photo of the Teensy 3.5 on a breadboard with jumper wires. It's really simple, positive to one side of the pot, negative to the other, and the middle pin to analog 0 (A0). I hope the picture will show below. I am not sure how to enter the code in a blue box, but it is right from the tutoral. It is:

    Code:
    void setup()
    {                
      Serial.begin(38400);
    }
    
    int val;
    
    void loop()                     
    {
      val = analogRead(0);
      Serial.print("analog 0 is: ");
      Serial.println(val);
      delay(250);
    }
    One interesting thing is that if I connect the pot to pin 13 (the Teensy LED pin) the pot does regulate the intensity of the LED. So that seems to be working fine.

    Attachment 16961
    Last edited by defragster; 07-13-2019 at 04:30 PM. Reason: add # CODE

  4. #4
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,137
    a new Teensy 3.5 board I just purchased (through Amazon
    Specifically which vendor did you get the T3.5 from? It may not be a genuine PJRC board, in which case there's no guarantee that it'll work at all.

    Your image attachment didn't work.

    Pete

  5. #5
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,060
    The attachment is there - just have to click - I did post edit save now it shows - for some reason I get that on my posts at times.

    Image looks like a T_3.5 here - and the card image as far as I can tell.

    As far as the breadboard - that is 5V taken to the power rail and feeding the Analog pot? You'll only see full range up to 3.3V and should use that pin. And if that 5V went to any of the non-Digital I/O pins it may have destroyed the Teensy.

  6. #6
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,067
    Note I only changed adding the one line that waits up to 5 seconds for serial monitor to start.

    You might add that and maybe after the Serial.begin line maybe add a short delay,
    And maybe print something.

    Something like
    Code:
    void setup() {
        while (!Serial() && millis() < 5000) ;
        Serial.begin(38400);
        delay(100);
        Serial.println(“program started “);
        delay(100);
    }
    Warning there are probably typo and capitalization issues as typed in on tablet.

  7. #7
    KurtE, I really appreciate your help. I added the code you suggested, but I get an error on your line

    Serial.println(“program started “);

    It gets highliged in red and the error says stray '/342' in program

    So maybe your code will fix why tutorial won't work, but I am unable to run your suggested fix.

    And I can't understand why a Teensy tutorial would need a fix.

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,323
    Try this:

    Serial.println("program started");

    notice the "plain" quotes. The fancy quotes don't work with Arduino. You need the plain ones.


    I can't see the attachment in msg #3. Can you repost it?

  9. #9
    wow I've got the help of Paul! I'm happy now. Here is post (msg #3).

    KurtE, Thanks so much for the quick reply.

    I use a Windows computer and the software seems to run perfectly. The sketch compiles without errors. It is really simple code, not as complex as yours.

    I've attached a photo of the Teensy 3.5 on a breadboard with jumper wires. It's really simple, positive to one side of the pot, negative to the other, and the middle pin to analog 0 (A0). I hope the picture will show below. I am not sure how to enter the code in a blue box, but it is right from the tutoral. It is:

    void setup()
    {
    Serial.begin(38400);
    }

    int val;

    void loop()
    {
    val = analogRead(0);
    Serial.print("analog 0 is: ");
    Serial.println(val);
    delay(250);
    }

    One interesting thing is that if I connect the pot to pin 13 (the Teensy LED pin) the pot does regulate the intensity of the LED. So that seems to be working fine.

    Attachment 16961
    Last edited by defragster; Yesterday at 07:58 PM.

  10. #10
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,060
    I've had issues taking sketch code form the pjrc.WEB - spurious non-Arduino chars get copied at end of lines or somewhere.

    Odd - I can click the attachment link and see the pic - not showing by default:

    Here is a file save repost:
    Click image for larger version. 

Name:	tforrepost.jpg 
Views:	4 
Size:	91.7 KB 
ID:	16969

  11. #11
    Paul and KurtE, sorry to be such a dolt, but a newbe I am. I've fixed the quotation text as suggested by Paul. That error is now gone, but another one popped up.

    The error is after the second void setup() highlighting the {. It says "a function-definition is not allowed here before '{' token.

    Code:
    void setup()
    {                
      Serial.begin(9600);
    void setup()
    {
      
    void setup() {
        while (!Serial() && millis() < 5000) ;
        Serial.begin(38400);
        delay(100);
        Serial.println("program started");
        delay(100);
    }
     
    }
    
    int val;
    
    void loop()                     
    {
      val = analogRead(0);
      Serial.print("analog 0 is: ");
      Serial.println(val);
      delay(250);
    }
    Last edited by defragster; 07-13-2019 at 04:53 PM. Reason: fix code]

  12. #12
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,323
    Trying to understand if uploading new programs to your Teensy 3.5 is still working?

    Can you try opening File > Examples > 01.Basics > Blink. Upload it. Does the orange LED start blinking? If you edit the delays to only 100 and upload again, does it blink much faster?

    While troubleshooting, keep the small Teensy Loader window visible on your desktop. It visually shows the status of uploading.

    If uploading doesn't work at all, your Teensy may indeed be damaged or destroyed. A bad USB cable (like a charge-only cable for a cell phone) can also cause this sort of problem, where Teensy is able to get power but no USB communication works (because those cables have only the power wires).

    If uploading does still work, then your Teensy is probably still good, but something is wrong with the serial monitor. Perhaps the wrong item is selected in the Tools > Ports menu? Normally you should see Teensy twice in the Ports menu. Either should work. Both are worth a try. The "Teensy Ports" one uses a native (not Java-based) program to talk directly to the Windows driver. The "serial ports" version uses Java's JSSC library. Either should work. But if some other port like "COM1" is selected, then Teensy may be working perfect fine but the Serial Monitor is trying to talk to an unused connector on your motherboard.

  13. #13
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,060
    The post #11 code is not right - in the IDE using the Code 'Tools / Auto format' command of "Ctrl+T" will often show the parsing is broken when things are not corret and give an idea where when the indenting breaks.

    Quote Originally Posted by ofishal View Post
    Paul and KurtE, sorry to be such a dolt, but a newbe I am. I've fixed the quotation text as suggested by Paul. That error is now gone, but another one popped up.

    The error is after the second void setup() highlighting the {. It says "a function-definition is not allowed here before '{' token.

    Code:
    void setup()
    {                
        Serial.begin(38400);
        while (!Serial() && millis() < 5000) ;
        delay(100);
        Serial.println("program started");
        delay(100);
    }
    
    int val;
    
    void loop()                     
    {
      val = analogRead(0);
      Serial.print("analog 0 is: ");
      Serial.println(val);
      delay(250);
    }
    Code edited for duplicate refs to setup()

  14. #14
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,067
    Again it is hard to say what is going on? What is the issue? That nothing shows up in the Serial monitor?

    That is why I suggested the changes in earlier one. As I mentioned then, I was typing on IPad which tends to edit the stuff you actually typed in...

    Here is a complete sketch:
    Code:
    void setup() {
      while (!Serial && millis() < 5000) ;
      Serial.begin(38400);
      delay(100);
      Serial.println("program started");
      delay(100);
    }
    int val;
    
    void loop()
    {
      val = analogRead(0);
      Serial.print("analog 0 is: ");
      Serial.println(val);
      delay(250);
    }
    And Here is the output in the Serial monitor
    Code:
    program started
    analog 0 is: 235
    analog 0 is: 235
    analog 0 is: 215
    analog 0 is: 208
    analog 0 is: 225
    analog 0 is: 240
    analog 0 is: 191
    analog 0 is: 236
    analog 0 is: 228
    ...
    Note I have nothing hooked up to any of the IO pins... So it is just floating...

    The interesting things here is If you run this, does ANYTHING show up in the Teensy Serial Monitor?

    And again I am starting from the issue, you say:
    Code:
     The monitor is completely blank.
    Which is the only hint on what your issue may be?

    So again if you do not receive anything like this in Serial monitor?
    Click image for larger version. 

Name:	analog_test_screens.jpg 
Views:	1 
Size:	62.1 KB 
ID:	16970

    If not again more info?
    Windows - Which version? Windows 10? 8.1? 7?
    What version of Arduino?
    What version of Teensyduino?
    What are your settings? Mostly in tools menu
    Board type: Teensy 3.5 I assume
    USB Type? Serial ?
    Optimize?

    Port: ? < This should point to Teensy 3.5 board? >
    Since I am running a recent version of Teensyduino it shows up under ports as Com 23 under Teensy Ports section ? What about yours?

    Does your Serial monitor show as active?

    Maybe to make sure that the program is actually loaded correctly, maybe give us the verbose information from Teensyduino app. That is the app, that shows up looking like A teensy board,
    Click on the menu Help->Verbose Info and try pasting that in.

    You might first exit that app, then click the upload program in Arduino to upload it again, which should relaunch the Teensy app and program your board. My verbose looked like:
    Code:
    09:54:24.612 (post_compile 1): Begin, version=1.47-beta4, high-res time
    09:54:24.900 (loader): Teensy Loader 1.47-beta4, begin program
    09:54:24.969 (loader): File "yyy.ino.hex". 14748 bytes, 3% used
    09:54:24.985 (loader): Listening for remote control on port 3149
    09:54:24.985 (loader): initialized, showing main window
    09:54:25.069 (loader): remote connection 1252 opened
    09:54:25.069 (loader): remote cmd from 1252: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    09:54:25.069 (loader): remote cmd from 1252: "status"
    09:54:25.076 (post_compile 1): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    09:54:25.085 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:25.085 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:25.085 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:25.085 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:25.085 (loader): HID/win32:  vid:046D pid:B01A ver:0003
    09:54:25.085 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:25.085 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:25.085 (loader): remote cmd from 1252: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\"
    09:54:25.085 (loader): remote cmd from 1252: "file:yyy.ino.hex"
    09:54:25.097 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.097 (post_compile 1): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\
    09:54:25.097 (post_compile 1): Sending command: file:yyy.ino.hex
    09:54:25.101 (loader): File "yyy.ino.hex". 14748 bytes, 3% used
    09:54:25.101 (loader): remote cmd from 1252: "status"
    09:54:25.107 (loader): remote cmd from 1252: "auto:on"
    09:54:25.108 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.108 (post_compile 1): Sending command: auto:on
    09:54:25.109 (post_compile 1): Disconnect
    09:54:25.123 (loader): remote connection 1252 closed
    09:54:25.323 (loader): remote connection 1340 opened
    09:54:25.323 (loader): remote cmd from 1340: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    09:54:25.323 (loader): remote cmd from 1340: "status"
    09:54:25.323 (loader): remote cmd from 1340: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\"
    09:54:25.323 (loader): remote cmd from 1340: "file:yyy.ino.hex"
    09:54:25.323 (loader): File "yyy.ino.hex". 14748 bytes, 3% used
    09:54:25.323 (loader): remote cmd from 1340: "status"
    09:54:25.325 (post_compile 2): Begin, version=1.47-beta4, high-res time
    09:54:25.328 (post_compile 2): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    09:54:25.330 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.330 (post_compile 2): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\
    09:54:25.330 (post_compile 2): Sending command: file:yyy.ino.hex
    09:54:25.340 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.340 (post_compile 2): Disconnect
    09:54:25.366 (loader): remote connection 1340 closed
    09:54:25.366 (loader): remote connection 1344 opened
    09:54:25.366 (post_compile 3): Running teensy_reboot: "D:\arduino-1.8.9\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY35" "-port=usb:0/140000/0/7/4" "-portlabel=[no_device] Bootloader" "-portprotocol=Teensy"
    09:54:25.379 (reboot 4): Begin, version=1.47-beta4, high-res time
    09:54:25.379 (reboot 4): location = usb:0/140000/0/7/4
    09:54:25.379 (reboot 4): portlabel = [no_device] Bootloader
    09:54:25.379 (reboot 4): portprotocol = Teensy
    09:54:25.379 (reboot 4): Only location usb:0/140000/0/7/4 will be tried
    09:54:25.379 (reboot 4): LoadLibrary cfgmgr32 ok
    09:54:25.379 (reboot 4): LoadLibrary ntdll ok
    09:54:25.379 (reboot 4): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2277920#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:25.379 (reboot 4): found_usb_device, loc=usb:0/140000/0/7/4    Port_#0004.Hub_#0003
    09:54:25.379 (reboot 4): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0276
    09:54:25.379 (reboot 4): found_usb_device, devinst=00000002
    09:54:25.379 (reboot 4): add: loc=usb:0/140000/0/7/4, class=Ports, vid=16C0, pid=0483, ver=0276, serial=2277920, dev=\\?\usb#vid_16c0&pid_0483#2277920#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:25.379 (reboot 4):   comport_from_devinst_list attempt
    09:54:25.379 (reboot 4):   found Ports in classguid_list at index=0
    09:54:25.380 (reboot 4):   port COM23 found from devnode
    09:54:25.380 (reboot 4): found_usb_device complete
    09:54:25.382 (loader): remote connection 1348 opened
    09:54:25.382 (loader): remote cmd from 1348: "show:arduino_attempt_reboot"
    09:54:25.382 (loader): got request to show arduino rebooting message
    09:54:25.382 (loader): remote cmd from 1348: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_reboot)"
    09:54:25.382 (loader): remote cmd from 1348: "status"
    09:54:25.382 (loader): remote cmd from 1348: "status"
    09:54:25.383 (reboot 4): found Teensy Loader, version 1.47
    09:54:25.383 (reboot 4): Sending command: show:arduino_attempt_reboot
    09:54:25.385 (reboot 4): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_reboot)
    09:54:25.387 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.387 (reboot 4): do_reset (serial) COM23
    09:54:25.396 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.396 (reboot 4): status read, retry 0
    09:54:25.501 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    09:54:25.501 (loader): remote cmd from 1348: "status"
    09:54:25.501 (loader): remote connection 1340 opened
    09:54:25.501 (loader): remote connection 1252 opened
    09:54:25.503 (ports 5): remove: loc=usb:0/140000/0/7/4
    09:54:25.503 (ports 5): usb_remove: usb:0/140000/0/7/4
    09:54:25.503 (ports 5): nothing new, skipping HID & Ports enum
    09:54:25.503 (ports 6): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    09:54:25.504 (ports 6): remove: loc=usb:0/140000/0/7/4
    09:54:25.504 (ports 6): usb_remove: usb:0/140000/0/7/4
    09:54:25.504 (ports 6): nothing new, skipping HID & Ports enum
    09:54:25.505 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.505 (reboot 4): status read, retry 1
    09:54:25.508 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:54:25.508 (ports 5): nothing new, skipping HID & Ports enum
    09:54:25.511 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    09:54:25.512 (ports 5): nothing new, skipping HID & Ports enum
    09:54:25.512 (ports 6): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:54:25.513 (ports 6): nothing new, skipping HID & Ports enum
    09:54:25.514 (ports 6): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    09:54:25.515 (ports 6): nothing new, skipping HID & Ports enum
    09:54:25.623 (loader): remote cmd from 1348: "status"
    09:54:25.626 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.626 (reboot 4): status read, retry 2
    09:54:25.740 (loader): remote cmd from 1348: "status"
    09:54:25.745 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.745 (reboot 4): status read, retry 3
    09:54:25.858 (loader): remote cmd from 1348: "status"
    09:54:25.862 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.862 (reboot 4): status read, retry 4
    09:54:25.978 (loader): remote cmd from 1348: "status"
    09:54:25.981 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:25.981 (reboot 4): status read, retry 5
    09:54:26.097 (loader): remote cmd from 1348: "status"
    09:54:26.100 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:26.100 (reboot 4): status read, retry 6
    09:54:26.217 (loader): remote cmd from 1348: "status"
    09:54:26.220 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:26.220 (reboot 4): status read, retry 7
    09:54:26.336 (loader): remote cmd from 1348: "status"
    09:54:26.338 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:26.338 (reboot 4): status read, retry 8
    09:54:26.438 (loader): remote cmd from 1348: "status"
    09:54:26.444 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:26.444 (reboot 4): status read, retry 9
    09:54:26.462 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    09:54:26.463 (ports 6): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    09:54:26.465 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#000379d0#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:26.465 (ports 5): found_usb_device, loc=usb:0/140000/0/7/4    Port_#0004.Hub_#0003
    09:54:26.465 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0103
    09:54:26.465 (ports 5): found_usb_device, devinst=00000013
    09:54:26.465 (ports 5): add: loc=usb:0/140000/0/7/4, class=HID, vid=16C0, pid=0478, ver=0103, serial=000379d0, dev=\\?\usb#vid_16c0&pid_0478#000379d0#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:26.466 (ports 5): hiddev_from_devinst_list: iface=0
    09:54:26.467 (ports 6): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#000379d0#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:26.467 (ports 6): found_usb_device, loc=usb:0/140000/0/7/4    Port_#0004.Hub_#0003
    09:54:26.467 (ports 6): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0103
    09:54:26.467 (ports 6): found_usb_device, devinst=00000010
    09:54:26.467 (ports 6): add: loc=usb:0/140000/0/7/4, class=HID, vid=16C0, pid=0478, ver=0103, serial=000379d0, dev=\\?\usb#vid_16c0&pid_0478#000379d0#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:26.467 (ports 6): hiddev_from_devinst_list: iface=0
    09:54:26.469 (ports 5): found_usb_device complete
    09:54:26.471 (ports 6): found_usb_device complete
    09:54:26.473 (ports 5): usb_add: usb:0/140000/0/7/4  [no_device] (Teensy 3.5) Bootloader
    09:54:26.475 (ports 6): hid, found devinst=00000011
    09:54:26.475 (ports 6): hid, path=\\?\hid#vid_16c0&pid_0478#6&6dc3933&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    09:54:26.475 (ports 6): hid,  opened handle
    09:54:26.475 (ports 6):  devinst=00000011, location=usb:0/140000/0/7/4
    09:54:26.475 (ports 6):  vid=16C0, pid=0478, ver=0103, usepage=FF9C, use=001F
    09:54:26.475 (ports 6):  devpath=\\?\hid#vid_16c0&pid_0478#6&6dc3933&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    09:54:26.476 (ports 6): usb_add: usb:0/140000/0/7/4  hid#vid_16c0&pid_0478 (Teensy 3.5) Bootloader
    09:54:26.521 (loader): Device came online, code_size = 524288
    09:54:26.521 (loader): Board is: Teensy 3.5 (MK64FX512), version 1.03
    09:54:26.529 (loader): File "yyy.ino.hex". 14748 bytes, 3% used
    09:54:26.532 (loader): set background IMG_ONLINE
    09:54:26.541 (loader): File "yyy.ino.hex". 14748 bytes, 3% used
    09:54:26.544 (loader): elf appears to be for Teensy 3.5 (MK64FX512) (524288 bytes)
    09:54:26.544 (loader): elf binary data matches hex file
    09:54:26.544 (loader): elf file is for Teensy 3.5 (MK64FX512)
    09:54:26.545 (loader): begin operation
    09:54:26.554 (loader): remote cmd from 1348: "status"
    09:54:26.555 (reboot 4): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:26.559 (loader): flash, block=0, bs=1024, auto=1
    09:54:26.561 (loader):  gauge old value = 0
    09:54:26.564 (loader): flash, block=1, bs=1024, auto=1
    09:54:26.566 (loader):  gauge old value = 1
    09:54:26.567 (loader): flash, block=2, bs=1024, auto=1
    09:54:26.569 (loader):  gauge old value = 2
    09:54:26.569 (loader): flash, block=3, bs=1024, auto=1
    09:54:26.712 (loader):  gauge old value = 3
    09:54:26.712 (loader): remote cmd from 1348: "status"
    09:54:26.712 (loader): flash, block=4, bs=1024, auto=1
    09:54:26.712 (loader):  gauge old value = 4
    09:54:26.712 (loader): flash, block=5, bs=1024, auto=1
    09:54:26.716 (reboot 4): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:26.743 (loader):  gauge old value = 5
    09:54:26.743 (loader): flash, block=6, bs=1024, auto=1
    09:54:26.743 (loader):  gauge old value = 6
    09:54:26.743 (loader): flash, block=7, bs=1024, auto=1
    09:54:26.743 (loader):  gauge old value = 7
    09:54:26.743 (loader): flash, block=8, bs=1024, auto=1
    09:54:26.783 (loader):  gauge old value = 8
    09:54:26.783 (loader): remote cmd from 1348: "status"
    09:54:26.783 (loader): flash, block=9, bs=1024, auto=1
    09:54:26.783 (loader):  gauge old value = 9
    09:54:26.783 (loader): flash, block=10, bs=1024, auto=1
    09:54:26.783 (loader):  gauge old value = 10
    09:54:26.783 (loader): flash, block=11, bs=1024, auto=1
    09:54:26.783 (loader):  gauge old value = 11
    09:54:26.783 (loader): flash, block=12, bs=1024, auto=1
    09:54:26.785 (reboot 4): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:26.823 (loader):  gauge old value = 12
    09:54:26.823 (loader): flash, block=13, bs=1024, auto=1
    09:54:26.823 (loader):  gauge old value = 13
    09:54:26.823 (loader): flash, block=14, bs=1024, auto=1
    09:54:26.823 (loader):  gauge old value = 14
    09:54:26.832 (loader): sending reboot
    09:54:26.832 (loader): begin wait_until_offline
    09:54:26.916 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    09:54:26.916 (ports 6): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    09:54:26.918 (ports 6): remove: loc=usb:0/140000/0/7/4
    09:54:26.918 (ports 6): usb_remove: usb:0/140000/0/7/4
    09:54:26.918 (ports 6): nothing new, skipping HID & Ports enum
    09:54:26.918 (ports 5): remove: loc=usb:0/140000/0/7/4
    09:54:26.918 (ports 5): usb_remove: usb:0/140000/0/7/4
    09:54:26.919 (ports 5): nothing new, skipping HID & Ports enum
    09:54:26.972 (loader): offline, waited 2
    09:54:26.972 (loader): end operation, total time = 0.427 seconds
    09:54:26.974 (loader): set background IMG_REBOOT_OK
    09:54:26.974 (loader): redraw timer set, image 14 to show for 1200 ms
    09:54:26.974 (loader): remote cmd from 1348: "status"
    09:54:26.974 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:26.974 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:26.974 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:26.974 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:26.974 (loader): HID/win32:  vid:046D pid:B01A ver:0003
    09:54:26.974 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:26.974 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    09:54:26.978 (reboot 4): Status: 1, 1, 0, 1, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_468530\, yyy.ino.hex
    09:54:26.978 (reboot 4): status read, retry 10
    09:54:26.978 (reboot 4): Success
    09:54:26.978 (reboot 4): Disconnect
    09:54:26.993 (loader): remote connection 1348 closed
    09:54:26.993 (loader): remote connection 1344 closed
    09:54:27.027 (serialmon 7): Begin, version=1.47-beta4, high-res time
    09:54:27.027 (serialmon 7): listening for location: usb:0/140000/0/7/4
    09:54:27.027 (serialmon 7): LoadLibrary cfgmgr32 ok
    09:54:27.027 (serialmon 7): LoadLibrary ntdll ok
    09:54:27.030 (serialmon 7): callback 0024
    09:54:27.030 (serialmon 7): callback 0081
    09:54:27.031 (serialmon 7): callback 0083
    09:54:27.032 (serialmon 7): hWnd = 16320880
    09:54:27.032 (serialmon 7): loop stdin, ready=2097151
    09:54:27.032 (loader): remote connection 1348 opened
    09:54:27.034 (serialmon 7): nothing new, skipping HID & Ports enum
    09:54:27.167 (ports 6): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    09:54:27.167 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    09:54:27.168 (ports 6): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2277920#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:27.168 (ports 6): found_usb_device, loc=usb:0/140000/0/7/4    Port_#0004.Hub_#0003
    09:54:27.168 (ports 6): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0276
    09:54:27.168 (ports 6): found_usb_device, devinst=00000003
    09:54:27.168 (ports 6): add: loc=usb:0/140000/0/7/4, class=Ports, vid=16C0, pid=0483, ver=0276, serial=2277920, dev=\\?\usb#vid_16c0&pid_0483#2277920#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:27.168 (serialmon 7): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    09:54:27.168 (ports 6):   comport_from_devinst_list attempt
    09:54:27.168 (ports 6):   found Ports in classguid_list at index=0
    09:54:27.168 (ports 6):   port COM23 found from devnode
    09:54:27.168 (ports 6): found_usb_device complete
    09:54:27.168 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2277920#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:27.168 (ports 5): found_usb_device, loc=usb:0/140000/0/7/4    Port_#0004.Hub_#0003
    09:54:27.168 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0276
    09:54:27.168 (ports 5): found_usb_device, devinst=00000002
    09:54:27.168 (ports 5): add: loc=usb:0/140000/0/7/4, class=Ports, vid=16C0, pid=0483, ver=0276, serial=2277920, dev=\\?\usb#vid_16c0&pid_0483#2277920#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:27.168 (ports 5):   comport_from_devinst_list attempt
    09:54:27.168 (ports 5):   found Ports in classguid_list at index=0
    09:54:27.168 (ports 5):   port COM23 found from devnode
    09:54:27.168 (ports 5): found_usb_device complete
    09:54:27.168 (serialmon 7): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2277920#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:27.168 (serialmon 7): found_usb_device, loc=usb:0/140000/0/7/4    Port_#0004.Hub_#0003
    09:54:27.168 (serialmon 7): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0276
    09:54:27.168 (serialmon 7): found_usb_device, devinst=00000003
    09:54:27.169 (serialmon 7): add: loc=usb:0/140000/0/7/4, class=Ports, vid=16C0, pid=0483, ver=0276, serial=2277920, dev=\\?\usb#vid_16c0&pid_0483#2277920#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    09:54:27.169 (serialmon 7):   comport_from_devinst_list attempt
    09:54:27.169 (serialmon 7):   found Ports in classguid_list at index=0
    09:54:27.169 (serialmon 7):   port COM23 found from devnode
    09:54:27.169 (serialmon 7): found_usb_device complete
    09:54:27.169 (ports 6): usb_add: usb:0/140000/0/7/4  COM23 (Teensy 3.5) Serial
    09:54:27.169 (ports 5): usb_add: usb:0/140000/0/7/4  COM23 (Teensy 3.5) Serial
    09:54:27.170 (serialmon 7): usb_add: usb:0/140000/0/7/4
    09:54:27.170 (serialmon 7): translate "COM23" -> "\\.\COM23"
    09:54:27.224 (serialmon 7): GetDefaultCommConfig success
    09:54:27.265 (serialmon 7): SetDefaultCommConfig success
    09:54:27.265 (serialmon 7): Opened \\.\COM23 Serial
    09:54:27.267 (ports 5): callback 001A
    09:54:27.267 (ports 6): callback 001A
    09:54:27.270 (serialmon 7): callback 001A
    09:54:28.192 (loader): redraw, image 9
    09:54:29.414 (serialmon 7): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:54:29.414 (serialmon 7): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    09:54:29.414 (serialmon 7): nothing new, skipping HID & Ports enum
    09:54:29.416 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:54:29.416 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    09:54:29.416 (ports 5): nothing new, skipping HID & Ports enum
    09:54:29.417 (ports 6): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:54:29.417 (ports 6): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    09:54:29.418 (ports 6): nothing new, skipping HID & Ports enum
    09:55:02.016 (serialmon 7): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:55:02.017 (serialmon 7): nothing new, skipping HID & Ports enum
    09:55:06.518 (serialmon 7): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:55:06.519 (serialmon 7): nothing new, skipping HID & Ports enum
    09:55:15.593 (serialmon 7): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:55:15.594 (serialmon 7): nothing new, skipping HID & Ports enum
    09:55:19.593 (serialmon 7): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    09:55:19.593 (serialmon 7): nothing new, skipping HID & Ports enum
    09:55:23.213 (loader): Verbose Info event

  15. #15
    Paul, Thanks so much for helping!

    It was the COM port. I needed to pick COM4 and now it is working.

    I guess my board is not bad.

  16. #16
    Thank you also to KurtE and defragster. I am getting everything to work now that I've switched to COM4.

    I've also got my piezo sensor work. So I am now going to add an audio shield and begin to make my steel drum instrument.

    You guys were so helpful. I am having some significant trouble finding sound files for a steel drum however. I've searched the web for two days and can only find a note here or a note there.

    I need two and a half octaves (from middle C). Which is 30 separate notes (or pitches).

    I am not sure where to get them. I saw the music shield made by Sparkfun, but their shield does not have steel drum. And when I'm talking about steel drum, I mean the caribbean kind made from a metal oil drum (container).

    Any ideas on where to find wav files for a steel drum? I've looked at more than 100 sites and only found a note here or a note there. Maybe I need to sample the actual steel drum I have here in my house?

  17. #17
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,060
    I found something: splice.com/sounds/sample-magic/steel-drums

    Explore the distinctive indigenous sounds of the Caribbean with SM Studio’s Steel Drums. Packed with sunshine sounds and calypso rhythms, this expertly played and recorded collection of loops, one-shots and fully-mapped kits will add unique grooves and acoustic timbres to your programmed beats instantly.
    233 One Shots
    Get $7 off your first month
    Get7Off
    Use code at checkout
    Download from
    3,000+ packs
    All sounds are 100%
    Royalty Free
    Starting at $7.99
    cancel anytime
    As good as it sounds

    100% royalty free
    Use sounds for anything. They’re cleared for commercial use.


    No commitments
    Cancel your subscription at any time, no questions asked.

    Yours forever
    Keep everything you download.
    Even if you cancel.

    Individual samples
    Preview & download individual samples, not just full packs.

Posting Permissions

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