It may be self induced but I'm trying to use Teensy.exe on a windows 7 machine to load a .hex file to a Teensy 3.2. This works fine when using the Arduino IDE but I need to be able to send update so users can update the code themselves. When using the IDE I tell it to compile and upload, it does so without any intervention from me (most of the time). When I start the teensy loader from a command line it does nothing when I open the hex file.
The verbose help is...
18:00:50.036: Teensy Loader 1.37, begin program
18:00:50.098: File "eBagpipeV4.ino.TEENSY31.hex". 95112 bytes, 36% used
18:00:50.114: Listening for remote control on port 3149
18:00:50.114: initialized, showing main window
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:051D pid:0002 ver:0101
18:00:50.363: HID/win32: vid:056A pid:0315 ver:0100
18:00:50.363: HID/win32: vid:056A pid:0315 ver:0100
18:00:50.363: HID/win32: vid:056A pid:0315 ver:0100
18:00:50.363: HID/win32: vid:056A pid:0315 ver:0100
18:00:53.780: Auto Button event
18:00:53.780: Auto mode: enabled
18:00:58.226: Verbose Info event
18:01:01.346: Open File event
18:01:03.389: File "test.ino.TEENSY31.hex". 95112 bytes, 36% used
What I need for it to do is to download the new code and reboot without need to press the button on the 3.2 board.
If I get the loader into manual mode, which seems to be random. Sometimes I can get it to un-grey the program and reboot selections. If in that state I can click each one in turn and get the new code loaded.
How can I get the teensy loader to run in automatic mode when it is started manually?
The verbose help is...
18:00:50.036: Teensy Loader 1.37, begin program
18:00:50.098: File "eBagpipeV4.ino.TEENSY31.hex". 95112 bytes, 36% used
18:00:50.114: Listening for remote control on port 3149
18:00:50.114: initialized, showing main window
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:046D pid:C52B ver:1203
18:00:50.363: HID/win32: vid:051D pid:0002 ver:0101
18:00:50.363: HID/win32: vid:056A pid:0315 ver:0100
18:00:50.363: HID/win32: vid:056A pid:0315 ver:0100
18:00:50.363: HID/win32: vid:056A pid:0315 ver:0100
18:00:50.363: HID/win32: vid:056A pid:0315 ver:0100
18:00:53.780: Auto Button event
18:00:53.780: Auto mode: enabled
18:00:58.226: Verbose Info event
18:01:01.346: Open File event
18:01:03.389: File "test.ino.TEENSY31.hex". 95112 bytes, 36% used
What I need for it to do is to download the new code and reboot without need to press the button on the 3.2 board.
If I get the loader into manual mode, which seems to be random. Sometimes I can get it to un-grey the program and reboot selections. If in that state I can click each one in turn and get the new code loaded.
How can I get the teensy loader to run in automatic mode when it is started manually?