paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Lisa/M 2.0 and Aspirin 2.1 available in the Quadsh


From: Loic Drumettaz
Subject: Re: [Paparazzi-devel] Lisa/M 2.0 and Aspirin 2.1 available in the Quadshot store
Date: Wed, 6 Jun 2012 08:48:33 +0200

Hello,

I have a lisa M V2.0 that i wanted to flash using floss jtag. I found that the following needs to be added to the airframe configuration file:
<configure name="FLASH_MODE" values="JTAG"/>
<configure name="NO_LUFTBOOT" value="1"/>
I suppose I can add this to the lisa m v2.0 page?

Regards
Loïc



From: Piotr Esden-Tempski
Subject: Re: [Paparazzi-devel] Lisa/M 2.0 and Aspirin 2.1 available in the Quadshot store
Date: Fri, 13 Apr 2012 19:38:23 -0700

Hey guys,

Sorry for the delayed answer. I was quasi offline the last two weeks.

I just added basic support for luftboot to the dev branch. If you set your 
airframe to use lisal/m 2.0 as it's board the targets will be generating 
firmware that is relocated to 0x8002000 and will use gareths' dfu flashing 
script by default.

After you flashed a payload once you will need to short the ADC2 pin to ground 
to force the bootloader to stay in bootloader mode. Then you can reflash the 
firmware again.

This should not be necessary in the future when we have added a usb stack stub 
to the paparazzi firmware that allows switching to the bootloader using 
software. An example how this could be done is in the luftboot repository. 
(cdcacm example)

Also if you already flashed your lisa/m 2.0 with a firmware using JTAG (and 
overwrote the bootloader) you can restore the bootloader by checking out 
luftboot repository (https://github.com/paparazzi/luftboot) and running:

make clean && make flash DEV_SERIAL="LM2-ser"

in the src directory, where "ser" stands for the serial number of your Lisa/M. 
So for example if you have lisa/m with the serial number 020 this would be:

make clean && make flash DEV_SERIAL="LM2-020"

You still can use FLOSS jtag or Black Magic probe when using the bootloader. It 
"should" not overwrite the bootloader when using the lisa/m 2.0 board. But you 
have to change the FLASH_MODE to JTAG. Look into conf/boards/lisa_m_2.0.makefile

I hope this helps.

Cheers Esden

reply via email to

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