Try this instead:

 

make iris install mib510,/dev/ttyUSB0

 

(I am assuming that you use TinyOS 2.x, have the latest sources checked out 
from the CVS, have the proper toolchain for the IRIS mote and you have AVRDude 
with MIB510/MIB520 support installed, have r/w access to /dev/ttyUSB0 and 
that’s where the mote is hooked up.)

 

Janos

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ??
Sent: Friday, April 18, 2008 8:32 PM
To: [email protected]
Subject: [Tinyos-help] Hi the problem of downloading program to the Moteusing 
mib520

 

Hi,

every time I want to download the program to my mote mounted on mib520

I am using federo linux

it print this:

cp build/iris/main.srec build/iris/main.srec.out
    installing iris binary with dapa
uisp -dprog=dapa --wr_fuse_h=0xd9 -pm1281 -U efuse:w:0xff:m  --erase 
pulse
An error has occurred during the AVR initialization.
 * Target status:
   Vendor Code = 0xff, Part Family = 0xff, Part Number = 0xff

Probably the wiring is incorrect or target might be `damaged'.

the line before writing TOS image is omitted.

and the command I use is:
  make iris install mib510s,/dev/ttyUSB0
  make iris install mib510s,/dev/ttyUSB1
  make iris install mib520,/dev/ttyUSB0
  make iris install mib520,/dev/ttyUSB1
  make iris install mib520,/dev/ttyS0
  make iris install mib520,/dev/ttyS1

I found on the internet that I can try  make iris install mib520,/dev/usb/tts/N
but I can not find usb in my dev file.

Thanks for your time!
  








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

Reply via email to