paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Problem flashing Lisa/M on Ubuntu 13.10


From: Jorn Anke
Subject: Re: [Paparazzi-devel] Problem flashing Lisa/M on Ubuntu 13.10
Date: Mon, 11 Nov 2013 21:22:03 +0100

Hi Felix,

I updated from latest master and ran the tool with result:

address@hidden:~/paparazzi$ ./sw/tools/dfu/stm32_mem.py --list
...........................................................
No DFU devices found!


(After plugging usb-cable to Lisa, then connecting battery. => Lisa apparently going into flash-mode as expected). 

The serial nr. I added was for the xbee, from the instructions found here:
- http://paparazzi.enac.fr/wiki/Installation/Linux
- http://paparazzi.enac.fr/wiki/Udev
 
Cheers,

Jørn


Date: Mon, 11 Nov 2013 16:19:28 +0100
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Problem flashing Lisa/M on Ubuntu 13.10

Hi Jorge,

I just added a more verbose --list option to the tool (latest master), which will print available DFU devices.
Run ./sw/tools/dfu/stm32_mem.py --list

Also to flash there is no need to add the serial anywhere, the standard udev rules file from paparazzi should be sufficient.
Which serial did you add where?

When you connect the Lisa/M you should see a new device registered:
E.g. running "dmesg | tail" should show you something like:
[23947.376247] usb 1-1.1: new full-speed USB device number 9 using ehci_hcd
[23947.471733] usb 1-1.1: New USB device found, idVendor=1d50, idProduct=600f
[23947.471744] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[23947.471750] usb 1-1.1: Product: Lisa/M (Upgrade) V1.1
[23947.471756] usb 1-1.1: Manufacturer: Transition Robotics Inc.
[23947.471760] usb 1-1.1: SerialNumber: NSERIAL 39FFD4053252383451291843\x04

Cheers, Felix


On Sat, Nov 9, 2013 at 11:03 PM, Jorn Anke <address@hidden> wrote:
Hi,

I am having problem uploading to my Lisa/M after updating to Ubuntu 13.10. I think the problem is that paparazzi can't find the USB-connection, but I am not able to fix it.

UDEV rules are set:
-  ATTRS{serial}=="A600eGeX"
- (sudo cp conf/system/udev/rules/50-paparazzi.rules /etc/udev/rules.d/  )

plugdev and dialout groups:
- sudo adduser jorn plugdev
- sudo adduser jorn dialout

Anyone who can see what I am doing wrong?

Cheers,

Jørn


Result when trying to upload:

RUN 'make -C /home/jorn/paparazzi -f Makefile.ac AIRCRAFT=My_Lisa_Skywalker ap.upload '
make: Entering directory `/home/jorn/paparazzi'
-----------------------------------------------------------------------
Paparazzi version v5.1_devel-640-g69684d1-dirty
-----------------------------------------------------------------------
My_Lisa_Skywalker
BUILD My_Lisa_Skywalker, TARGET ap
make[1]: Entering directory `/home/jorn/paparazzi'
make[1]: Leaving directory `/home/jorn/paparazzi'
make[1]: Entering directory `/home/jorn/paparazzi'
make[1]: Nothing to be done for `radio_ac_h'.
make[1]: Leaving directory `/home/jorn/paparazzi'
make[1]: Entering directory `/home/jorn/paparazzi'
make[1]: Nothing to be done for `flight_plan_ac_h'.
make[1]: Leaving directory `/home/jorn/paparazzi'
cd sw/airborne; make TARGET=ap all
Using "arch/stm32/lisa-m.ld" as ldscript for target "ap".
make[1]: Entering directory `/home/jorn/paparazzi/sw/airborne'

Using CC   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-gcc
Using LD   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-gcc
Using CP   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-objcopy
Using DMP  = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-objdump
Using NM   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-nm
Using SIZE = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-size
GCC version:
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.7.4 20130913 (release) [ARM/embedded-4_7-branch revision 202601]


Previous size:
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/ap.elf  :
section              size         addr
.text             0x187ec    0x8002000
.data              0x3ff4   0x20000000
.bss               0x16e4   0x20003ff8
.debug_info       0x4000f          0x0
.debug_abbrev      0x853c          0x0
.debug_aranges     0x1ae8          0x0
.debug_line        0xd6fc          0x0
.debug_str         0x7eaa          0x0
.comment             0x70          0x0
.ARM.attributes      0x33          0x0
.debug_loc        0x1556b          0x0
.debug_ranges      0x4c08          0x0
.debug_frame       0x4c88          0x0
Total             0x9c33b



Current size:
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/ap.elf  :
section              size         addr
.text             0x187ec    0x8002000
.data              0x3ff4   0x20000000
.bss               0x16e4   0x20003ff8
.debug_info       0x4000f          0x0
.debug_abbrev      0x853c          0x0
.debug_aranges     0x1ae8          0x0
.debug_line        0xd6fc          0x0
.debug_str         0x7eaa          0x0
.comment             0x70          0x0
.ARM.attributes      0x33          0x0
.debug_loc        0x1556b          0x0
.debug_ranges      0x4c08          0x0
.debug_frame       0x4c88          0x0
Total             0x9c33b


make[1]: Leaving directory `/home/jorn/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/jorn/paparazzi/sw/airborne'
Using stm32 mem dfu loader
/usr/bin/python /home/jorn/paparazzi/sw/tools/dfu/stm32_mem.py   /home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/ap.bin
...........................................................
No DFU devices found!
make[1]: *** [upload] Error 1
make[1]: Leaving directory `/home/jorn/paparazzi/sw/airborne'
make: *** [ap.upload] Error 2
make: Leaving directory `/home/jorn/paparazzi'

FAILED 'make -C /home/jorn/paparazzi -f Makefile.ac AIRCRAFT=My_Lisa_Skywalker ap.upload' with code 2



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