Hi,Ralph,
Do you mean if I want to load the Blink to the imote2, I have to load the app
under windows,even though I can compile the Blink under Linux?
And I can compile the Blink under linux and I have set the environment variables
following the instructions#2126. But every time I type the ¡°make intelmote2
install bootloader¡±,there is always an error:
root@xiexun-desktop:/opt/tinyos-2.x/apps/Blink# make intelmote2 install
bootloader
mkdir -p build/intelmote2
xscale-elf-gcc -c /opt/tinyos-2.x/tos/platforms/intelmote2/toscrt0.s
/opt/tinyos-2.x/tos/chips/pxa27x/pxa27x_util.s -o build/intelmote2/asms.o
compiling BlinkAppC to a intelmote2 binary
ncc -o build/intelmote2/main.exe -Os -Wall -Wshadow -Wnesc-all
-target=intelmote2 -fnesc-cfile=build/intelmote2/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"xiexun-desktop\"
-DIDENT_USERHASH=0x561f08acL -DIDENT_TIMESTAMP=0x4a4d43f3L
-DIDENT_UIDHASH=0x10aa81b1L -DPXA27X_13M
-T/opt/tinyos-2.x/tos/platforms/intelmote2/tos.x BlinkAppC.nc -lm
build/intelmote2/asms.o
compiled BlinkAppC to build/intelmote2/main.exe
7452 bytes in ROM
70 bytes in RAM
xscale-elf-objcopy --output-target=binary build/intelmote2/main.exe
build/intelmote2/main.bin.out
installing intelmote2 binary using jflashmm
jflashmm.exe bulbcx16 build/intelmote2/main.bin.out P 0x0
make: jflashmm.exe£ºcommand not found
make: *** [program] error 127
I thought the "jflashmm.exe£ºcommand not found" could be ignored under linux,but
what's wrong with it?
Regards,
Alexis.
--- In intel-mote2-community@yahoogroups.com, "Ralph Kling" <rkling@...> wrote:
>
> No you can compile the app under Linux. You then have to load the main.bin.out
file using the USB loader under Windows.
>
>
>
> Ralph
>
>
>
> ________________________________
>
> From: intel-mote2-community@yahoogroups.com
[mailto:intel-mote2-community@yahoogroups.com] On Behalf Of xiexun2002
> Sent: Thursday, July 02, 2009 9:12 AM
> To: intel-mote2-community@yahoogroups.com
> Subject: [intel-mote2-community] Re: USBLoaderHost.exe: Permission denied
>
>
>
>
>
>
>
>
> HI,Ralph,
>
> Does it mean that I have to install the tinyos-2.x under Windows if i want to
us the bootloader in tinyos-2.x-contrib? Is there any bootloader for linux now?
>
> Regards,
> Alexis.
>
> --- In intel-mote2-community@yahoogroups.com
<mailto:intel-mote2-community%40yahoogroups.com> , "Ralph Kling" <rkling@>
wrote:
> >
> > Hi Amy,
> >
> >
> >
> > as I said, there is currently no Linux application that lets you do that.
There is a Windows emulator for Linux called wine which may let you run Windows
applications under Linux but I have never tried that...
> >
> >
> >
> > Ralph
> >
> >
> >
> >
> >
> > ________________________________
> >
> > From: intel-mote2-community@yahoogroups.com
<mailto:intel-mote2-community%40yahoogroups.com>
[mailto:intel-mote2-community@yahoogroups.com
<mailto:intel-mote2-community%40yahoogroups.com> ] On Behalf Of amy_haha09
> > Sent: Tuesday, June 30, 2009 6:48 PM
> > To: intel-mote2-community@yahoogroups.com
<mailto:intel-mote2-community%40yahoogroups.com>
> > Subject: [intel-mote2-community] Re: USBLoaderHost.exe: Permission denied
> >
> >
> >
> >
> >
> >
> >
> >
> > Thank you so much Ralph. I have another question,can I use USB to upload
application
> > to imote2 under linux ,and how to . If you know please show me the detail
about the
> > commands or steps.
> >
> > Thanks a lot.
> >
> > Amy.
> >
> > --- In intel-mote2-community@yahoogroups.com
<mailto:intel-mote2-community%40yahoogroups.com>
<mailto:intel-mote2-community%40yahoogroups.com> , "Ralph Kling" <rkling@>
wrote:
> > >
> > > Hi Amy,
> > >
> > >
> > >
> > > The USBLoaderHost is a Windows program so it will not work under Linux. It
might work under wine but I have never tried it.
> > >
> > >
> > >
> > > Ralph
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > >
> > > From: intel-mote2-community@yahoogroups.com
<mailto:intel-mote2-community%40yahoogroups.com>
<mailto:intel-mote2-community%40yahoogroups.com>
[mailto:intel-mote2-community@yahoogroups.com
<mailto:intel-mote2-community%40yahoogroups.com>
<mailto:intel-mote2-community%40yahoogroups.com> ] On Behalf Of amy_haha09
> > > Sent: Tuesday, June 30, 2009 1:52 AM
> > > To: intel-mote2-community@yahoogroups.com
<mailto:intel-mote2-community%40yahoogroups.com>
<mailto:intel-mote2-community%40yahoogroups.com>
> > > Subject: [intel-mote2-community] USBLoaderHost.exe: Permission denied
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > When I do the command on ubuntu 8.10:
> > > /opt/tinyos-2.x/apps/Blink# make intelmote2 install bootloader
> > > I just met the following problem:
> > > -------------
> > > /opt/tinyos-2.x-contrib/intelmote2/support/make/bootloader.extra:14:
warning£ºcover the command about target ¡°program¡±
> > > /opt/tinyos-2.x/support/make/pxa27x/jflashmm.extra:13: warning£ºneglect
the old command about target¡°program¡±
> > > /opt/tinyos-2.x-contrib/intelmote2/support/make/bootloader.extra:18:
warning£ºcover the command about target¡°program_input¡±
> > > /opt/tinyos-2.x/support/make/pxa27x/jflashmm.extra:18: warning£ºneglect
the old command about target¡°program_input¡±
> > > /opt/tinyos-2.x-contrib/intelmote2/support/make/intelmote2.extra:39:
warning£ºcover the command about target¡°bytes¡±
> > > /opt/tinyos-2.x/support/make/pxa27x/pxa27x.rules:102: warning£ºneglect the
old command about target¡°bytes¡±
> > > mkdir -p build/intelmote2
> > > echo -mcpu=iwmmxt -mfpu=softfpa -defsym BOOTLOADER=1
/opt/tinyos-2.x-contrib/intelmote2/tos/platforms/intelmote2/toscrt0.s
/opt/tinyos-2.x-contrib/intelmote2/tos/chips/pxa27x/pxa27x_util.s
/opt/tinyos-2.x-contrib/intelmote2/tos/chips/pxa27x/mmu_table.s -o
build/intelmote2/asms.o
> > > -mcpu=iwmmxt -mfpu=softfpa -defsym BOOTLOADER=1
/opt/tinyos-2.x-contrib/intelmote2/tos/platforms/intelmote2/toscrt0.s
/opt/tinyos-2.x-contrib/intelmote2/tos/chips/pxa27x/pxa27x_util.s
/opt/tinyos-2.x-contrib/intelmote2/tos/chips/pxa27x/mmu_table.s -o
build/intelmote2/asms.o
> > > compiling BlinkAppC to a intelmote2 binary
> > > ncc -o build/intelmote2/main.exe -Os
-I/opt/tinyos-2.x-contrib/intelmote2/tos/platforms/intelmote2/chips/da9030
-I/opt/tinyos-2.x-contrib/intelmote2/tos/platforms/intelmote2
-I/opt/tinyos-2.x-contrib/intelmote2/tos/chips/pxa27x
-I/opt/tinyos-2.x-contrib/intelmote2/tos/sensorboards/im2cb
-I/opt/tinyos-2.x-contrib/intelmote2/tos/sensorboards/xbow_cb
-I/opt/tinyos-2.x-contrib/intelmote2/tos/platforms/intelmote2/chips/da9030
-I/opt/tinyos-2.x-contrib/intelmote2/tos/platforms/intelmote2
-I/opt/tinyos-2.x-contrib/intelmote2/tos/chips/pxa27x
-I/opt/tinyos-2.x-contrib/intelmote2/tos/chips/ov7649
-I/opt/tinyos-2.x-contrib/intelmote2/tos/chips/ov7670 -Wall -Wshadow -Wnesc-all
-target=intelmote2 -fnesc-cfile=build/intelmote2/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -DBOOTLOADER -DPXA27X_13M
-T/opt/tinyos-2.x-contrib/intelmote2/tos/platforms/intelmote2/tos.x BlinkAppC.nc
-lm /opt/tinyos-2.x-contrib/intelmote2/tos/platforms/intelmote2/toscrt0.s
/opt/tinyos-2.x-contrib/intelmote2/tos/chips/pxa27x/pxa27x_util.s
/opt/tinyos-2.x-contrib/intelmote2/tos/chips/pxa27x/mmu_table.s
> > > compiled BlinkAppC to build/intelmote2/main.exe
> > > 33372 bytes in ROM
> > > 230 bytes in RAM
> > > 9216 bytes in STACK
> > > 252698 bytes available in HEAP
> > > xscale-elf-objcopy --output-target=binary build/intelmote2/main.exe
build/intelmote2/main.bin.out
> > > installing intelmote2 binary using the USB boot loader
> > >
/opt/tinyos-2.x-contrib/intelmote2/tools/platforms/intelmote2/bootloader//USBLoa\
derHost.exe -p build/intelmote2/main.bin.out
> > > make: execvp:
/opt/tinyos-2.x-contrib/intelmote2/tools/platforms/intelmote2/bootloader//USBLoa\
derHost.exe: Permission denied
> > > make: *** [program] ´íÎó 127
> > > ------------------
> > > if you know why ,please help me . Thanks a lot.
> > >
> > > regards!
> > >
> > > amy
> > >
> >
>