Coolterm software download8/11/2023 Have to close it before replugging in the Teensy or it'll automatically re-open the port again, d'oh)ĭagnammit, what have you changed, Apple? I'm stuck in limbo between two operating system versions (my app needs El Capitan, my Teensys need Yosemite) and am wearing out my USB sockets swapping between machines every 5 minutes arrrrrggggg I need a cuppa tea and a sit down arrrgg (Don't bother trying to close the Serial Monitor before yanking the cable - it takes longer that way. Uploading a sketch while the Serial Monitor is open will fail you can reach over and hit the Teensy's reset button, or if it's not easy to reach I've found yanking the USB lead out, then closing the Serial Monitor, then replugging, then clicking upload works the fastest. Opening the port again leaves you connected to the hung Teensy, but closing it a second time resets the Teensy. So, to distil: closing the serial port hangs the Teensy before it's had a chance to completely "disconnect", causing the host Mac to wait for a timeout. What technology is behind the USB-Serial interface provided by the Teensy? It doesn't need a driver installed, but it operates super-fast - so how does it work? Does it pretend to be an FTDI or Prolific chip?Īre there any other dev boards or devices that use the same method of comms, so I can check that this problem is consistent? This problem does not occur if I run the same code on an Arduino Mega. back to the start of this cycle - everything'll work OK again temporarily. close the serial port again: port closes instantly. Chars are transmitted OK but ignored by the Teensy. open the serial port again: no response from the Teensy. close the serial port: whatever the software / terminal package I'm using, this seems to tie the application up for several seconds open the serial port: everything works perfectly. Whatever the application I use to talk to the Teensys (I'm writing my own, but this happens with any serial terminal software (eg CoolTerm), and even happens with the Serial Monitor in the Arduino IDE), I get the following behaviour cycle: Simple loopback code on a Teensy (I've tested LC and 3.1): It would be very helpful if I could, say, find another device that exhibits the same issues. The behaviour is strange, and I'd like to raise it with Apple, but I'd like as much info as possible about the Teensy's USB-Serial method as possible so I can try and Make It Easy For Them To Understand. I've been having ongoing issues with serial comms with Teensy 3.1/LCs, and have finally tracked it down to the El Capitan betas I've been running on my Macs.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |