Simplified way to program .hex file in Teensy without Teensyduino

Status
Not open for further replies.
Hi,

FIRST QUESTION:
I need a very easy way for the users of my small projects to reprogram their Teensy LC or 3.2 with my latest updated compiled code in .hex (.bin). These users are not technicians, not programmers, but just general users.
The point is that they should be able to install Teensyduino or so, but this is not the goal, because they don't need all that Arduino stuff like librairies around.
So a very small simplified program for Windows and Mac should be perferable. Just load the .hex file and program the teensy, with automatic reboot, so that they even don't have to push the reset button.
Just maybe 3 buttons:
- Open HEX File
- Program
- Reboot
Can somebody write that for me for Windows PC and Mac PC?
Or even better:
The ideal world should be the world like the ARM embedded Drag-and-drop programming, with the Teensy board represented as a USB drive.

SECOND QUESTION
On some of my projects, I combine a Teensy LC or 3.2 with a Wifi module ESP8266 (ESP-01), that I connect to HWserial port. The question is now, I can for example load a new program for the Teensy through wifi from a server and save it first of all in the memory of the ESP8266. Is it possible then to reprogram the Teensy through the serial port that is connected to that Wifi module?

If somebody can come with a working finished customized solution for one or both of 2 questions, I want to pay for it, if we can agree, but then, it has to work for 100%. (for Windows and Mac users):cool:

Kind Regards,

Jan
 
First question leads to
https://www.pjrc.com/teensy/loader_cli.html and some of the off shoots of that. This does mean you have to write a custom program that users have to install, unlike the nice option of having a USB flash drive the hex file goes into. edit - looks like uTasker does now offer a USB drive emulation option, no idea how well it works though, see link below.

Second question is a bit of a rabbit hole since there is no native way to get serial data to load hex files. Several people have crafted their own code (see other threads on OTA updates) The closest to something one would use commercially is
http://www.utasker.com/kinetis/TEENSY_3.1.html
Discloser - have never used it, simply seen it mentioned in other discussions about OTA updates, other forum dwellers may have more use cases.
 
Last edited:
So a very small simplified program for Windows and Mac should be perferable. Just load the .hex file and program the teensy, with automatic reboot, so that they even don't have to push the reset button.
Just maybe 3 buttons:
- Open HEX File
- Program
- Reboot
Can somebody write that for me for Windows PC and Mac PC?

That's exactly what the stand-alone Teensy Loader does. You do have to press the button on Teensy though, to get it into programming mode.

https://www.pjrc.com/teensy/loader_win10.html

Well, Teensy Loader has 4 buttons, so ignore the auto mode button.
 
Status
Not open for further replies.
Back
Top