Closed 8JupiterMoll8 closed 2 years ago
Thanks for the report.
This is a regression I introduced recently in version 0.9.6. It is fixed in release 0.9.7: https://github.com/Koromix/tytools/releases/tag/v0.9.7
If not, feel free to comment and I will reopen the bug ;)
Hello, I can confirm TyCommander works... upload,serial, reset etc...
but TyUploader (on windows at least) seems to upload correctly, but the program doesn't start running, even if I push reset or power cycle the Teensy.
However if i start Tycommander or Arduino IDE after using TyUploader, the teensy immediately starts running the prog again...
Full log from TyUploader
`Listing USB host controllers and root hubs Found root USB hub 'USB\ROOT_HUB30\4&18C109A3&0&0' with ID 0 Examining device node 'ACPI\PNP0501\0' Unknown device type for 'ACPI\PNP0501\0' Examining device node 'USB\VID_16C0&PID_0483&MI_00\6&1E79C0BD&0&0000' Found port number of 'USB\VID_16C0&PID_0483\11058150': 7 Found controller ID for 'USB\ROOT_HUB30\4&18C109A3&0&0': 1 Add serial device 'USB\VID_16C0&PID_0483\11058150' on iface 0
By any chance, did you put something like while (!Serial);
in the setup function, or something similar that could cause the Teensy to wait until a serial monitor (such as the one in TyCommander) is open?
Yes that was exactly it! Many thanks........ i feel really silly now....
Great app by the way...
Richard
No problem, you're welcome :) And thanks!
Im trying to upload via tycmd in platformio my .hex to teensy 4.1. This works ok. But the build_flags = -D USB_MIDI_SERIAL is not set and i got a failure. So that teeny can't behave as Midi - Device. Any ideas to solve this problem? Thx.
Windows 10 TyTools 0.9.6 PlatformIO : Core 5.2.4 Home 3.4.0
platformio.ini: [env: LEFT TEENSY] platform = teensy board = teensy41 build_flags = -D USB_MIDI_SERIAL framework = arduino upload_command = tycmd upload -B $UPLOAD_PORT $SOURCE upload_port = 10271220-Teensy
Terminal: _upload@10271220-Teensy Uploading to board '10271220-Teensy' (Teensy 4.1) upload@10271220-Teensy Triggering board reboot upload@10271220-Teensy I/O error while writing to '\.\HID#VID_16C0&PID0478#7&33246076&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}' *** [upload] Error 1