luni
Well-known member
I just successfully programmed a T3.2 using the USB host from a T3.6. with a hex file loaded from the SD card.
To do this I wrote the following two USB drivers (attached, but still quite sketchy! Maybe somebody has an answer to my question in this thread: https://forum.pjrc.com/threads/47550-USB-Host-Status-of-control-transfers?p=158821&viewfull=1#post158821 )
Here a picture of the "setup" and a screenshot of the debug output.

I'm considering making a small programmer with integrated display and LiPo out of this. Such a thing might come in handy if you need to program a teensy mounted in in some difficult to reach place. It might also be useful in a production environment (no time consuming loading of the windows drivers
). And it gives me a reason to finally do something with this display lying around for some time now 
Here a few sketches how such a thing could look like. 2.4" Nextion touch display, USB A connector for programming at the front and the T3.6 -USB micro for uploading hex files to the SD card and charging the 1300mAh LiPo.

In case anybody is interested I can post the progress here.
To do this I wrote the following two USB drivers (attached, but still quite sketchy! Maybe somebody has an answer to my question in this thread: https://forum.pjrc.com/threads/47550-USB-Host-Status-of-control-transfers?p=158821&viewfull=1#post158821 )
- The "TeensyRebootDriver" is used to start the bootloader without pressing the button. (This should work with any board compiled in USB_Serial mode or one in the various HID modes)
- The TeensyHalfKayDriver connects to boards with an already running bootloader and is used to program the firmware.
Here a picture of the "setup" and a screenshot of the debug output.


I'm considering making a small programmer with integrated display and LiPo out of this. Such a thing might come in handy if you need to program a teensy mounted in in some difficult to reach place. It might also be useful in a production environment (no time consuming loading of the windows drivers
Here a few sketches how such a thing could look like. 2.4" Nextion touch display, USB A connector for programming at the front and the T3.6 -USB micro for uploading hex files to the SD card and charging the 1300mAh LiPo.



In case anybody is interested I can post the progress here.
Attachments
Last edited: