Prashanth,
Most probably, you hooked up your MIB510 to a serial port. Try to figure out what port it is. If it is connected directly to the serial port on your PC, it is /dev/ttyS0 or /dev/ttyS1. Should you be using an USB to Serial adapter, you can access it as /dev/ttyUSB0 or /dev/ttyUSB1. Once you've figured out which one the correct device is, program the mote with "make mica2 reinstall mib510,your_device_here". For example, if you are using an USB to serial that shows up as /dev/ttyUSB0, you would enter "make mica2 reinstall mib510,/dev/ttyUSB0". Janos -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prashanth Shenoy Sent: Saturday, November 17, 2007 5:07 PM To: [email protected] Subject: [Tinyos-help] (no subject) HI All, OS: FEDORA CORE 6 TINY OS: tinyos-1.1.4 Program board: mib510 mote: mica2 We are trying to run the MicaHWVerify to program the mib510, but we are getting the error on ' ppdev' the parallelport. We did chmod 666 /dev/parport0 and did ' make mica2 ' which compiled successfully. but when running ' make mica2 reinstall' we get an error " ioctl PPCLAIM: No such device or address Failed to claim ppdev. " [EMAIL PROTECTED] tinyos-1.1.14]# cd apps/MicaHWVerify/ [EMAIL PROTECTED] MicaHWVerify]# make mica2 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 [EMAIL PROTECTED] MicaHWVerify]# make mica2 reinstall installing mica2 binary uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --erase ioctl PPCLAIM: No such device or address Failed to claim ppdev. make: *** [reinstall] Error 2 Alternatively we also tried prgramming through a serial cabel, by using the appropriate commands as well as USB to serial cabel. But this problem seems to persist for any interface we try. _____ Get the power of Windows + Web with the new Windows Live. Power up! <http://www.windowslive.com?ocid=TXT_TAGLM_Wave2_powerofwindows_112007> No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.33 - Release Date: 11/15/2007 12:00 AM
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
