While installing be a super user.. I think that will solve the problem and
please see this blog wsntinyos.blogspot. in
 On 1 Apr 2014 00:32, <tinyos-help-requ...@millennium.berkeley.edu> wrote:

> Send Tinyos-help mailing list submissions to
>         tinyos-help@millennium.berkeley.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> or, via email, send a message with subject or body 'help' to
>         tinyos-help-requ...@millennium.berkeley.edu
>
> You can reach the person managing the list at
>         tinyos-help-ow...@millennium.berkeley.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tinyos-help digest..."
>
>
> Today's Topics:
>
>    1. How to use TinyViz (Skander Bahloul)
>    2. make micaz install, permission denied (Liao Qingbi)
>    3. Re: make micaz install, permission denied (Michael Andersen)
>    4. Re: make micaz install, permission denied (Guilherme Politta)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 31 Mar 2014 16:16:51 +0200 (CEST)
> From: Skander Bahloul <skander.bahl...@esisar.grenoble-inp.fr>
> Subject: [Tinyos-help] How to use TinyViz
> To: tinyos-help@millennium.berkeley.edu
> Message-ID:
>         <
> 1959796383.1066371.1396275411254.javamail.zim...@esisar.grenoble-inp.fr>
>
> Content-Type: text/plain; charset=utf-8
>
> Hi,
>
> I like to use TinyViz.
>
> Could you help me.
>
> Thank you!
>
> Best regards,
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 31 Mar 2014 18:24:15 +0200
> From: Liao Qingbi <liaoqin...@gmail.com>
> Subject: [Tinyos-help] make micaz install, permission denied
> To: tinyos-help@millennium.berkeley.edu
> Message-ID: <3c7a6e7e-8f35-40c9-b571-9ba567e3d...@gmail.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi, everybody
>
> I'm new to TinyOS and trying to write the simple Blink application into
> sensor mib510.  But I didn't succeed yet since there is always an error:
> Permission denied.
> I have already tried the command:
> $       sudo chown qingbi:qingbi -R /opt/tinyos-2.1.2/
> And it still doesn't work.
> By the way, the make micaz sim part could work well in my PC.
> The running result is attached below, hoping someone could help me out.
> Thank you so much.
>
> qingbi@qingbi-VirtualBox:~$ cd tinyos-2.1.2/apps/Blink/
> qingbi@qingbi-VirtualBox:~/tinyos-2.1.2/apps/Blink$ make micaz install
> mib510,/dev/ttyUSB0
> mkdir -p build/micaz
>     compiling BlinkAppC to a micaz binary
> ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
> -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
> -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"qingbi\"
> -DIDENT_HOSTNAME=\"qingbi-VirtualB\" -DIDENT_USERHASH=0xdca414e2L
> -DIDENT_TIMESTAMP=0x53399425L -DIDENT_UIDHASH=0x1fc3b583L
> -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs, components)'
> -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
>     compiled BlinkAppC to build/micaz/main.exe
>             2044 bytes in ROM
>               51 bytes in RAM
> avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
> avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
>     writing TOS image
> cp build/micaz/main.srec build/micaz/main.srec.out
>     installing micaz binary using mib510
> uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 -dpart=ATmega128
>  --wr_fuse_e=ff   --erase --upload if=build/micaz/main.srec.out --verify
> Error: Permission denied
>  -> /dev/ttyUSB0
> make: *** [program] Error 1
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140331/59963e9f/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Mon, 31 Mar 2014 09:28:36 -0700
> From: Michael Andersen <m.ander...@berkeley.edu>
> Subject: Re: [Tinyos-help] make micaz install, permission denied
> To: Liao Qingbi <liaoqin...@gmail.com>
> Cc: tinyos forum <tinyos-help@millennium.berkeley.edu>
> Message-ID:
>         <
> caplpprs4pdnzanevghojvmhtgazgzf3cocj0ki7kdr0_zue...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi
>
> This is due to a lack of permissions on the USB serial device. The quick
> hack is to program as root, the correct solution is to set up your udev
> rules so that the permissions on the ttyUSB device allow writing by
> unprivileged users.
>
> Regards
> Michael
>
>
> On 31 March 2014 09:24, Liao Qingbi <liaoqin...@gmail.com> wrote:
>
> > Hi, everybody
> >
> > I'm new to TinyOS and trying to write the simple Blink application into
> > sensor mib510.  But I didn't succeed yet since there is always an error:
> > Permission denied.
> > I have already tried the command:
> > $ sudo chown qingbi:qingbi -R /opt/tinyos-2.1.2/
> > And it still doesn't work.
> > By the way, the *make micaz sim* part could work well in my PC.
> > The running result is attached below, hoping someone could help me out.
> > Thank you so much.
> >
> > qingbi@qingbi-VirtualBox:~$ cd tinyos-2.1.2/apps/Blink/
> > qingbi@qingbi-VirtualBox:~/tinyos-2.1.2/apps/Blink$ make micaz install
> > mib510,/dev/ttyUSB0
> > mkdir -p build/micaz
> >     compiling BlinkAppC to a micaz binary
> > ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
> > -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
> > -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
> > -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"qingbi\"
> > -DIDENT_HOSTNAME=\"qingbi-VirtualB\" -DIDENT_USERHASH=0xdca414e2L
> > -DIDENT_TIMESTAMP=0x53399425L -DIDENT_UIDHASH=0x1fc3b583L
> > -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
> > -fnesc-dump='referenced(interfacedefs, components)'
> > -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
> >     compiled BlinkAppC to build/micaz/main.exe
> >             2044 bytes in ROM
> >               51 bytes in RAM
> > avr-objcopy --output-target=srec build/micaz/main.exe
> build/micaz/main.srec
> > avr-objcopy --output-target=ihex build/micaz/main.exe
> build/micaz/main.ihex
> >     writing TOS image
> > cp build/micaz/main.srec build/micaz/main.srec.out
> >     installing micaz binary using mib510
> > uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9
> -dpart=ATmega128
> >  --wr_fuse_e=ff   --erase --upload if=build/micaz/main.srec.out --verify
> > Error: Permission denied
> >  -> /dev/ttyUSB0
> > make: *** [program] Error 1
> >
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140331/d1a7310a/attachment-0001.htm
>
> ------------------------------
>
> Message: 4
> Date: Mon, 31 Mar 2014 13:32:21 -0300
> From: Guilherme Politta <guilhermepoli...@gmail.com>
> Subject: Re: [Tinyos-help] make micaz install, permission denied
> To: Michael Andersen <m.ander...@berkeley.edu>
> Cc: Liao Qingbi <liaoqin...@gmail.com>, tinyos forum
>         <tinyos-help@millennium.berkeley.edu>
> Message-ID:
>         <CAC3Tn8XnBDd=S1HkVbB83wD=0DB5ir2ubYv21VDMO74W_hq=
> e...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> For a quick fix use:
>
> chmod 777 /dev/ttyUSB0
>
>
>
>
> 2014-03-31 13:28 GMT-03:00 Michael Andersen <m.ander...@berkeley.edu>:
>
> > Hi
> >
> > This is due to a lack of permissions on the USB serial device. The quick
> > hack is to program as root, the correct solution is to set up your udev
> > rules so that the permissions on the ttyUSB device allow writing by
> > unprivileged users.
> >
> > Regards
> > Michael
> >
> >
> > On 31 March 2014 09:24, Liao Qingbi <liaoqin...@gmail.com> wrote:
> >
> >> Hi, everybody
> >>
> >> I'm new to TinyOS and trying to write the simple Blink application into
> >> sensor mib510.  But I didn't succeed yet since there is always an error:
> >> Permission denied.
> >> I have already tried the command:
> >> $ sudo chown qingbi:qingbi -R /opt/tinyos-2.1.2/
> >> And it still doesn't work.
> >> By the way, the *make micaz sim* part could work well in my PC.
> >> The running result is attached below, hoping someone could help me out.
> >> Thank you so much.
> >>
> >> qingbi@qingbi-VirtualBox:~$ cd tinyos-2.1.2/apps/Blink/
> >> qingbi@qingbi-VirtualBox:~/tinyos-2.1.2/apps/Blink$ make micaz install
> >> mib510,/dev/ttyUSB0
> >> mkdir -p build/micaz
> >>     compiling BlinkAppC to a micaz binary
> >> ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
> >> -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
> >> -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
> >> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"qingbi\"
> >> -DIDENT_HOSTNAME=\"qingbi-VirtualB\" -DIDENT_USERHASH=0xdca414e2L
> >> -DIDENT_TIMESTAMP=0x53399425L -DIDENT_UIDHASH=0x1fc3b583L
> >> -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
> >> -fnesc-dump='referenced(interfacedefs, components)'
> >> -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
> >>     compiled BlinkAppC to build/micaz/main.exe
> >>             2044 bytes in ROM
> >>               51 bytes in RAM
> >> avr-objcopy --output-target=srec build/micaz/main.exe
> >> build/micaz/main.srec
> >> avr-objcopy --output-target=ihex build/micaz/main.exe
> >> build/micaz/main.ihex
> >>     writing TOS image
> >> cp build/micaz/main.srec build/micaz/main.srec.out
> >>     installing micaz binary using mib510
> >> uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9
> >> -dpart=ATmega128  --wr_fuse_e=ff   --erase --upload
> >> if=build/micaz/main.srec.out --verify
> >> Error: Permission denied
> >>  -> /dev/ttyUSB0
> >> make: *** [program] Error 1
> >>
> >>
> >> _______________________________________________
> >> Tinyos-help mailing list
> >> Tinyos-help@millennium.berkeley.edu
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
>
> --
> Guilherme Politta
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140331/534070ff/attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> End of Tinyos-help Digest, Vol 131, Issue 33
> ********************************************
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to