Programming a Teensy via Win 7

Status
Not open for further replies.
I have just had a very similar problem as UNTEngineer. Turns out it was a problem with my code causing the Teensy to hang (an eternal growing String), which for some reason meant the computer couldn't see it as a com port. Very frustrating as all of my troubleshooting Serial.print()'s weren't working! In my case, If I loaded the file which had the error in it, it caused the com port problem untill I restarted the computer, so even if I loaded a sample file, such as DigitalReadSerial, it still wouldn't see the com port! I could however load the "blink" file and see the LED happily flashing away.
For me, I got something along the lines of - Serial port couldn't be opened, try to close other programs using it when trying to open serial monitor.
 
I have just had a very similar problem as UNTEngineer. Turns out it was a problem with my code causing the Teensy to hang (an eternal growing String), which for some reason meant the computer couldn't see it as a com port. Very frustrating as all of my troubleshooting Serial.print()'s weren't working! In my case, If I loaded the file which had the error in it, it caused the com port problem untill I restarted the computer, so even if I loaded a sample file, such as DigitalReadSerial, it still wouldn't see the com port! I could however load the "blink" file and see the LED happily flashing away.
For me, I got something along the lines of - Serial port couldn't be opened, try to close other programs using it when trying to open serial monitor.

Just saw this post. I havent had any luck with my code on the Teensy (though, I do know it runs on the Uno). I will have to start from scratch to see if I can catch the problem. Perhaps debugging this code on Atmel Studio 6 might help. Thanks for the insight. I'll post if I get anywhere (or not) with this.
 
Paul,

I cannot reliably auto-reboot program any of my teensies (2 or 3) on win 7 x64 (java is 1.7.something). I have never had an issue with any arduino board. I can pretty regularly get them to program after I hit the reset button, but an 'auto-reboot' re-program happens only once in maybe 20 attempts. At one point, I could not communicate the the teensy at all and thought I had blown it. I had to reboot in Linux to program it. I am running the Beta 7 environment under windows 7 64 bit, currently, but it has happened since beta 3.

If I boot the laptop as linux ubuntu 12.04 x64, it works flawlessly, every time.

Is there a log or other diagnostics I can give you?

Keith

I'd appreciate it if you started your own thread rather than hijacking mine. Thanks.
 
Status
Not open for further replies.
Back
Top