Hello, I am working on a project that requires me to upload new code onto the teensy without using the push-button.
I know there are some IDE addons (visual micro for visual studio) that can automatically upload the code to the teensy by configuring the
Teensy Loader to function in automatic mode and send a programming request over USB port.
I am not sure how to duplicate this functionality.
I investigated the log output of the teensy loader when visual micro programs the chip and here is what I see.
Any help would be greatly appreciated. I am not sure if someone else has asked this before, but I tried to look it up and I couldnt find much useful information.
My entire goal is to duplicate the visual micro upload functionality without using visual micro.
I hope I am being clear.
Thank you
I know there are some IDE addons (visual micro for visual studio) that can automatically upload the code to the teensy by configuring the
Teensy Loader to function in automatic mode and send a programming request over USB port.
I am not sure how to duplicate this functionality.
I investigated the log output of the teensy loader when visual micro programs the chip and here is what I see.
Code:
11:30:13.572: remote connection opened
11:30:13.572: remote cmd: "comment: Teensyduino 1.37 - WINDOWS (teensy_post_compile)"
11:30:13.573: remote cmd: "status"
11:30:13.573: status data sent
11:30:13.574: remote cmd: "dir:C:\Users\Mark\AppData\Local\Temp\VMBuilds\FUM\teensy36\Debug\"
11:30:13.575: remote cmd: "file:FUM.ino.hex"
11:30:13.585: File "FUM.ino.hex". 63860 bytes, 6% used
11:30:13.591: remote cmd: "status"
11:30:13.591: status data sent
11:30:13.602: remote connection closed
11:31:11.436: remote connection opened
11:31:11.439: remote cmd: "comment: Teensyduino 1.37 - WINDOWS (teensy_reboot)"
11:31:11.440: remote cmd: "status"
11:31:11.442: status data sent
11:31:11.449: remote cmd: "status"
11:31:11.450: status data sent
11:31:11.552: remote cmd: "status"
11:31:11.554: status data sent
11:31:11.655: remote cmd: "status"
11:31:11.656: status data sent
11:31:11.757: remote cmd: "status"
11:31:11.758: status data sent
11:31:11.859: remote cmd: "status"
11:31:11.860: status data sent
//Data transfer happens after this point
Any help would be greatly appreciated. I am not sure if someone else has asked this before, but I tried to look it up and I couldnt find much useful information.
My entire goal is to duplicate the visual micro upload functionality without using visual micro.
I hope I am being clear.
Thank you