Hallo,
I have a remote Linux machine with multiple teensy 4.0 attached via USB (no physical access).
One of them needs to get the code updated, but when I try to upload, Teensy Loader automatically selects the other one (of course, it's always the other one ).
I used platformio for this, but there seems to be a bug with specifying the port for Teensy Loader.
The command from me was (`pio run -e teensy40 --upload-port /dev/ttyACM1 -t upload`). It seems that the defined upload port is ignored...
This just as background information, I naturally do not expect to get platformio support in this forum.
My question is:
Can I use Teensy Loader CLI directly to upload the compiled hex file on a specific port?
There does not seem to be a parameter for it in my teensy_loader_cli
I am very sorry if this is covered by a readme, forum post or tutorial. Somehow I was not able to find it.
I have a remote Linux machine with multiple teensy 4.0 attached via USB (no physical access).
One of them needs to get the code updated, but when I try to upload, Teensy Loader automatically selects the other one (of course, it's always the other one ).
I used platformio for this, but there seems to be a bug with specifying the port for Teensy Loader.
The command from me was (`pio run -e teensy40 --upload-port /dev/ttyACM1 -t upload`). It seems that the defined upload port is ignored...
This just as background information, I naturally do not expect to get platformio support in this forum.
My question is:
Can I use Teensy Loader CLI directly to upload the compiled hex file on a specific port?
There does not seem to be a parameter for it in my teensy_loader_cli
HTML:
$ teensy_loader_cli --help
Usage: teensy_loader_cli --mcu=<MCU> [-w] [-h] [-n] [-b] [-v] <file.hex>
-w : Wait for device to appear
-r : Use hard reboot if device not online
-s : Use soft reboot if device not online (Teensy3.x only)
-n : No reboot after programming
-b : Boot only, do not program
-v : Verbose output
Use `teensy_loader_cli --list-mcus` to list supported MCUs.
For more information, please visit:
http://www.pjrc.com/teensy/loader_cli.html
I am very sorry if this is covered by a readme, forum post or tutorial. Somehow I was not able to find it.