Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Field Updates for Teensy 3.X

  1. #1
    Senior Member Davidelvig's Avatar
    Join Date
    Aug 2015
    Location
    Wisconsin
    Posts
    254

    Field Updates for Teensy 3.X

    I've seen lots of posts on possible ways to update a Teensy in the field, notably this one and some on OTA with BLE. They look like installed apps on a linux, Windows or Mac computer.

    I think my needs are simple:

    I have a product, soon in the field, that will have USB cable access to a web-connected PC or Mac in the customers hands. The customer is non-technical.

    My products will have a PJRC Teensy in them for a long while. 3.2 now. I may see if I can use the LC.

    I want the user to plug my product into USB (via the standard Teensy micro-USB socket), and launch my website in a browser, and choose "update the product" or something link that.

    I'd like it to be as if I have their Teensy plugged into my Arduino environment and press "Upload".
    I could arrange to have them push the program button on the Teensy (paper clip through the enclosure to the button?)

    Does this solution exist here in the Forum? (I'm not yet finding it)

    Thanks!

  2. #2
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    3,211
    If you provide the hex file on your website, you can make a batch file with the teensy command line uploader, that way a user just has to double click the batch file and it will upload

  3. #3
    Senior Member Davidelvig's Avatar
    Join Date
    Aug 2015
    Location
    Wisconsin
    Posts
    254
    Right. With this approach, I'd need to:
    - have an installed app on Windows and/or Mac build from here - and installed sometime after the customer purchases my product (or a copied app and a batch file)
    - have the user copy a HEX file from my website to a particular location on the PC
    - Connect the product via USB, then click on an icon for the installed app above and run it

    I suppose I could eliminate the HEX file copy by having the installed app get it from the web.

    Is this the easiest way?
    Is there any way to do updates of a Teensy in the field that does not involve an native app on Mac and Windows?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •