Probably something crashed but still has the serial port open,
it may be a zombie process or the kernel itself. First look through
your process list for possible culprits and then try a reboot
to clear things up.

MS

Thanh Phuong Nguyen wrote:
Hi all,

I have the error like this: My program can be
installed on telosb mote. I also use PrintfClient to
monitor the printed out message from my program. My
program can run well for a while. But then the serial
forwarder suddenly corrupted with the ERR_MSG(1):
=====
# An unexpected error has been detected by Java
Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at
pc=0x1001cc4a, pid=1816, tid=3544
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05
mixed mode, sharing)
# Problematic frame:
# C  [toscomm.dll+0x1cc4a]
=====
when I started the Serial forwarder and tried to run
the application again, I got ERR_MSG(2):
=====
Could not open com6: TOSComm JNI library runtime
error: Error 5.
   Access is denied.
   in NativeSerialPort.CreateFile
[EMAIL PROTECTED]:115200 died - restarting
Shutting down all client connections
Closing source
Closing socket
=====

I could not install my program to the mote again
either (until i plug out then plug in the mote usb
again), another ERR_MSG(3) raised:
=====
could not open port: (5, 'CreateFile', 'Access is
denied.') make: *** [program] Error 1
=====

I search on the internet and found that the error
related to ERR_MSG(3) was already posted in our forum.
That is because of port problem.
=====
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-June/017298.html
===== But I dont understand how the port can be used when I already used it.
So what prob with the serial forwarder? I still dont
understand why I got this msg. Is there any idea?

Thank you very much in advance,
Phuong.




      
____________________________________________________________________________________
Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to