To do the programing I have connected the Tiny to an FTDI USB to serial converter, grounded the GPS_RESET and the BOOT pins and issued the make. I think I have contact because it looks like it writes to the Tiny but the programing seem to fail when the last three gets doesn`t work.
Below I have included the output from the make.
Does anyone have any tips on what might be wrong?
Regards
Jesper Sweden
======================= 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_GENERIC -c -o usbhw_lpc.o usbhw_lpc.c arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENERIC -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_GENERIC -c -o usbstdreq.o usbstdreq.c arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENERIC -c -o usbinit.o usbinit.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENERIC -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 usbdescrip.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_GENERIC -c -o startup.o startup.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENERIC -c -o printf.o printf.c arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENERIC -c -o console.o console.c
arm-elf-gcc -I./ -c -W -Wall -Os -g -mcpu=arm7tdmi -mthumb-interwork -DPROC_GENERIC -c -o bootloader.o bootloader.c ..linking arm-elf-gcc crt.o startup.o printf.o console.o bootloader.o usbstack.a -T lpc2148-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 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.elf 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.elf does ...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 lpc2148-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.elf 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.elf 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.elf 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 12000 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 7 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 address@hidden:~/paparazzi3$