Sometimes the error messages bear no relation to the actual error.

Try changing serout 2,n9600,(2)

to serout 2,n9600,[2]