paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Master version - problem with flashing Lisa M 2.0


From: Michal Podhradsky
Subject: Re: [Paparazzi-devel] Master version - problem with flashing Lisa M 2.0
Date: Mon, 11 Feb 2013 20:08:37 -0700

OK, I got the idea:)
So I tried two Lisa M 2 boards, one with Aspirin 2.1, other one with 2.2.:

Output:
SB Device Firmware Upgrade - Host Utility -- version 1.3
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>

Found 1 DFU devices.
Found DFU device 061: ID 1d50:600f Transition Robotics Inc. - Lia (Upgrade) V1.1 - LI1-202 38FFD4053358383460452043
Could not find STM32 (autopilot) device.


and

USB Device Firmware Upgrade - Host Utility -- version 1.3
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>

Found 1 DFU devices.
Found DFU device 062: ID 1d50:600f Transition Robotics Inc. - Lia (Upgrade) V1.0 - LI1-175 39FFD9053252383431501843
Could not find STM32 (autopilot) device.


So it seems like it find Lia, but it doesnt think it is STM32...

M

On Mon, Feb 11, 2013 at 7:26 PM, Felix Ruess <address@hidden> wrote:
Hi Michal,

sorry, I changed that, trying to make it more robust (e.g. you don't accidentally upload to the wrong device, like the BMP).
However if you have Luftboot on it, it should still match.

To test and list what it finds, could you please run
/home/aggieair/paparazzi-github/master_debug/paparazzi/sw/tools/dfu/stm32_mem.py /home/aggieair/paparazzi-github/master_debug/paparazzi/var/Quad_LisaM_2/ap/ap.bin --verbose --dry-run
and post the output?

Cheers, Felix


On Tue, Feb 12, 2013 at 2:27 AM, Michal Podhradsky <address@hidden> wrote:
Hi,

I just updated to the newest master version (v4.9_devel-494-g214e09c), recompiled paparrazi (make ...), compiled an airframe code (Quad Lisa M) and tried to upload it. However, even though the right Lisa M 2 is connected and in bootloader mode (leds are flashing), I am getting the following error:

make[1]: Leaving directory `/home/aggieair/paparazzi-github/master_debug/paparazzi/sw/airborne'
cd sw/airborne; make TARGET=ap upload
Using "arch/stm32/lisa-m.ld" as ldscript for target "ap".
make[1]: Entering directory `/home/aggieair/paparazzi-github/master_debug/paparazzi/sw/airborne'
Using stm32 mem dfu loader
/usr/bin/python /home/aggieair/paparazzi-github/master_debug/paparazzi/sw/tools/dfu/stm32_mem.py /home/aggieair/paparazzi-github/master_debug/paparazzi/var/Quad_LisaM_2/ap/ap.bin
Could not find STM32 (autopilot) device.
make[1]: *** [upload] Error 1
make[1]: Leaving directory `/home/aggieair/paparazzi-github/master_debug/paparazzi/sw/airborne'
make: *** [ap.upload] Error 2
make: Leaving directory `/home/aggieair/paparazzi-github/master_debug/paparazzi'

FAILED 'make -C /home/aggieair/paparazzi-github/master_debug/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2 ap.upload' with code 2


My guess is that it is somehow related to this commit: https://github.com/paparazzi/paparazzi/commit/a57d6e865af161e7e0602538af74cfc3927450c6

Any ideas?

Thanks
M

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