I run Xubuntos, TinyOs 2.x.
I did make a usb port writeable (sudo chmod 666 /dev/ttyUSB0) and I'm
sure there ia phisical connection with the Mib510 base station (while
trying to upload the software the LED ISP D3 is flashing) but still I
get Error 2 saying 'Failed to enter programming mode'.
mkdir -p build/mica2
compiling TestSerialAppC to a mica2 binary
ncc -o build/mica2/main.exe -Os -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-I/opt/tinyos-2.x/tos/lib/T2Hack -DIDENT_APPNAME=\"TestSerialAppC\"
-DIDENT_USERNAME=\"prince\" -DIDENT_HOSTNAME=\"egored\"
-DIDENT_USERHASH=0xff95ec10L -DIDENT_TIMESTAMP=0x4a531e8fL
-DIDENT_UIDHASH=0x7a2be165L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/mica2/wiring-check.xml TestSerialAppC.nc -lm
compiled TestSerialAppC to build/mica2/main.exe
5764 bytes in ROM
262 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
writing TOS image
tos-set-symbols build/mica2/main.srec build/mica2/main.srec.out-1
TOS_NODE_ID=1 ActiveMessageAddressC__addr=1
Could not find symbol ActiveMessageAddressC__addr in
build/mica2/main.exe, ignoring symbol.
Could not find symbol TOS_NODE_ID in build/mica2/main.exe, ignoring symbol.
installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9
-dpart=ATmega128 --wr_fuse_e=ff --erase --upload
if=build/mica2/main.srec.out-1 --verify
Firmware Version: .
Failed to enter programming mode.
make: *** [program] Error 2
any ideas?
paolo
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help