[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] 答复: Problem with luftboot on Lisa M 2.1
From: |
banditniu |
Subject: |
Re: [Paparazzi-devel] 答复: Problem with luftboot on Lisa M 2.1 |
Date: |
Mon, 5 Jan 2015 05:17:17 -0700 (MST) |
Finally I made it by reinstalling paparazzi software!Thanks! HERE is the
report:
At first,I couldn't check cranch v5.3 and don't exactly know the reason. I
reinstalled ppz software and checked to v5.3 branch
.Then I reflashed luftboot by jlink v8 into my board and successfully
uploaded 'ap.hex' into lisa m.
*flash luftboot complete*:
/address@hidden:/home/bandit/paparazzi/sw/ext/luftboot/src# make
flash DEV_SERIAL="LM2-020"
OOCD luftboot.hex
Open On-Chip Debugger 0.9.0-dev-00209-gc3ec194 (2014-12-12-18:33)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Error: session's transport is not selected.
Info : session transport was not selected, defaulting to JTAG
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
cortex_m reset_config sysresetreq
Info : J-Link ARM V8 compiled Jan 31 2018 18:34:52
Info : J-Link caps 0xb9ff7bbf
Info : J-Link hw version 80000
Info : J-Link hw type J-Link
Info : J-Link max mem block 8368
Info : J-Link configuration
Info : USB-Address: 0x0
Info : Kickstart power on JTAG-pin 19: 0x0
Info : Vref = 3.325 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 1 TRST = 1
Info : J-Link JTAG Interface ready
Info : clock speed 1000 kHz
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b,
part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x06418041 (mfg: 0x020, part:
0x6418, ver: 0x0)
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Error: stm32f1x.cpu -- clearing lockup after double fault
Polling target stm32f1x.cpu failed, GDB will be halted. Polling again in
100ms
Polling target stm32f1x.cpu succeeded again, trying to reexamine
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b,
part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x06418041 (mfg: 0x020, part:
0x6418, ver: 0x0)
target state: halted
target halted due to debug-request, current mode: Handler HardFault
xPSR: 0x01000003 pc: 0x08001732 msp: 0x20004fe0
auto erase enabled
Info : device id = 0x10016418
Info : flash size = 256kbytes
Info : Padding image section 0 with 1632 bytes
wrote 8192 bytes from file luftboot.hex in 0.412694s (19.385 KiB/s)
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b,
part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x06418041 (mfg: 0x020, part:
0x6418, ver: 0x0)
target state: halted
target halted due to breakpoint, current mode: Handler HardFault
xPSR: 0x61000003 pc: 0x2000003a msp: 0x20004fe0
shutdown command invoked
address@hidden:/home/bandit/paparazzi/sw/ext/luftboot/src# /
upload ap.hex succed:
/RUN 'make -C /home/bandit/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2
ap.upload '
make: Entering directory `/home/bandit/paparazzi'
-----------------------------------------------------------------------
Paparazzi version v5.3.3_testing-18-g8a4d3d7-dirty
-----------------------------------------------------------------------
#######################################
# BUILD AIRCRAFT=Quad_LisaM_2, TARGET ap
#######################################
make[1]: Entering directory `/home/bandit/paparazzi'
GENERATE autopilots in
/home/bandit/paparazzi/var/aircrafts/Quad_LisaM_2/ap/generated/
make[1]: Leaving directory `/home/bandit/paparazzi'
make[1]: Entering directory `/home/bandit/paparazzi'
make[1]: Nothing to be done for `radio_ac_h'.
make[1]: Leaving directory `/home/bandit/paparazzi'
make[1]: Entering directory `/home/bandit/paparazzi'
make[1]: Nothing to be done for `flight_plan_ac_h'.
make[1]: Leaving directory `/home/bandit/paparazzi'
cd sw/airborne; make -j4 TARGET=ap all
Using "arch/stm32/lisa-m.ld" as ldscript for target "ap".
make[1]: Entering directory `/home/bandit/paparazzi/sw/airborne'
GCC version: arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3
20141119 (release) [ARM/embedded-4_9-branch revision 218278]
Previous size:
/home/bandit/paparazzi/var/aircrafts/Quad_LisaM_2/ap/ap.elf :
section size addr
.text 0x1a50c 0x8002000
.ARM.exidx 0x8 0x801c50c
.data 0x4484 0x20000000
.bss 0x1c20 0x20004488
.debug_info 0x403f5 0x0
.debug_abbrev 0xa079 0x0
.debug_loc 0x153c0 0x0
.debug_aranges 0x2180 0x0
.debug_ranges 0x31a8 0x0
.debug_line 0x10029 0x0
.debug_str 0xa7b3 0x0
.comment 0x70 0x0
.ARM.attributes 0x31 0x0
.debug_frame 0x6fe0 0x0
Total 0xa696b
Current size:
/home/bandit/paparazzi/var/aircrafts/Quad_LisaM_2/ap/ap.elf :
section size addr
.text 0x1a50c 0x8002000
.ARM.exidx 0x8 0x801c50c
.data 0x4484 0x20000000
.bss 0x1c20 0x20004488
.debug_info 0x403f5 0x0
.debug_abbrev 0xa079 0x0
.debug_loc 0x153c0 0x0
.debug_aranges 0x2180 0x0
.debug_ranges 0x31a8 0x0
.debug_line 0x10029 0x0
.debug_str 0xa7b3 0x0
.comment 0x70 0x0
.ARM.attributes 0x31 0x0
.debug_frame 0x6fe0 0x0
Total 0xa696b
make[1]: Leaving directory `/home/bandit/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/bandit/paparazzi/sw/airborne'
Using stm32 mem dfu loader
/usr/bin/python /home/bandit/paparazzi/sw/tools/dfu/stm32_mem.py
/home/bandit/paparazzi/var/aircrafts/Quad_LisaM_2/ap/ap.bin
Using device 007: ID 1d50:600f Transition Robotics Inc. - Lisa/M (Upgrade)
V1.1 - NSERIAL 31FFD4054248363561400343
Programming memory from 0x08002000...
[0%=====================50%=====================100%]
##################################################
All operations complete!
make[1]: Leaving directory `/home/bandit/paparazzi/sw/airborne'
make: Leaving directory `/home/bandit/paparazzi'
DONE 'make -C /home/bandit/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2
ap.upload'/
CHEERS FLIXR!
--
View this message in context:
http://lists.paparazziuav.org/Problem-with-luftboot-on-Lisa-M-2-1-tp16558p16606.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.