Arduino Flash Serial Proxy

I am working to get Arduino to interface with Flash through the Arduino Class v1 (and through other Flash/Arduino examples) and am running into a problem with the serial proxy outputting the error: "failed to open comm port-connection refused".

I have tried turning off the Arduino software before opening the serial proxy.

How do I determine which comm port I am using on my Mac? I am unable to find this information anywhere.

I am running the serial proxy on an Intel Mac.

I have searched this forum and others on the web dealing with Arduino, Flash, and the serial proxy, and nothing gets me beyond the message "failed to open comm port-connection refused."

My code is as follows:

newlines_to_nils=true

comm_ports=6

comm_baud=9600 comm_databits=8 comm_stopbits=1 comm_parity=none

timeout=300

serial_device1=/dev/cu.usbserial-A4001JmR

net_port6=5336

Thanks. --VB

Hi I'm also working on a Flash Interface, using the ArduinoClass_01 tutorial http://www.progetto2501.com/b/tools/Arduino.

I hope to manage the communication between a Arduino BT and a USB Arduino through a FlashInterface with some actionScript. The conversation with just one Arduino works fine.

I'm on windows, but maybe the 'serproxy.cfg' works also on Mac for multiple ports.

# Config file for serproxy
# See serproxy's README file for documentation

# Transform newlines coming from the serial port into nils
# true (e.g. if using Flash) or false
newlines_to_nils=true

# Comm ports used
comm_ports=1,2,3,4,5,6

# Default settings
comm_baud=115200
comm_databits=8
comm_stopbits=1
comm_parity=none

# Idle time out in seconds
timeout=300

# Port 1 settings (ttyS0)
net_port1=5331

# Port 2 settings (ttyS1)
net_port2=5332

# Port 3 settings (ttyS2)
net_port3=5333

# Port 4 settings (ttyS3)
net_port4=5334

# Port 5 settings (ttyS4)
net_port5=5335

# Port 6 settings (ttyS5)
net_port6=5336

I don't know how to figure out the serialCom port on Mac, but you could use www.processing.org and maybe 5lines code to plot your available ports on the monitor.

Regards,

hi, I have the same problem with "serproxy"

it says "failed to open comm port-connection refused"

My SO is Win Vista :-[ and my port is com18

even if i put this

comm_ports=18

my conecction doesn't work

is there some port to open in the firewall?

or what am i missing?

hi, I have the same problem with "serproxy"

it says "failed to open comm port-connection refused"

My SO is Win Vista and my port is com18

even if i put this

Code:comm_ports=18

my conecction doesn't work

is there some port to open in the firewall?

or what am i missing?

The problem is that serial comunication dont work with ports with 2 digits, like COM15, COM10, COM18...

Is just work from COM1 to COM9.

To solve you problem you need to go to Control Panel > Hardware Manager and change port from Usb Serial Adapter. Find any free COM (1 to 9) and change yours.

Tha trick to use "\.\COM18" doen not work!!!!

The only solution is to change to lower number than COM10.

I'm still learning but from what I know so far:

You have a line like this: net_port6=5336

but it needs to look like: net_port1=5336

To find the serial number of the USB port:

Plug in the Arduino Apple -> About This Mac -> More Info -> Hardware -> USB In the USB section I found a listing called: FT232R USB UART Under there a line like this: Serial Number: A7006QhV

Here is what I ended up with for my serproxy.cfg:

Config file for serproxy

See serproxy's README file for documentation

Transform newlines coming from the serial port into nils

true (e.g. if using Flash) or false

newlines_to_nils=true

Comm ports used

comm_ports=1

Default settings

comm_baud=57600 comm_databits=8 comm_stopbits=1 comm_parity=none

Idle time out in seconds

timeout=300

net_port1=5331 serial_device1=/dev/cu.usbserial-A7006QhV