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

Thread: Teensy USB drivers and Teensyduino

  1. #1

    Teensy USB drivers and Teensyduino

    Hey guys I have to get some Teensy 3.2 load with a firmware update in the filed.
    I have a tech on site but he is really not an embedded guy.
    So the question is can I install Teensydrino with out Arduino?
    Because all he really needs is the Teensy loader and the USB drivers.

    So the next question
    How to get Teensyloader to load the firmware at boot.
    So the device has the USB (D+ and D-) brought out the front panel.
    But when I set my computer up just using the Loader and plug the device in it will boot but the Teensy will not load.
    So is there a way to set the Teensyloader to look for the Teensy?

    Thanks
    GeckospotNixie

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,566
    This may be missing a couple of steps. If the computer needs drivers for HID interface - and any other changes based on OS - like the RULES for Linux.

    But if TeensyLoader is running and the button is pushed and connected - it will see the Teensy - assuming the needed drivers see the HID device.

    Not sure what OS - etc.

    But loading TeensyLoader and doing a File Open on the HEX you have will then allow TeensyLoader to program the Teensy with that code.

  3. #3
    Thank you for the reply defragster.
    The OS is windows 10.
    Yes I totally understand about the button.
    But I was hopping to fine away for the loader just to look for the Teensy.
    That is because the device will need to be disassembled if the only way is to push the button.

    When I compile a program I'm not required to push the button 90 % of the time.

    GeckospotNixie

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,566
    So the sketch is running USB. I'd use TyCommander stand alone exe and when powered it will see the Teensy and can upload to it with simple GUI actions.

    Probably doable with PJRC tools - but never had to worry with that once I found TyComm. Especially on a machine not running IDE to use would have to run from command line to specify the board.
    Last edited by defragster; 02-09-2020 at 05:31 AM. Reason: added thread link

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,282
    Quote Originally Posted by GeckospotNixie View Post
    But I was hopping to fine away for the loader just to look for the Teensy.
    Look for the "teensy_reboot" command line program in {Arduino}/hardware/tools. On Windows, the default path is C:/Program File (x86)/Arduino/hardware/tools.

    To use it without Arduino, first make sure Teensy Loader is running and its small window is visible. Then run "teensy_reboot" from the command line. If it works, you'll see Teensy appears in the Teensy Loader window. Then you can use Teensy Loader to open your HEX file and program it onto your Teensy.

    If it doesn't work (that other than 90% of the time) then your only option is to physically press the button. But if the code you previously wrote to Teensy is good, generally it should work.

    You can download the stand-alone Teensy Loader without Arduino from this page.

    https://www.pjrc.com/teensy/loader.html

  6. #6
    Thank you defragster. and Paul!
    I'm going to give both options a go.

    So thinking about this I should not need any USB drivers seeing as the boot loader is HID correct?

Posting Permissions

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