Uploading hex files via teensy_loader_cli without pressing the reset button

Status
Not open for further replies.
I want to upload hex files to a Teensy 3.6 with the command line tool teensy_loader_cli. Everytime I upload something I have to press the reset button on the board.
Is there a way to upload hex files without pressing the reset button?
 
I want to upload hex files to a Teensy 3.6 with the command line tool teensy_loader_cli. Everytime I upload something I have to press the reset button on the board.
Is there a way to upload hex files without pressing the reset button?

Download without pressing the program button ('reset' button does not exist) requires the program to be compiled with USB (e.g. USB-Serial).
I frequently use the teensy_loader_cli and under normal circumstances I hardly need to press the program button.
However, sometimes the PC is TOO SLOW (busy with other USB devices, e.g. disks) and teensy_loader_cli has difficulties to establish connection.
 
To upload hex-files I use a Pi to which a temperature senor is connected via USB. Could this be part of the problem? I nearly always have to press the button to upload.
 
Run teensy_reboot first. You can find a copy in Arduino's hardware/tools folder.

There is *never* a perfect guarantee of a reboot into bootloader mode without the button press. If your code disables interrupts or stays in a low power mode or shuts off the USB hardware, teensy_reboot will not be able to communicate with your code to request the reboot.

Every Teensy is made with a pushbutton dedicated only to entering programming mode, because these scenarios are possible. The only way to recover if your program prevents USB communication is a physical button press... or pulling the Program pin low, which is all the button really does.
 
Run teensy_reboot first. You can find a copy in Arduino's hardware/tools folder.

There is *never* a perfect guarantee of a reboot into bootloader mode without the button press. If your code disables interrupts or stays in a low power mode or shuts off the USB hardware, teensy_reboot will not be able to communicate with your code to request the reboot.

Every Teensy is made with a pushbutton dedicated only to entering programming mode, because these scenarios are possible. The only way to recover if your program prevents USB communication is a physical button press... or pulling the Program pin low, which is all the button really does.

As I mentioned I am uploading the sketches from a Pi. It shouldn't be a problem to pull the Program pin low via the GPIO pins of the Pi or am I mistaken?
 
Run teensy_reboot first. You can find a copy in Arduino's hardware/tools folder.

There is *never* a perfect guarantee of a reboot into bootloader mode without the button press. If your code disables interrupts or stays in a low power mode or shuts off the USB hardware, teensy_reboot will not be able to communicate with your code to request the reboot.

Every Teensy is made with a pushbutton dedicated only to entering programming mode, because these scenarios are possible. The only way to recover if your program prevents USB communication is a physical button press... or pulling the Program pin low, which is all the button really does.

What is the best way to get the "teensy_rebbot" programm on my Pi. I am using Rasbian jessie Lite. I already tried a few things and nothinig seemed to work.
 
Status
Not open for further replies.
Back
Top