I tried uploading the newest version of code into my arducopter, but for some reason when I go to the serial monitor it just constantly sends:
Init
Init
Init
Init
This continues to infinity.
It compiles fine, but I'm getting this suspicious error:
ArduCopter.cpp.o: In function `test_imu':
ArduCopter.cpp:13199: warning: internal error: out of range error
ArduCopter.cpp:13199: warning: internal error: out of range error
ArduCopter.cpp:13202: warning: internal error: out of range error
ArduCopter.cpp:13202: warning: internal error: out of range error
ArduCopter.cpp.o: In function `setup_accel':
ArduCopter.cpp:11113: warning: internal error: out of range error
ArduCopter.cpp:11113: warning: internal error: out of range error
FastSerial/FastSerial.cpp.o:(.rodata._ZTV10FastSerial+0x6): warning: internal error: out of range error
FastSerial/FastSerial.cpp.o:(.rodata._ZTV10FastSerial+0x8): warning: internal error: out of range error
AP_GPS/AP_GPS_Auto.cpp.o: In function `AP_GPS_Auto::init()':
/Users/elijahwood/Documents/Arduino/libraries/AP_GPS/AP_GPS_Auto.cpp:40: warning: internal error: out of range error
/Users/elijahwood/Documents/Arduino/libraries/AP_GPS/AP_GPS_Auto.cpp:40: warning: internal error: out of range error
AP_AHRS/AP_AHRS_DCM.cpp.o:(.rodata._ZTV11AP_AHRS_DCM+0x4): warning: internal error: out of range error
AP_RangeFinder/AP_RangeFinder_MaxsonarXL.cpp.o:(.rodata._ZTV25AP_RangeFinder_MaxsonarXL+0x4): warning: internal error: out of range error
AP_RangeFinder/AP_RangeFinder_MaxsonarXL.cpp.o:(.rodata._ZTV25AP_RangeFinder_MaxsonarXL+0x6): warning: internal error: out of range error
AP_RangeFinder/AP_RangeFinder_MaxsonarXL.cpp.o:(.rodata._ZTV25AP_RangeFinder_MaxsonarXL+0x8): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0x4): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0x6): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0x8): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0xa): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0xc): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0xe): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0x10): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0x12): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow.cpp.o:(.rodata._ZTV14AP_OpticalFlow+0x14): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0x4): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0x6): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0x8): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0xa): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0xc): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0xe): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0x10): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0x12): warning: internal error: out of range error
AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp.o:(.rodata._ZTV23AP_OpticalFlow_ADNS3080+0x14): warning: internal error: out of range error
Any ideas? My copter is currently down for the count, would love to get it out today with the new code!
Thanks!
Replies
That is an issue with jump instructions and code size limits, you have to follow this
http://code.google.com/p/arduino/issues/detail?id=729
let me know if it works.
Cheers.