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

Thread: Loading .hex file into Teensy 3.6

  1. #1
    Junior Member
    Join Date
    Jun 2018

    Loading .hex file into Teensy 3.6

    I've got a device that I have a customer using. If I am in MSVS Community with vMicro installed, I can do a build and upload (without pressing the manual button). vMicro is able to use the Teensy loader to load an image. However, with just the Teensy Loader I can't figure a way to do this without pushing the button. Obviously, I would prefer to not send the source code to the customer.

    Is there an equivalent executable which would do the same thing as vMicro or is there another app that would be able to accomplish the same thing?

    Thanks for any help

  2. #2
    Join Date
    Nov 2015
    Cold hollow VT
    YES, you can load a *.HEX file from windows. I bought a DIY thermocam from GroupGets and there were instructions on how to do it. Sorry, but is has been awhile since I did this, so can't give specifics.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Yes, all you need is Teensy Loader. Get it here:

    Run it, and click File > Open HEX File. Like this:

    Name:  sc.png
Views: 112
Size:  51.3 KB

    Then press the button on your Teensy. The Teensy Loader window will change, and the toolbar button to program the board will activate. Click it and your code will get written to the Teensy. Easy stuff!

  4. #4
    Junior Member
    Join Date
    Jun 2018
    I have Teensy Loader... and can definitely load a .hex that way. I did a whole bunch of devices like that.

    In MSVisualStudio using the vMicro plugin I can connect the USB... then do Upload Last Build. The plugin then puts the Teensy in loader mode and uploads the compiled project. So you don't have to press the button (unless you really screw something up - like loop to fast or something like that). Works most of the time, or you can recover by rebooting everything (PC, Teensy, Hubs)

    Since vMicro knows what the USB command is to put the Teensy into Loader Mode, I was wondering if someone had an app that basically just issued that command.

    -As I was thinking about this... if there isn't a command on the Teensy side... is it possible vMicro has added something to the serial handler?

Posting Permissions

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