The mib520 appears as two ttyUSB ports, the lower numbered one is for
programming and the higher numbered one is for UART communication. If
you try connecting the serial forwarder to, in your case, /dev/ttyUSB1
it should work.
-August
On 5/12/06, Kan Cai <kcai at cs.ubc.ca> wrote:
>
> Hi, all:
>
> I had a MIB510 serial board and everything was set up nicely on Ubuntu.
> Recently, I got a MIB520 USB programming board and failed to make it work.
>
> I can use /dev/ttyUSB0 to program the motes correctly. However, it seems
> that my motes are not able to upload information to the computer via the
> USB cable. I am providing the MicaHWVerify testing result as follows. Any
> help would be appreciated!
>
> I am using TinyOS 1.15 and mica2 motes. Thanks in advance!
>
> cheers,
> --ken
>
> --------------------------------------------------------------------------
>
> #echo $MOTECOM
> serial at COM7:57600
>
> # ls -lt /dev/ttyUSB0
> crwxrwxrwx 1 root dialout 188, 0 2006-05-12 22:14 /dev/ttyUSB0
>
> # ls -lt /dev/ttyS6
> lrwxrwxrwx 1 root root 12 2006-05-11 23:59 /dev/ttyS6 -> /dev/ttyUSB0
>
> # ls -lt /dev/COM7
> lrwxrwxrwx 1 root root 10 2006-05-12 08:30 /dev/COM7 -> /dev/ttyS6
>
> # make mica2 install
> compiling MicaHWVerify to a mica2 binary
> ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -Wall
> -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000
> -fnesc-cfile=build/mica2/app.c MicaHWVerify.nc -lm
> compiled MicaHWVerify to build/mica2/main.exe
> 11738 bytes in ROM
> 450 bytes in RAM
> avr-objcopy --output-target=srec build/mica2/main.exe
> build/mica2/main.srec
> make[1]: Entering directory `/opt/tinyos-1.x/apps/MicaHWVerify'
> installing mica2 binary
> uisp -dprog=mib510 -dserial=/dev/ttyUSB0 -dpart=ATmega128 --wr_fuse_e=ff
> --erase --upload if=build/mica2/main.srec
> Firmware Version: 1.8
> Atmel AVR ATmega128 is found.
> Uploading: flash
>
> Fuse Extended Byte set to 0xff
> make[1]: Leaving directory `/opt/tinyos-1.x/apps/MicaHWVerify'
>
> # java hardware_check
>
> Hardware check started
> serial at COM7:57600: resynchronising
> Node transmission failure
>
>
Tuesday, October 20, 2009
mib 520 mote notes
From Personal One Note notebook:
from TinyOS mailing list
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment