[Tinyos-help] error "Direct Parallel Access not defined"
Tehn Yit Chin
tehn-yit.chin at greyinnovation.com
Sun Jul 2 18:54:22 PDT 2006
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 <tehn-yit.chin at greyinnovation.com> 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 <tehn-yit.chin at greyinnovation.com> 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 at Millennium.Berkeley.EDU
>> >>
>> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> >>
>> >
>>
>
>
>
More information about the Tinyos-help
mailing list