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: Gareth Roberts
Subject: Re: [Paparazzi-devel] Lisa/M 2.0 and Aspirin 2.1 available in the Quadshot store
Date: Wed, 11 Apr 2012 10:30:43 +0100
User-agent: Opera Mail/11.62 (Linux)

Sorry, the correct entry point is NOT 0x8002000.
That's the location of the text section in the blackmagic.bin example.

Cheers,
Gareth

On Wed, 11 Apr 2012 10:27:22 +0100, Gareth Roberts <address@hidden> wrote:

Hi Marc,

That's great, good to see it's working.
I actually used stm32_mem.py from here https://github.com/paparazzi/luftboot/tree/master/scripts.

I tried modifying the linker script in paparazzi/sw/airborne/arch/stm32/stm32f103re_flash.ld to correct the entry point but that didn't work. The correct entry point from the black-magic docs is 0x8002000, which is also repeated in stm32_mem.py as the offset to start programming from. The blackmagicdebug makefiles have a file designed to be loaded via stm32_mem, and the makefile has the .text section relocated to 0x8002000 and the flash origin @ 0x8000000, just like the paparazzi linker file. I'm now out of Lisa's with bootloaders, but in the interests of helping others:
- Loading ap.bin directly via stm32_mem.py doesn't work
- Modifying Makefile.stm32 to include the LDFLAGS -Wl,-Ttext=0x8002000 doesn't work

I've got a jtag cable on the way, so I'm probably going to give up and switch to jtag for the time being rather than remove the diode. It's just frustrating - the bootloader is there, the programmer seems to work, we just need someone to tell us what we are doing wrong :)

Cheers,
Gareth

On Tue, 10 Apr 2012 23:45:09 +0100, Marc Schwarzbach <address@hidden> wrote:

Hi Gareth
(and all others with Lisa/M but without JTAG :-)

just had the same experience as you.. Blinky, upload ap.bin, End.

I think Esden is very busy with the quadshot at the moment (and on holiday). So I wanted to program the Lisa anyway...

My way is using the "traditional" serial bootloader. It´s a hack, it´s slow, but it works (just got it working some minutes ago).

In short: remove diode (usb->VIN), connect aspirin ACC_INT to GND (Boot1), Boot0 to 3,3V, Connect 3,3V FTDI to UART1 (TX/Lisa=USB-VBus).

Then change the loader path in the stm32 makefile to your directory where you put it (ok, download it before... https://github.com/jsnyder/stm32loader)

Set flash mode to serial in airframe file.

Power on (no longer over USB! Set jumpers correctly before)

Upload!

Wait :-)

If there is greater interest, I could write something for the wiki.
Then it would also be good to adjust the path and add the loader to the repo permanently...

Cheers

Marc


-------- Original-Nachricht --------
Datum: Tue, 10 Apr 2012 15:30:12 +0100
Von: "Gareth Roberts" <address@hidden>
An: address@hidden
Betreff: Re: [Paparazzi-devel] Lisa/M 2.0 and Aspirin 2.1 available in the Quadshot store

Hi Esden,

Could you quickly detail how to use luftboot?
I tried flashing ap.bin to a lisa/m 2.0 via stm32_mem.py, it programmed
fine but the bootloader is now stuffed and it doesn't seem to be doing
anything.
Presumably the offsets are wrong?
I'm on locm3 but all airframe files still try to upload via jtag.

Cheers,
Gareth

On Thu, 22 Mar 2012 22:05:45 -0000, Piotr Esden-Tempski <address@hidden>
wrote:

> Hi everyone,
>
> As you may know we were working very hard the last few months developing

> the next version of Lisa/M and Aspirin.
>
> Finally both are back from the production and you are able to obtain
> both separately or together in the Quadshot store
> (http://thequadshot.com)
>
> The support for Lisa/M 2.0 as well as Aspirin 2.1 are in the dev branch
> of paparazzi.
>
> Two biggest improvements are:
> - Aspirin 2.1 uses MPU-6000 over SPI and the magnetometer is connected > to its slave i2c interface. This improves robustness and time alignment
> of the sensor sampling.
> - On Lisa/M 2.0 you can use USB and the TX line to the GPS
simultaneously
> - Lisa/M 2.0 comes with luftboot boot loader preloaded. (Support in
> paparazzi libocm3 branch will be added in the next couple of days)
>
> The hardware should still be considered for developers only. We continue

> working hard on testing and improving the drivers but several people
> were already flying this hardware on fixed wings and multicopters.
> (Thanks Erik and Christophe)
>
> Cheers Piotr Esden-Tempski
>
> --
> Transition Robotics Inc.
> http://transition-robotics.com
> the makers of the Quadshot
> Co-Founder, Embedded systems Engineer
> Mobile: +1 831 440 7454
> Skype: esdentem
>
>
> _______________________________________________
> 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]