From: paolo <pl...@ka...> - 2008-02-12 17:34:41
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Times New Roman, Times, serif">Help me for this error please,<br> <br> root@grampus:/home/maverick/# jython /home/maverick/temp1/myserial.py<br> Serial starting.....<br> MSP430 Version: 1.39<br> Use -h for help<br> java.io.IOException: Not all params are supported by kernel<br> at com.sun.comm.LinuxSerial.nativeSetSerialPortParams(Native Method)<br> at com.sun.comm.LinuxSerial.setFlowControlMode(LinuxSerial.java:374)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:597)<br> at org.python.core.PyReflectedFunction.__call__(Unknown Source)<br> at org.python.core.PyMethod.__call__(Unknown Source)<br> at org.python.core.PyObject.__call__(Unknown Source)<br> at org.python.core.PyInstance.invoke(Unknown Source)<br> at serial.serialjava$py.__init__$3(/usr/lib/tinyos/serial/serialjava.py:101)<br> at serial.serialjava$py.call_function(/usr/lib/tinyos/serial/serialjava.py)<br> at org.python.core.PyTableCode.call(Unknown Source)<br> at org.python.core.PyTableCode.call(Unknown Source)<br> at org.python.core.PyTableCode.call(Unknown Source)<br> at org.python.core.PyFunction.__call__(Unknown Source)<br> at org.python.core.PyInstance.__init__(Unknown Source)<br> at org.python.core.PyClass.__call__(Unknown Source)<br> at org.python.pycode._pyx0.comInit$5(/home/maverick/temp1/tos-bsl.py:294)<br> at org.python.pycode._pyx0.call_function(/home/maverick/temp1/tos-bsl.py)<br> at org.python.core.PyTableCode.call(Unknown Source)<br> at org.python.core.PyTableCode.call(Unknown Source)<br> at org.python.core.PyFunction.__call__(Unknown Source)<br> at org.python.core.PyInstance.invoke(Unknown Source)<br> at org.python.pycode._pyx0.main$67(/home/maverick/temp1/tos-bsl.py:1554)<br> at org.python.pycode._pyx0.call_function(/home/maverick/temp1/tos-bsl.py)<br> at org.python.core.PyTableCode.call(Unknown Source)<br> at org.python.core.PyTableCode.call(Unknown Source)<br> at org.python.core.PyFunction.__call__(Unknown Source)<br> at org.python.pycode._pyx0.f$0(/home/maverick/temp1/tos-bsl.py:1620)<br> at org.python.pycode._pyx0.call_function(/home/maverick/temp1/tos-bsl.py)<br> at org.python.core.PyTableCode.call(Unknown Source)<br> at org.python.core.PyCode.call(Unknown Source)<br> at org.python.core.Py.runCode(Unknown Source)<br> at org.python.core.__builtin__.execfile_flags(Unknown Source)<br> at org.python.util.PythonInterpreter.execfile(Unknown Source)<br> at org.python.util.jython.main(Unknown Source)<br> root@grampus:/home/maverick/Desktop/commapi/lib# <br> <br> Help me for this error<br> thanks</font> </body> </html> |
From: Charlie G. <cha...@gm...> - 2008-02-12 18:50:58
|
On Feb 12, 2008 9:31 AM, paolo <pl...@ka...> wrote: > > Help me for this error please, > > root@grampus:/home/maverick/# jython /home/maverick/temp1/myserial.py > Serial starting..... > MSP430 Version: 1.39 > Use -h for help > java.io.IOException: Not all params are supported by kernel > at com.sun.comm.LinuxSerial.nativeSetSerialPortParams(Native > Method) > at > com.sun.comm.LinuxSerial.setFlowControlMode(LinuxSerial.java:374) This is actually an problem with whatever you're passing to setFlowControlMode in serialjava.py on line 101. You should look at the docs for LinuxSerial and whatever it is you're talking to to see what arguments it expects. Charlie |