-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to upload to Teensy2 with two Teensy boards. #1574
Comments
These commands Sloeber generates seem strange |
Yes private hardware path was used(removed it). Launching: E:\Arduino_compile\Sloeber\arduinoPlugin\packages\teensy\tools\teensy-tools\1.58.0/teensy_post_compile -file=433mhz_2_teensy2_0 -path=C:\Users\Radu\Documents\sloeber-workspace\433mhz_2_teensy2_0\Release -tools=E:\Arduino_compile\Sloeber\arduinoPlugin\packages\teensy\tools\teensy-tools\1.58.0 -board=TEENSY2 -reboot -port=COM10 -portlabel= -portprotocol= |
Seems upload has changed a bit and Sloeber doesn't execute the correct command. |
Well in arduino ide I can select the teensy port: -port=usb:0/140000/0/C and it uploads without problem: I now tried in arduino ide using to upload COM10 instead of teensy port, and it worked, no issue if both teensy boards are plugged in:
|
I have two teensy boards connected to the pc, T4.0(as keyboard) and T2.0 . [ Sloeber 4.4.1.202207231052 io.sloeber.product null ]
When uploading with arduino ide it works to upload to T2, but when uploading with sloeber it fails to upload and I have to replug T4 for it to work again.
Arduino ide 1.8.19:
0\hardware\teensy/../tools/teensy_post_compile -file=433mhz_2.ino -path=C:\Users\Radu\AppData\Local\Temp\arduino_build_905193 -tools=E:\Arduino_compile\arduinoide4.0\hardware\teensy/../tools -board=TEENSY2 -reboot -port=usb:0/140000/0/C -portlabel=hid#vid_16c0&pid_0478 Bootloader -portprotocol=Teensy
Sloeber:
Launching: E:\Arduino_compile\arduinoide4.0\hardware\teensy/../tools/teensy_post_compile -file=433mhz_2_teensy2_0 -path=C:\Users\Radu\Documents\sloeber-workspace\433mhz_2_teensy2_0\Release -tools=E:\Arduino_compile\arduinoide4.0\hardware\teensy/../tools -board=TEENSY2 -reboot -port=COM10 -portlabel= -portprotocol=
Output:
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.
The execution of command "teensy/../tools/teensy_post_compile" is done.
Sloeber, wrote in the port field "usb:0/140000/0/C":
Launching: E:\Arduino_compile\arduinoide4.0\hardware\teensy/../tools/teensy_post_compile -file=433mhz_2_teensy2_0 -path=C:\Users\Radu\Documents\sloeber-workspace\433mhz_2_teensy2_0\Release -tools=E:\Arduino_compile\arduinoide4.0\hardware\teensy/../tools -board=TEENSY2 -reboot -port=usb:0/140000/0/C -portlabel= -portprotocol=
Output:
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.
The execution of command "teensy/../tools/teensy_post_compile" is done.
Sloeber, if only teens2.0 is connected uploading works:
Launching: E:\Arduino_compile\arduinoide4.0\hardware\teensy/../tools/teensy_post_compile -file=433mhz_2_teensy2_0 -path=C:\Users\Radu\Documents\sloeber-workspace\433mhz_2_teensy2_0\Release -tools=E:\Arduino_compile\arduinoide4.0\hardware\teensy/../tools -board=TEENSY2 -reboot -port=COM10 -portlabel= -portprotocol=
Output:
Teensy should be selected from "teensy ports" rather
than "Serial ports" in Arduino's Tools > Port menuThe execution of command "teensy/../tools/teensy_post_compile" is done.
Side note, add configurable feature:
When selecting in the 'opened files tab area' file.ino from project a, switch to project a. When selecting file.ino from project b, switch to project be.
So I don't have to do extra clicks to switch projects for upload when working with two file.ino opened from two projects, when doing increment changes.
And or right click on the project and upload.
The text was updated successfully, but these errors were encountered: