paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Still get error while it's uploading to my apogee


From: Anant M. Khadkikar
Subject: Re: [Paparazzi-devel] Still get error while it's uploading to my apogee
Date: Tue, 6 May 2014 11:26:10 +0200

Hi,

the problem is that the command ?6?7stat?? is used different with mac osx - there is no option ?6?7--printf??. With "stat --printf=%s" the size of downloaded firmware is read out (Makefile.stm32-upload), so it is known how much to be uploaded again from ap. After that a diff is done, which goes wrong because you uploaded to wrong size to verify.bla

With mac osx "stat" should be used with the option "-s??. Maybe this could be changed for the next stable version.

I for my part ignore this error simply.

Regards, Anant



Am 05.05.2014 um 18:22 schrieb ???????? <address@hidden>:

Hi,all!
    I get error while it's uploading code to my apogee.I have installed dfu_util (ver 0.7)with macports.My OS is mountain lion(10.8.5).And my Xcode is 5.1.1.My clang version is 2.1(tags/Apple/clang-163.7.1) (based on LLVM 3.0svn).
   I get uploading error after that I have successfully built the project for apogee.Why,And how could I fix it?Thank you very much!
Here is the returns:

cd sw/airborne; make TARGET=ap upload
/Users/kevin/paparazzi/conf/firmwares/subsystems/fixedwing/navigation_extra.makefile:3: Warning: Extra navigation routines have been converted to modules.
Please replace <subsystem name="navigation" type="extra"/> with <subsystem name="navigation"/>
Using "arch/stm32/apogee.ld" as ldscript for target "ap".
stat: illegal option -- -
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
Using dfu-util at 0x08000000
No valid DFU suffix signature
Warning: File has no DFU suffix
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to address@hidden

Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... ID 0483:df11
Run-time device DFU version 011a
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash  /0x08000000/04*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuUPLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
Downloading to address = 0x08000000, size = 133100
.................................................................
File downloaded successfully
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to address@hidden

Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... ID 0483:df11
Run-time device DFU version 011a
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash  /0x08000000/04*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
Limiting upload to end of memory segment, 65536 bytes
bytes_per_hash=2048
Starting upload: [###############################] finished!
Binary files /Users/kevin/paparazzi/var/aircrafts/apogee_test/ap/ap.bin and /Users/kevin/paparazzi/var/aircrafts/apogee_test/ap/verify.bla differ
make[1]: *** [upload] Error 2
make: *** [ap.upload] Error 2

FAILED 'make -C /Users/kevin/paparazzi -f Makefile.ac AIRCRAFT=apogee_test  ap.upload' with code 2

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

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