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

Thread: Program 9 teensy 3.1 in parallel

  1. #1
    Senior Member
    Join Date
    Jan 2014

    Program 9 teensy 3.1 in parallel

    Hi all,

    I have seen some talk of programming multiple teensy 3.1s. I have not found a solution.

    As developing a community of Teensy 3.1s, as I develop the code I want to send the same program to 9 teensy 3.1's without plugging and unplugging.

    The most brute force method is to have a usb switch and repetitively clicking upload on TeensyDuino while changing switch each time.

    Does anyone have a simpler solution?

    Greatly appreciated.


  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    If you've got Tools > USB Type set to Serial, the request to reboot is a baud rate setting of 134.

    You could use Verify in Arduino, so the Teensy Loader is updated with the latest code, or just open the .HEX file manually, if you'd like to do this without Arduino running. Then you'd need to create a small program than finds and opens the 9 serial ports (COM ports if Windows, device names on Mac or Linux) and sets each one to 134 baud. Perhaps allow a 3 to 5 seconds between each baud rate change, so that Teensy can fully reprogram and the Teensy Loader will be back to its idle state, where it'll recognize the next Teensy after you send it the 134 baud setting.

    In the non-serial modes, the reboot request involves a HID feature report, because there's no COM port or serial device.

  3. #3
    Senior Member
    Join Date
    Dec 2013
    Brasilia, Brazil
    Also, a user called Koromix developed a multi-Teensy-manager. You can find it here.

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    TYQT has info here on the Forum :

    If they are seen as USB devices they will show - then a verify preps the code and you can push upload from the UI on each device.

  5. #5
    Senior Member
    Join Date
    Jan 2014

    I am not sure how to handle programming all at the same time.
    Paul's explanation was a bit over my head.
    I did have success with TyQt. It identifies all teensy on usb and allows me to easily upload one at a time.

Posting Permissions

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