Multiple Teenys plugged in while uploading

PXIChris

New member
Hello all. I'm working on a project where I was playing around with teensy_post_compile.exe (1.58.0) from cmd. And I noticed that it was not uploading to a specific board when I had two plugged in. Unfortunately for the project I'm working on, I am unable to simply unplug one and upload the hex file. Oddly enough, I tried the same thing in Arudnio IDE 2.3.1, I had the same behavior. I found that the command Arduino runs doesn't include the port.

Code:
"C:\\Users\\[myUser]\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/teensy_post_compile" -file=Blink.ino "-path=C:\\Users\\[myUser]\\AppData\\Local\\Temp\\arduino\\sketches\\081319A2CEB3D24D283D1A078459B867" "-tools=C:\\Users\\[myUser]\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/" -board=TEENSY40

Does anyone know if this is a bug in the current teensy_post_compile.exe or how one might specify the port in cmd? Thank you!
 
That teensy_post_compile command looks like the Verify from Arduino IDE.

Try with the latest beta, and in Arduino IDE use File > Preference to turn on verbose output during upload. Then you can see the full command with "-port" option. Some long-standing issues on Windows were fixed recently, so use the beta rather than old 1.58 version.
 
Back
Top