Hi, 

About the problem reported below, running "strace tos-bsl --telosb -c 
<the_serial_port> -e" I get (I just copied the part where the error generates):

open("/dev/ttyUSB0", O_RDWR|O_NOCTTY|O_NONBLOCK|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) 
= 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) 
= 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) 
= 0
ioctl(3, SNDCTL_TMR_START or TCSETS, {B9600 -opost -isig -icanon -echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) 
= 0
ioctl(3, TIOCMBIS, [TIOCM_RTS])         = -1 EILSEQ (Invalid or incomplete 
multibyte or wide character)
write(2, "\nAn error occoured:\n[Errno 84] I"..., 81
An error occoured:
[Errno 84] Invalid or incomplete multibyte or wide character
) = 81
close(3)                                = 0
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x8075730, [], 0}, 8) = 0
exit_group(1) 

Any suggestions about how to solve this?

Thanks, 
Stefano

Inizio messaggio inoltrato:

> Da: Stefano Moret <mo...@berkeley.edu>
> Data: 20 ottobre 2011 12.25.12 GMT-07.00
> A: tinyos-help@millennium.berkeley.edu
> Oggetto: [Errno 84] Invalid or incomplete multibyte or wide character
> 
> Hi,
> 
> I'm working on MAC OS X 10.6.8 with Ubuntu 10.10 running on VMWare virtual 
> machine, from where I use TinyOS to program Crossbow TelosB motes.
> Until two days ago I could smoothly compile and install programs on the 
> motes, even if just on one of my two USB ports.
> Starting from yesterday, I can't install on any of the 2 ports. If I try to 
> install any program, I get the error reported below (the same error I before 
> got only on the non-working USB port).
> 
> mkdir -p build/telosb
>     compiling BlinkAppC to a telosb binary
> ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -fnesc-separator=__ 
> -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c 
> -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" 
> -DIDENT_USERNAME=\"stefanomoret\" -DIDENT_HOSTNAME=\"stefanomoret-vi\" 
> -DIDENT_USERHASH=0x9c9854afL -DIDENT_TIMESTAMP=0x4ea07294L 
> -DIDENT_UIDHASH=0x63b884ecL  BlinkAppC.nc -lm 
>     compiled BlinkAppC to build/telosb/main.exe
>             2618 bytes in ROM
>               56 bytes in RAM
> msp430-objcopy --output-target=ihex build/telosb/main.exe 
> build/telosb/main.ihex
>     writing TOS image
> cp build/telosb/main.ihex build/telosb/main.ihex.out
>     found mote on /dev/ttyUSB0 (using bsl,auto)
>     installing telosb binary using bsl
> tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out
> MSP430 Bootstrap Loader Version: 1.39-telos-8
> Mass Erase...
> 
> An error occoured:
> [Errno 84] Invalid or incomplete multibyte or wide character
> make: *** [program] Error 1
> 
> I made different trials, trying to install other programs, other motes,... 
> but none of them led to any results. I'm stuck on this issue at the moment.
> Do you have any suggestion?
> 
> Thanks, regards
> Stefano
> 
> 

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

Reply via email to