I've acquired 2 Lisa M2 boards from TRI and don't think I'm getting the correct results for the LED test. The LED's remain on for the entire time and there's no single one blinking or any other following a kind of
pattern.
When the AP is loaded, the red led is blinking @ 1Hz and the AHRS led blinks a while, then remains lit. This tells me the timer is working. I've also been able to get serial output/input, as the GCS is showing a couple of messages
up to the GPS block (GPS is not yet configured).
With the tunnel firmware (in an attempt to configure my SkyTraq GPS), I'm getting no output whatsoever. When the UART test is uploaded, all LEDs also turn on and remain fixed, but there's no output from the serial connector.
I've removed all other peripherals at this time and only use the USB to power the device.
Here's the output of the build and upload cycle:
CC /work/paparazzi/var/Maja/test_led/./mcu.o CC /work/paparazzi/var/Maja/test_led/arch/stm32/mcu_arch.o
CC /work/paparazzi/var/Maja/test_led/arch/stm32/stm32_exceptions.o CC /work/paparazzi/var/Maja/test_led/arch/stm32/stm32_vector_table.o arch/stm32/stm32_vector_table.c:206:5: warning: taking address of _expression_ of type 'void' [enabled by default]
CC /work/paparazzi/var/Maja/test_led/mcu_periph/sys_time.o CC /work/paparazzi/var/Maja/test_led/arch/stm32/mcu_periph/sys_time_arch.o CC /work/paparazzi/var/Maja/test_led/arch/stm32/led_hw.o CC /work/paparazzi/var/Maja/test_led/lisa/test_led.o
LD /work/paparazzi/var/Maja/test_led/test_led.elf OBJCB /work/paparazzi/var/Maja/test_led/test_led.bin OBJCH /work/paparazzi/var/Maja/test_led/test_led.hex
DONE (exec make -C /work/paparazzi -f Makefile.ac AIRCRAFT=Maja test_led.compile 2>&1)
Run 'make -C /work/paparazzi -f Makefile.ac AIRCRAFT=Maja test_led.upload '
make: Entering directory `/work/paparazzi' Maja ... cd sw/airborne; make PAPARAZZI_SRC=/work/paparazzi PAPARAZZI_HOME=/work/paparazzi TARGET=test_led all make[1]: Entering directory `/work/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 (Linaro GCC 4.6-2011.09-1) 4.6.2 20110908 (prerelease)
*** Using multilib *** -------------------------------------- ...
make[1]: Leaving directory `/work/paparazzi/sw/airborne' cd sw/airborne; make PAPARAZZI_SRC=/work/paparazzi PAPARAZZI_HOME=/work/paparazzi TARGET=test_led upload
make[1]: Entering directory `/work/paparazzi/sw/airborne' Using stm32 mem dfu loader /usr/bin/python /work/paparazzi/sw/tools/dfu/stm32_mem.py /work/paparazzi/var/Maja/test_led/test_led.bin
USB Device Firmware Upgrade - Host Utility -- version 1.2
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>
Device 032: ID 1d50:600f Transition Robotics Inc. - Lisa/M (Upgrade) V1.0 - LM2-152 35FFDA053256383326432143 Programming memory at 0x08002000
All operations complete!
--------------------
Any ideas or pointers? Is it possible this is related to a configuration issue in the XML file? Trying this on the other board, I'm getting exactly the same results.