Uisp doesn't understand com3. Please use /dev/ttyS2 rather than com3
(the latter often doesn't work).

Alternatively, you might want to use avrdude:
PROGRAMMER=avrdude make micaz install,1 mib510,com3

Janos

On Wed, Oct 17, 2012 at 8:54 PM, 史文杰 <[email protected]> wrote:
> I use the mib520 programming board to copy BaseStation application on the
> mote, but there is errors is outputed. And I realise the it is using mib510
> programing mode to copy the application,then it caused the fimal errors.
>
>
>
>
> the output is as below:
>
> mkdir -p build/micaz
>  compiling BaseStationC to a micaz binary
> ncc -o build/micaz/main.exe  -Os -Wall -Wshadow -Wnesc-all -target=micaz
> -fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22
> --param max-inline-insns-single=100000 -DCC2420_NO_ACKNOWLEDGEMENTS
> -DCC2420_NO_ADDRESS_RECOGNITION -DIDENT_APPNAME=\"BaseStationC\"
> -DIDENT_USERNAME=\"Administrator\" -DIDENT_HOSTNAME=\"WSDBR26YNRC6KJU\"
> -DIDENT_USERHASH=0x0b1cbe93L -DIDENT_TIMESTAMP=0x507d625dL
> -DIDENT_UIDHASH=0x41d0a2e1L -fnesc-dump=wiring
> -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
> components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BaseStationC.nc
> -lm
> /opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
> "*** LOW POWER COMMUNICATIONS DISABLED ***"
>     compiled BaseStationC to build/micaz/main.exe
>            14940 bytes in ROM
>             1724 bytes in RAM
> avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
> avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
>     writing TOS image
> tos-set-symbols build/micaz/main.srec build/micaz/main.srec.out-0
> TOS_NODE_ID=0 ActiveMessageAddressC$addr=0
>     installing micaz binary using mib510
> uisp -dprog=mib510 -dserial=com3 --wr_fuse_h=0xd9 -dpart=ATmega128
> --wr_fuse_e=ff   --erase --upload if=build/micaz/main.srec.out-0 --verify
> Please use /dev/ttyS2 rather than com3 (the latter often doesn't work)
> Firmware Version: .
> Failed to enter programming mode.
> /opt/tinyos-2.x/support/make/avr/mib510.extra:28: recipe for target
> `program' failed
> make: *** [program] Error 2
>
>
>
>
> I am in urgent need for the anwser, so hope your help!
> Thanks very much !

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to