Re: [PD] pduino-arduino trouble

2008-06-14 Thread olsen wolf
he max
we had a similar error here at the school in zürich
http://lists.puredata.info/pipermail/pd-list/2008-06/062973.html
might be the bug in your pd-extended - a recent nightly builds might cure
salutis
olsen

On Sat, Jun 14, 2008 at 5:49 AM, Max Neupert [EMAIL PROTECTED] wrote:
 that could be it. but why is it doing that?
 the comport object in the arduino abstraction says

 [comport $1 57600] so shouldn't the rate be fixed to 57600? why does
 it sometimes connect with 115200?

 max

 Am 2008-06-13 um 18:54 schrieb Claude Heiland-Allen:

 Max Neupert wrote:
 this is the output when it does work:

 set_baudrate baudbits: 57600

 this is the output when it doesn't:

 set_baudrate baudbits: 115200

 anyone has a clue what's going on?

 I'm guessing the baudbits has something to do with it.  Maybe
 something along the connection between pd and arduino doesn't
 support the higher speed.

 Never used arduino or any other serial devices though.


 Claude
 --
 http://claudiusmaximus.goto10.org


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list




-- 
Planet Pluto bleibt!

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino-arduino trouble

2008-06-13 Thread Max Neupert
it's really hard to fix since it simply works sometimes and then  
stops working.
not very reliable for an installation supposed to run automatically  
in a different city for some weeks :(

this is the output when it does work:

--
error: [comport] ** ERROR ** could not open device /dev/tty.Roy-Dial- 
upNetworking-2:
  failure(16): Resource busy

[comport] invalid handle for /dev/tty.*
[arduino]: version_0.3
get_baud_ratebits: 57600.00
set_baudrate baudbits: 57600
[comport] opened serial line device 5 (/dev/tty.usbserial-A6004nvF)

Arduino/Firmata_version: 1 0
--

this is the output when it doesn't:

--
error: [comport] ** ERROR ** could not open device /dev/tty.Roy-Dial- 
upNetworking-2:
  failure(16): Resource busy

[comport] invalid handle for /dev/tty.*
[arduino]: version_0.4
get_baud_ratebits: 115200.00
set_baudrate baudbits: 115200
[comport] opened serial line device 5 (/dev/tty.usbserial-A6004nvF)

UNKNOWN_INPUT_COMMAND: 6 0
---

so it'a exactly the same, first the wrong device gets opened because  
of the default name, but then one tim it can connect, the other time  
it can't.

anyone has a clue what's going on?

m.


Am 2008-06-13 um 03:03 schrieb Martin Peach:

 Well errno 9 is EBADF, error bad file number, so the serial port  
 file descriptor is not good for some reason, maybe because the  
 serial port was closed.

 Martin


 From: Max Neupert [EMAIL PROTECTED]
 To: pd-list@iem.at
 Subject: [PD] pduino-arduino trouble
 Date: Fri, 13 Jun 2008 01:39:50 +1000

 hi list,

 i have problems getting a arduino diecimila to run.

 sometimes i get this:

 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line
 [comport] write returned -1, errno is 9
 Write error, maybe TX-OVERRUNS on serial line


 and sometimes that:

 UNKNOWN_INPUT_COMMAND: 6 0

 in both cases i can't access the data.


 some hours before it was working, i have no clue.

 m.

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino-arduino trouble

2008-06-13 Thread Claude Heiland-Allen
Max Neupert wrote:
 this is the output when it does work:

 set_baudrate baudbits: 57600

 this is the output when it doesn't:

 set_baudrate baudbits: 115200

 anyone has a clue what's going on?

I'm guessing the baudbits has something to do with it.  Maybe something 
along the connection between pd and arduino doesn't support the higher 
speed.

Never used arduino or any other serial devices though.


Claude
-- 
http://claudiusmaximus.goto10.org

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino-arduino trouble

2008-06-13 Thread Max Neupert
that could be it. but why is it doing that?
the comport object in the arduino abstraction says

[comport $1 57600] so shouldn't the rate be fixed to 57600? why does  
it sometimes connect with 115200?

max

Am 2008-06-13 um 18:54 schrieb Claude Heiland-Allen:

 Max Neupert wrote:
 this is the output when it does work:

 set_baudrate baudbits: 57600

 this is the output when it doesn't:

 set_baudrate baudbits: 115200

 anyone has a clue what's going on?

 I'm guessing the baudbits has something to do with it.  Maybe  
 something along the connection between pd and arduino doesn't  
 support the higher speed.

 Never used arduino or any other serial devices though.


 Claude
 -- 
 http://claudiusmaximus.goto10.org


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] pduino-arduino trouble

2008-06-12 Thread Max Neupert
hi list,

i have problems getting a arduino diecimila to run.

sometimes i get this:

Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line


and sometimes that:

UNKNOWN_INPUT_COMMAND: 6 0

in both cases i can't access the data.


some hours before it was working, i have no clue.

m.

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino-arduino trouble

2008-06-12 Thread Martin Peach
Well errno 9 is EBADF, error bad file number, so the serial port file 
descriptor is not good for some reason, maybe because the serial port was 
closed.

Martin


From: Max Neupert [EMAIL PROTECTED]
To: pd-list@iem.at
Subject: [PD] pduino-arduino trouble
Date: Fri, 13 Jun 2008 01:39:50 +1000

hi list,

i have problems getting a arduino diecimila to run.

sometimes i get this:

Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line
[comport] write returned -1, errno is 9
Write error, maybe TX-OVERRUNS on serial line


and sometimes that:

UNKNOWN_INPUT_COMMAND: 6 0

in both cases i can't access the data.


some hours before it was working, i have no clue.

m.

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list