Pages: [1]   Go Down
Author Topic: Serial monitor (nearly) freezes Arduino  (Read 939 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had set port speed to 115200 and accidentally sent one byte per loop over the line. I then opened the serial monitor which nearly froze the IDE. With much patience I could set the speed to 9600 which made it responding again.
Pulling the USB caused a crash last time I tried so I didn't this time. smiley
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 11
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yea, I believe this a problem with either the library we're using for serial communication or the FTDI drivers themselves.  Which operating system are you on?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

PPC OSX 10.4.9


I don't know Java but my guess is that it gets an event everytime there is something on the serial port. Since its only one byte but coming at max speed its the overhead that kills the app. Maybe a 'dead time' between reacting to such an event might help.
Logged

Pages: [1]   Go Up
Jump to: