On Fri, May 6, 2011 at 11:23 AM, pedro andrade <
address@hidden> wrote:
> Hi chris,
> Could you explain me what means "PAPARAZZI_HOME"?
> Thank you for your attention.
> Cheers!
>> Date: Fri, 6 May 2011 09:42:18 +1000
>> From:
address@hidden
>> To:
address@hidden
>> Subject: Re: [Paparazzi-devel] How compile Lisa L
>>
>> Hi Pedro,
>>
>> this message
>>
>> > cp: can not stat 'conf/system/udev/rules/10-paparazzi.rules': No such
>> > file or directory
>>
>> means that the cp command can not find the file. "stat" is a system
>> call (checking a file exists, what it's access settings are, etc) used
>> by the cp command and just about everything else that touches the file
>> system. "cp" is failing before it even tries to copy the file, so It's
>> nothing to do with permissions in the target directory
>> (/etc/udev/rules.d/).
>>
>> Note that stat is complaining about a relative file path (it doesn't
>> start with a slash). The reason Chrstophe guessed that your
>> PAPARAZZI_HOME variable was not set is that your PAPARAZZI_HOME
>> variable should be set to an absolute path (e.g.
>> "/home/kingkong/src/paparazzi/" or something like that - starts with a
>> slash). If you had PAPARAZZI_HOME set to
>> "/home/kingcong/src/paparazzi/", then the error message would say
>> this: "cp: can not stat
>> '/home/kingcong/src/paparazzi/conf/system/udev/rules/10-paparazzi.rules':
>> No such file or directory"
>>
>> What is the output when you enter "env | grep PAPARAZZI" ? if you
>> don't get back a line telling you what PAPARAZZI_HOME is then you
>> don't have one in your current shell's environment.
>>
>> You could just manually type the full path to
>> udev/rules/10-paparazzi.rules into your cp command instead of
>> resolving the PAPARAZZI_HOME issues, but you should probably get on
>> top of that or it might cause you issues further down the track.
>>
>> Chris Gough
>>
>> On Fri, May 6, 2011 at 2:01 AM, pedro andrade <
address@hidden>
>> wrote:
>> > Hi Chrstophe,
>> > In my case, this is done.
>> > But, I can't copy. And I know that I'm the hoot.
>> > This is mensage that returns : cp: can not stat
>> > 'conf/system/udev/rules/10-paparazzi.rules': No such file or directory
>> >
>> > Cheers!
>> > ________________________________
>> > Date: Thu, 5 May 2011 08:25:34 +0200
>> > From:
address@hidden
>> > To:
address@hidden
>> > Subject: Re: [Paparazzi-devel] How compile Lisa L
>> >
>> > Hi,
>> > if your environment variable $PAPARAZZI_HOME is not set then you should
>> > fill
>> > in your paparazzi path manually like:
>> > sudo cp /home/pedro/paparazzi/conf/system/udev/rules/10-paparazzi.rules
>> > /etc/udev/rules.d/
>> > (change to your real paparazzi directory location)
>> > When plugging in the usb, nothing visible happens, but with the proper
>> > packages installed (paparazzi-stm32) and the rules above you should be
>> > able
>> > to upload some test programs to lisa.
>> >
>> > -Christophe
>> >
>> >
>> >
>> > On Thu, May 5, 2011 at 5:11 AM, pedro andrade <
address@hidden>
>> > wrote:
>> >
>> > Hey Chris,
>> > In my case, I connect the board (Lisa / L STM 32), USB cable and nothing
>> > appears!
>> > Is this correct or is there a specific bootloader?
>> > I tried this steps up and is going wrong!
>> > I typed the following line in Terminal prompt:
>> > $ sudo cp $ PAPARAZZI_HOME/conf/system/udev/rules/10-paparazzi.rules /
>> > etc /
>> > udev / rules.d /
>> > and the following message is returned:
>> > cp: can not stat 'conf/system/udev/rules/10-paparazzi.rules': No such
>> > file
>> > or directory
>> > and this is exists!
>> > In case I know that the directory is correct. I don't understand the
>> > error.
>> > Why?
>> > Other question is:
>> > *I need some peripheral coupled with the autopilot to compiling?
>> > *The commands the which is on
>> > webpage(
http://paparazzi.enac.fr/wiki/Compiling#USB_flashing) is to
>> > digit in
>> > terminal prompt or in the Paparazzi Center?
>> > *I need to change any pre-existing file for this compiling?
>> > Cheers!
>> >> Date: Tue, 3 May 2011 09:47:51 +1000
>> >> From:
address@hidden
>> >> To:
address@hidden
>> >> Subject: Re: [Paparazzi-devel] How compile Lisa L
>> >>
>> >> OK, I'll try :)
>> >>
>> >> Starting with the command "make AIRCRAFT=DEMO demo2.upload":
>> >>
>> >> "make" is the GNU make program, a kind specialized interpreter for
>> >> running a program that builds software. It should be installed on your
>> >> system (it's a paparazzi prerequisite).
>> >>
>> >> make looks for a file called Makefile, which is the actual program
>> >> that tells it how to build the software. In our case, it runs the
>> >> Paparazzi Makefile (which is included part of the paparazzi sysem).
>> >> This Makefile includes other files. "AIRCRAFT=DEMO demo2.upload" are
>> >> arguments that make sense to the Paparazzi Makefile.
>> >>
>> >> AIRCRAFT=DEMO means use the aircraft configuration called "demo".
>> >> There are probably a few aircraft configurations specified in the
>> >> conf/conf.xml. This file specifies a number of default configurations,
>> >> and you will add others as you progress. As it happens I don't have an
>> >> aircraft called demo in my system, I just fixed the typo in the link
>> >> to the page about that.
>> >>
>> >> The second argument "demo2.upload" is the verb, it's what you are
>> >> actually asking make to do. It means install the software (called
>> >> demo2) onto the paparazzi autopilot hardware, (as per the appropriate
>> >> configuration).
>> >>
>> >> For the demo2.upload command to work, it has to be configured in the
>> >> DEMO aircraft. Also, the autopilot hardware needs to be plugged into
>> >> your computer and powered up in the correct sequence so that it run's
>> >> it's bootloader program (i.e. is ready to have software loaded onto
>> >> it). This bit of output:
>> >>
>> >> Found USB device
>> >> BootROM code: 2.12
>> >> Part ID: 0x0402FF25 (LPC2148, 512k Flash, 32k+8k RAM)
>> >> BootLoader version: 1.3
>> >> #
>> >>
>> >> means your computer can see the autopilot, which is running the
>> >> bootloader, so if you get this far you are ready for step 3 :)
>> >>
>> >> What output do you get when you run "make AIRCRAFT=DEMO demo2.output"?
>> >> Do you have a "demo" configured?
>> >>
>> >> Hope that helps.
>> >>
>> >> Chris Gough
>> >>
>> >> On Tue, May 3, 2011 at 9:09 AM, pedro andrade
>> >> <
address@hidden>
>> >> wrote:
>> >> > Hey Chris,
>> >> > I would like for a detailed explanation of all the output.
>> >> > Please which means: DEMO and which means: demo2.upload (this is the
>> >> > file?)
>> >> > Cheers.
>> >> >> Date: Sat, 30 Apr 2011 07:15:30 +1000
>> >> >> From:
address@hidden
>> >> >> To:
address@hidden
>> >> >> Subject: Re: [Paparazzi-devel] How compile Lisa L
>> >> >>
>> >> >> Hey Pedro,
>> >> >>
>> >> >> which bit don't you get?
>> >> >>
>> >> >> you just type "make AIRCRAFT=DEMO demo2.upload" and check that the
>> >> >> output contains the important text, i.e. something similar to this:
>> >> >>
>> >> >> Found USB device
>> >> >> BootROM code: 2.12
>> >> >> Part ID: 0x0402FF25 (LPC2148, 512k Flash, 32k+8k RAM)
>> >> >> BootLoader version: 1.3
>> >> >> #
>> >> >>
>> >> >> Or are you looking for a detailed explanation of all the output?
>> >> >>
>> >> >> Chris Gough
>> >> >>
>> >> >> On Sat, Apr 30, 2011 at 6:46 AM, pedro andrade
>> >> >> <
address@hidden>
>> >> >> wrote:
>> >> >> > Hey World!
>> >> >> > Can somebody explain to me the "Step 2"? Link page
>> >> >> > :
http://paparazzi.enac.fr/wiki/Compiling#Step_2
>> >> >> > Cheers
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > Paparazzi-devel mailing list
>> >> >> >
address@hidden
>> >> >> >
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> .
>> >> >>
>> >> >> _______________________________________________
>> >> >> Paparazzi-devel mailing list
>> >> >>
address@hidden
>> >> >>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >> >
>> >> > _______________________________________________
>> >> > Paparazzi-devel mailing list
>> >> >
address@hidden
>> >> >
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> .
>> >>
>> >> _______________________________________________
>> >> Paparazzi-devel mailing list
>> >>
address@hidden
>> >>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >
>> > _______________________________________________
>> > Paparazzi-devel mailing list
>> >
address@hidden
>> >
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >
>> >
>> >
>> > _______________________________________________ Paparazzi-devel mailing
>> > list
>> >
address@hidden
>> >
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> > _______________________________________________
>> > Paparazzi-devel mailing list
>> >
address@hidden
>> >
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >
>> >
>>
>>
>>
>> --
>> .
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>>
address@hidden
>>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
>
address@hidden
>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
--
.
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel