On Tue, Jun 21, 2011 at 10:40 PM, Oliver Riesener
<address@hidden> wrote:
Hi paparazzi-team,
if a compiled ap.elf exceeds 256K then i got an error from bootloader v1.3.
Image file > 256K
262454/1024=256.30273437500000000000
Any helpful suggestions ?, the device has 512k flash and seems ok,
becourse the error occurs also on another hw too.
Cheers,
olri
paparazzi/var/HB_COPTER/ap/ap.elf :
section size addr
.text 159742 16384
.ARM.exidx 0 176126
.ctors 0 176126
.dtors 0 176126
.data 14044 1073741824
.bss 6500 1073755868
.stack 4096 1073762560
.comment 2088 0
.debug_aranges 1824 0
.debug_pubnames 1922 0
.debug_info 33074 0
.debug_abbrev 13296 0
.debug_line 16261 0
.debug_frame 2852 0
.debug_str 5787 0
.debug_ranges 968 0
Total 262454
cd sw/airborne; make PAPARAZZI_SRC=paparazzi PAPARAZZI_HOME=paparazzi TARGET=ap upload
Using gcc-arm 3.4.4 packaged by paparazzi.
paparazzi/sw/ground_segment/lpc21iap/lpc21iap paparazzi/var/HB_COPTER/ap/ap.elf
lpc21iap v1.2
.........
Found USB device
BootROM code: 2.12
Part ID: 0x0402FF25 (LPC2148, 512k Flash, 32k+8k RAM)
BootLoader version: 1.3
############################################ISP error (10:COMPARE_ERROR)
compare MEM failed at 0x0002B000 base 0x40004000 size 0x00001000
make[1]: *** [upload] Fehler 1
make: *** [ap.upload] Fehler 2
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel