paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Branch v4.0 some problem.


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Branch v4.0 some problem.
Date: Fri, 27 Jul 2012 01:22:11 +0200

Hi guys,

the default for lisa/m 2.0 is flashing via USB (FLASH_MODE = DFU) . You need to have the luftboot bootloader installed.
See http://paparazzi.enac.fr/wiki/Lisa/M_v20#Uploading_the_Paparazzi_USB_Bootloader for installation of luftboot if you don't have a lisa/m 2.0 with luftboot on it or you accidentally removed it.
If you want to flash via JTAG you need to set the the FLASH_MODE to JTAG as Christoph described.

Lisa/M 1.x still has JTAG as default flash mode...
Of course you need to set the correct lisa version in your airframe file...

Regarding nps, make sure you have the latest paparazzi-jsbsim package (version 1.4-1) from the paparazzi-uav PPA installed.
See http://paparazzi.enac.fr/wiki/JSBSim
There is no need to install JSBSim from source or adding anything to a raw makefile section in your airframe file with that package.
Which Ubuntu distribution are you using?

Cheers, Felix

On Fri, Jul 27, 2012 at 12:05 AM, Eduardo lavratti <address@hidden> wrote:
I not test your change !

its work when i change the AP target from lisa/m 2.0 to 1.0 that is my board.


Date: Fri, 27 Jul 2012 00:04:15 +0200

From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Branch v4.0 some problem.

... So its working now?

2012/7/27 Christoph Niemann <address@hidden>
Ok,

I had the Problem as well but I haven't hardware here and I'm not sure what I did. The Problem is that (it seems) the BM Programmer is default now. But you don't have it. According to my source, I changed the edited the Makefile for the Lisa/M:

ifndef FLASH_MODE
FLASH_MODE = JTAG
#FLASH_MODE = SERIAL
endif

I think that worked, but I can't test it.


Cheers

Christoph

2012/7/26 Eduardo lavratti <address@hidden>

not work


Date: Thu, 26 Jul 2012 23:52:09 +0200

From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Branch v4.0 some problem.

You should try to do something like

  <define name="FLASH_MODE" value="JTAG"/>

in your ap target (untested)

Cheers

Christoph

2012/7/26 Eduardo lavratti <address@hidden>
I am using a programmer from Jobby robotics.


Date: Thu, 26 Jul 2012 23:45:24 +0200
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Branch v4.0 some problem.


Hi Eduardo,

2012/7/26 Eduardo lavratti <address@hidden>
Well, i am trying to use v4.0 i got some errors:
___________________________________________________________________
1- when i try to upload the code to autopilot:
I am using lisa/m with jtag adapter.

USB Device Firmware Upgrade - Host Utility -- version 1.2
Copyright (C) 2011  Black Sphere Technologies
Copyright (C) 2012  Transition Robotics Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

No devices found!
make[1]: *** [upload] Error 255
make[1]: Leaving directory `/home/eduardo/paparazzi/sw/airborne'
make: *** [ap.upload] Error 2
make: Leaving directory `/home/eduardo/paparazzi'

Are you really using the Black Magic Programmer? Which one are you using, or do you use luftboot?
___________________________________________________________________
2- when i try to run rotorcraft  nps simulation error occours when compiling:

Paparazzi jsbsim package found: yes
CC /home/eduardo/paparazzi/var/Quad_LisaM_2/nps//home/eduardo/paparazzi/sw/simulator/nps/nps_main.o
CC /home/eduardo/paparazzi/var/Quad_LisaM_2/nps//home/eduardo/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.o
/home/eduardo/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.c:33:36: fatal error: models/FGAccelerations.h: No such file or directory
compilation terminated.
make[1]: *** [/home/eduardo/paparazzi/var/Quad_LisaM_2/nps//home/eduardo/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.o] Error 1
make[1]: Leaving directory `/home/eduardo/paparazzi/sw/airborne'
make: *** [nps.compile] Error 2
make: Leaving directory `/home/eduardo/paparazzi'

I also had this today. I solved it by uninstalling the paparazzi-jsbsim package and build it from scratch. Then I do "export LD_LIBRARY_PATH=/opt/jsbsim/lib" since my jsbsim is in /opt/ . Furthermore is added 

<makefile location="after">
   jsbsim.CFLAGS += -I/opt/jsbsim/include/JSBSim
   jsbsim.LDFLAGS += -L/opt/jsbsim/lib
 </makefile>

to my airframe.

Hope it helps

Christoph
 
_______________________________________________
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]