PaulStoffregen / teensy_loader_cli

Command line Teensy Loader
http://www.pjrc.com/teensy/loader_cli.html
332 stars 152 forks source link

Support for Teensy3 soft reboot #2

Closed johnboiles closed 9 years ago

johnboiles commented 9 years ago

Uses the line coding reset message supported by the Teensy3 core to reboot the Teensy prior to programming.

dottools commented 9 years ago

Just tried this out and it works reliably to automate firmware updating a Teensy 3.1 and I'm using it on a Intel Edison (arduino breakout) board. Thanks for saving me the time of hardwiring a GPIO pin to reset the teensy.

Note install libusb-0.1-dev package in order to build this program successfully on edison yocto distribution.

PaulStoffregen commented 9 years ago

This only works for PID = 0x0483. The others aren't supported, but there's no indication of this for people using those other USB types.

johnboiles commented 9 years ago

Paul, forgive my unfamiliarity with USB and Teensy internals. Does PID 0x0483 cover all Teensy3 boards or is there another PID for Teensy3 boards? Do you mostly have issue with the documentation / help or is there something else you'd like in the functionality?

On Tue, Jan 27, 2015 at 2:45 AM, Paul Stoffregen notifications@github.com wrote:

This only works for PID = 0x0483. The others aren't supported, but there's no indication of this for people using those other USB types.

— Reply to this email directly or view it on GitHub https://github.com/PaulStoffregen/teensy_loader_cli/pull/2#issuecomment-71625230 .

johnboiles commented 9 years ago

Thanks @PaulStoffregen!