Re: [Tinyos-help] error Direct Parallel Access not defined

2006-07-07 Thread Mark Bramwell
Here is what I do on my WindowsXP machine running cygwin  I have the 
board plugged into com1:






TinyDB- Compiling and installing TinyDB on each mote



cd /opt/tinyos-1.x/apps/TinyDBApp

make mica2 install.0 mib510,/dev/ttyS0 Compiles custom 
version of TinyDB for node0



 and installs the firmware onto the mote




- Original Message - 
From: Tehn Yit Chin [EMAIL PROTECTED]

To: zhiqiang zhang [EMAIL PROTECTED]
Cc: tinyos-help@Millennium.Berkeley.EDU
Sent: Sunday, July 02, 2006 9:54 PM
Subject: Re: [Tinyos-help] error Direct Parallel Access not defined


Sorry, I thought you were on linux. On cygwin, just replace /dev/ttyS0 
with the name of your comport, which might be com1.


On my cygwin setup, all i do is the following the results...

$ make mica2 reinstall.0 MIB510=com1
installing mica2 binary
set-mote-id build/mica2/main.srec build/mica2/main.srec.0.out `echo 
reinstall.0 |perl -pe 's/^reinstall.//; $_=hex if /^0x/i;'`
uisp -dprog=mib510 -dserial=com1 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload 
if=build/mica2/main.srec.0.out

Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Uploading: flash

Fuse Extended Byte set to 0xff


cheers,
Tehn Yit Chin
Embedded System Engineer, Grey Innovation Pty. Ltd.


zhiqiang zhang wrote:

hi guys:

  I attached the command and message below :

*$ make micaz reinstall.0 MIB510=/dev/ttyS0*
*
set-mote-id build/micaz/main.srec build/micaz/main.srec.out-0 0
Could not find symbol TOS_LOCAL_ADDRESS in build/micaz/main.exe, ignoring
symbol.
installing micaz binary with dapa

isp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff  --erase
/dev/parport0: No such file or directory
Failed to open ppdev.
make: *** [program] Error 2*
**
i am using serial port,but it seems like using parallel port .i don't 
know

how to solve this problem.

By thy way ,you said there should be a symbol link between /dev/ttyS0 and
/dev/parport0 ,how to do this? because i even can't find /dev ( i am 
using

cygwin).

regards
zhiqiang

**
*

*

On 03/07/06, Tehn Yit Chin [EMAIL PROTECTED] wrote:



There probably isn't a /dev/parport0 available? Why are you using the
parallel port? Is there  symbolic link between /dev/ttyS0 and
/dev/parport0?

What happens when you try

make mica2 reninstall.1 mib510=/dev/ttyS0



Tehn Yit Chin
Embedded System Engineer, Grey Innovation Pty. Ltd.


zhiqiang zhang wrote:
 hi,guys:

 I met the same question with campbell gao.

Now i try the command  make mica2  reinstall,1
mib510,/dev/ttyS0,then  i
 met another error. */dev/parport0:no such file or directory , Failed 
 to

 open
 ppdev.*
   Do you know how to solve it ?

 zhiqiang
 *
 *
 On 03/07/06, Tehn Yit Chin [EMAIL PROTECTED] wrote:


 campbell gao wrote:
  hi all
  when i type make mica2 reinstall,1 mib510,COM1 or   make mica2
  reinstall,1 mib510,/dev/ttyS0
  I get the error Direct Parallel Access not defined.
 
  why ,anyone know it ??
 

 I believe that the syntax is

 make mica2 reinstall.0 MIB510=COM1

 or

 make mica2 reinstall.0 MIB510=/dev/ttyS0

 Don't use any commas.

 Tehn Yit Chin
 Embedded System Engineer, Grey Innovation Pty. Ltd.

 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help








___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] error Direct Parallel Access not defined

2006-07-02 Thread campbell gao
hi all
when i type make mica2 reinstall,1 mib510,COM1 ormake mica2 reinstall,1 mib510,/dev/ttyS0I get the error 
Direct Parallel 
Access not defined.


why ,anyone know it ??-- 祝好,此致敬礼高学彬(campbell)SNARC
Sensor Networks and Application Research Centerhttp://snarc.gucas.ac.cn/index.htmOur Mission To be one of the best groups in the area of sensor networks research
, by successful completion of key projects, publishing high quality papers and transferring technologies and know-how to industries 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] error Direct Parallel Access not defined

2006-07-02 Thread Tehn Yit Chin
Sorry, I thought you were on linux. On cygwin, just replace /dev/ttyS0 
with the name of your comport, which might be com1.


On my cygwin setup, all i do is the following the results...

$ make mica2 reinstall.0 MIB510=com1
installing mica2 binary
set-mote-id build/mica2/main.srec build/mica2/main.srec.0.out `echo 
reinstall.0 |perl -pe 's/^reinstall.//; $_=hex if /^0x/i;'`
uisp -dprog=mib510 -dserial=com1 -dpart=ATmega128 --wr_fuse_e=ff 
--erase --upload  if=build/mica2/main.srec.0.out

Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Uploading: flash

Fuse Extended Byte set to 0xff


cheers,
Tehn Yit Chin
Embedded System Engineer, Grey Innovation Pty. Ltd.


zhiqiang zhang wrote:

hi guys:

  I attached the command and message below :

*$ make micaz reinstall.0 MIB510=/dev/ttyS0*
*
set-mote-id build/micaz/main.srec build/micaz/main.srec.out-0 0
Could not find symbol TOS_LOCAL_ADDRESS in build/micaz/main.exe, ignoring
symbol.
installing micaz binary with dapa
uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff  --erase
/dev/parport0: No such file or directory
Failed to open ppdev.
make: *** [program] Error 2*
**
i am using serial port,but it seems like using parallel port .i don't know
how to solve this problem.

By thy way ,you said there should be a symbol link between /dev/ttyS0 and
/dev/parport0 ,how to do this? because i even can't find /dev ( i am using
cygwin).

regards
zhiqiang

**
*

*

On 03/07/06, Tehn Yit Chin [EMAIL PROTECTED] wrote:



There probably isn't a /dev/parport0 available? Why are you using the
parallel port? Is there  symbolic link between /dev/ttyS0 and
/dev/parport0?

What happens when you try

make mica2 reninstall.1 mib510=/dev/ttyS0



Tehn Yit Chin
Embedded System Engineer, Grey Innovation Pty. Ltd.


zhiqiang zhang wrote:
 hi,guys:

 I met the same question with campbell gao.

Now i try the command  make mica2  reinstall,1
mib510,/dev/ttyS0,then  i
 met another error. */dev/parport0:no such file or directory , Failed to
 open
 ppdev.*
   Do you know how to solve it ?

 zhiqiang
 *
 *
 On 03/07/06, Tehn Yit Chin [EMAIL PROTECTED] wrote:


 campbell gao wrote:
  hi all
  when i type make mica2 reinstall,1 mib510,COM1 or   make mica2
  reinstall,1 mib510,/dev/ttyS0
  I get the error Direct Parallel Access not defined.
 
  why ,anyone know it ??
 

 I believe that the syntax is

 make mica2 reinstall.0 MIB510=COM1

 or

 make mica2 reinstall.0 MIB510=/dev/ttyS0

 Don't use any commas.

 Tehn Yit Chin
 Embedded System Engineer, Grey Innovation Pty. Ltd.

 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help








___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help