paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] loading bl_ram.hex ??


From: Miles Colman
Subject: [Paparazzi-devel] loading bl_ram.hex ??
Date: Thu, 27 Mar 2008 23:58:56 +0900

Hi UAVers,

I just finished assembling a Tiny v2.11 and I think I haven't successfully loaded the bootloader.
Terminal output with 'ioctl get failed' is below. Am I sucessfully loading the bootloader to the Tiny?
The reason I think the upload doesn't work is the 'ioctl get failed' message, and, uploading the serial tunnel to the Tiny from the ground station fails. I have checked 3.3v bus level, 5v bus level, and the crystal waveform, all are ok. Also, current draw at 6.5 volts into the battery input is 20  - 30 mA

Thanks for any help!
Miles

address@hidden:~/paparazzi3$ make upload_bl PROC=GENERIC
cd sw/airborne/arm7/test/bootloader; make clean; make
rm -f usbstack.a usbhw_lpc.o usbcontrol.o usbstdreq.o usbinit.o usbdescrip.o
rm -f bl.hex bl.elf crt.o startup.o printf.o console.o bootloader.o *.lst bl.dmp
 bl.map
rm -f bl_ram.hex bl_ram.elf bl_ram.dmp bl_ram.map
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o usbhw_lpc.o usbhw_lpc.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o usbcontrol.o usbcontrol.c
usbcontrol.c:132: warning: unused parameter 'bEPStat'
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o usbstdreq.o usbstdreq.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o usbinit.o usbinit.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o usbdescrip.o usbdescrip.c
usbdescrip.c:60: warning: unused parameter 'wLangID'
rm -f usbstack.a
arm-elf-ar -r usbstack.a usbhw_lpc.o usbcontrol.o usbstdreq.o usbinit.o usbdescr
ip.o
arm-elf-ar: creating usbstack.a
.assembling
arm-elf-gcc -c -DPROC_GENERIC -mapcs-32 -Wa,-ahlms=crt.lst crt.S -o crt.o
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o startup.o startup.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o printf.o printf.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o console.o console.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENE
RIC   -c -o bootloader.o bootloader.c
..linking
arm-elf-gcc crt.o startup.o printf.o console.o bootloader.o usbstack.a -T lpc214
8-rom.ld -nostartfiles --warn-common -n -o bl.elf -Wl,-Map,bl.map
/usr/lib/gcc/arm-elf/3.4.4/../../../../arm-elf/bin/ld: Warning: /usr/lib/gcc/arm
-elf/3.4.4/libgcc.a(_udivsi3.o) does not support interworking, whereas bl.elf do
es
/usr/lib/gcc/arm-elf/3.4.4/../../../../arm-elf/bin/ld: Warning: /usr/lib/gcc/arm
-elf/3.4.4/libgcc.a(_umodsi3.o) does not support interworking, whereas bl.elf do
es
/usr/lib/gcc/arm-elf/3.4.4/../../../../arm-elf/bin/ld: Warning: /usr/lib/gcc/arm
-elf/3.4.4/libgcc.a(_dvmd_tls.o) does not support interworking, whereas bl.elf d
oes
...copying
arm-elf-objcopy -O ihex bl.elf bl.hex
arm-elf-objdump -x --syms bl.elf > bl.dmp
..linking RAM
arm-elf-gcc crt.o startup.o printf.o console.o bootloader.o usbstack.a -T lpc214
8-ram.ld -nostartfiles --warn-common -n -o bl_ram.elf -Wl,-Map,bl_ram.map
/usr/lib/gcc/arm-elf/3.4.4/../../../../arm-elf/bin/ld: Warning: /usr/lib/gcc/arm
-elf/3.4.4/libgcc.a(_udivsi3.o) does not support interworking, whereas bl_ram.el
f does
/usr/lib/gcc/arm-elf/3.4.4/../../../../arm-elf/bin/ld: Warning: /usr/lib/gcc/arm
-elf/3.4.4/libgcc.a(_umodsi3.o) does not support interworking, whereas bl_ram.el
f does
/usr/lib/gcc/arm-elf/3.4.4/../../../../arm-elf/bin/ld: Warning: /usr/lib/gcc/arm
-elf/3.4.4/libgcc.a(_dvmd_tls.o) does not support interworking, whereas bl_ram.e
lf does
...copying
arm-elf-objcopy -O ihex bl_ram.elf bl_ram.hex
arm-elf-objdump -x --syms bl_ram.elf > bl_ram.dmp
lpc21isp -control sw/airborne/arm7/test/bootloader/bl.hex /dev/ttyUSB0 38400 120
00
lpc21isp version 1.27
File sw/airborne/arm7/test/bootloader/bl.hex:
        loaded...
        converted to binary format...
        image size : 7304
ioctl get failed
ioctl set ok, status = 4001ACE6
ioctl get failed
ioctl get failed
ioctl set ok, status = 186A4
ioctl get failed
ioctl get failed
ioctl set ok, status = 186A0
ioctl get failed
Synchronizing. OK
Read bootcode version: 2.12.0
Read part ID: LPC2148, 512 kiB ROM / 40 kiB SRAM (67305253)
Sector 0: ......................................................................
.........................
Sector 1: ......................................................................
.....
Download Finished... taking 6 seconds
Now launching the brand new code
ioctl get failed
ioctl set ok, status = 2
ioctl get failed
ioctl get failed
ioctl set ok, status = 186A0
ioctl get failed




reply via email to

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