[solved[ Open ROV Board with beagle bone programmer not responding?

solved
software

#1

Hey, recently we have purchased the open rov board without ESC’s for a project for our school; set everything up correctly from what we have read online. But cannot reflash the firmware to the beagle bone and the open rov board using a micro sd. It keeps saying that the Arduino programmer is not responding attempt 1 out of 10 etc, 2 out of 10, etc. Then it resets the programmer and tries again. Continues this until it resets 3-5 times and then exits the programmer, and moves on to the next files to load. Heres the log that we received from the settings window after connecting and downloading the firmware.

log output

undefinedSearching for Arduino lib version file (version.txt) … /usr/share/arduino/lib/version.txt
Detecting Arduino software version … 1.0.5 (1.0.5)
Scanning dependencies of src
Scanning dependencies of arduino
Scanning dependencies of EEPROM
Scanning dependencies of SPI
make: Warning: File /usr/share/arduino/libraries/Wire/utility/twi.c' has modification time 2.5e+06 s in the future Scanning dependencies of Wire make: warning: Clock skew detected. Your build may be incomplete. make: Warning: File/usr/share/arduino/libraries/Wire/Wire.h’ has modification time 2.5e+06 s in the future
src/MS5803_14BA.cpp
src/CalibrationLaser.cpp
src/inv_mpu_dmp_motion_driver.cpp
src/Thrusters2X1.cpp
src/Lights.cpp
src/inv_mpu.cpp
src/MinIMU_Output.cpp
src/controllerboard25.cpp
src/MinIMU_I2C.cpp
src/MinIMU_L3G.cpp
src/MinIMU_LSM303.cpp
src/MPU9150Lib.cpp
src/Pilot.cpp
src/Cape.cpp
src/MinIMU_matrix.cpp
src/openrov_servo.cpp
src/MinIMU9.cpp
src/Timer.cpp
src/ThrustersAndFins2XTrailing2.cpp
src/Pin.cpp
src/I2Cdev.cpp
src/MinIMU_DCM.cpp
src/MinIMU_Compass.cpp
src/MinIMU_Vector.cpp
src/CalLib.cpp
src/MinIMU9AHRS.cpp
src/MPU9150.cpp
src/DeadManSwitch.cpp
src/MPUQuaternion.cpp
src/Command.cpp
src/Device.cpp
src/Settings.cpp
src/MPUVector3.cpp
src/CameraMount.cpp
staging: build dir is /tmp/tmp.S24SayDx1Z
src/FreeMem.cpp
src/Motor.cpp
staged src in to build folder
src/OpenROV.ino
Searching for Arduino lib version file (version.txt) … /usr/share/arduino/lib/version.txt
Detecting Arduino software version … 1.0.5 (1.0.5)
src/OpenROV.cpp
EEPROM/EEPROM.cpp
Linking libEEPROM.a
SPI/SPI.cpp
Linking libSPI.a
Wire/utility/twi.c
Scanning dependencies of src
Scanning dependencies of arduino
Wire/Wire.cpp
Scanning dependencies of EEPROM
Scanning dependencies of SPI
make: Warning: File /usr/share/arduino/libraries/Wire/utility/twi.c' has modification time 2.5e+06 s in the future Scanning dependencies of Wire make: warning: Clock skew detected. Your build may be incomplete. make: Warning: File/usr/share/arduino/libraries/Wire/Wire.h’ has modification time 2.5e+06 s in the future
src/MS5803_14BA.cpp
Linking libWire.a
arduino/wiring_digital.c
arduino/wiring_pulse.c
arduino/wiring.c
src/CalibrationLaser.cpp
arduino/wiring_shift.c
src/inv_mpu_dmp_motion_driver.cpp
arduino/wiring_analog.c
arduino/WInterrupts.c
arduino/new.cpp
arduino/CDC.cpp
arduino/HardwareSerial.cpp
src/Thrusters2X1.cpp
arduino/HID.cpp
arduino/Tone.cpp
src/Lights.cpp
arduino/main.cpp
src/inv_mpu.cpp
arduino/USBCore.cpp
arduino/WString.cpp
arduino/Print.cpp
arduino/IPAddress.cpp
src/MinIMU_Output.cpp
src/controllerboard25.cpp
arduino/Stream.cpp
src/MinIMU_I2C.cpp
src/MinIMU_L3G.cpp
src/MinIMU_LSM303.cpp
src/MPU9150Lib.cpp
arduino/WMath.cpp
Linking libarduino.a
Linking firmware.elf
src/Pilot.cpp
Converting to firmware.hex
make: warning: Clock skew detected. Your build may be incomplete.
Searching for Board description file (boards.txt) … /usr/share/arduino/hardware/arduino/boards.txt
Searching for Arduino lib version file (version.txt) … /usr/share/arduino/lib/version.txt
Detecting Arduino software version … 1.0.5 (1.0.5)
Searching for Arduino core library … /usr/share/arduino/hardware/arduino/cores/arduino
Searching for Arduino variants directory … /usr/share/arduino/hardware/arduino/variants
Searching for Arduino standard libraries … /usr/share/arduino/libraries
Searching for make … /usr/bin/make
Searching for avr-gcc … /usr/bin/avr-gcc
Searching for avr-g++ … /usr/bin/avr-g++
Searching for avr-ar … /usr/bin/avr-ar
Searching for avr-objcopy … /usr/bin/avr-objcopy
Setting up uploader
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
src/Cape.cpp
src/MinIMU_matrix.cpp
src/openrov_servo.cpp
src/MinIMU9.cpp
src/Timer.cpp
src/ThrustersAndFins2XTrailing2.cpp
src/Pin.cpp
src/I2Cdev.cpp
src/MinIMU_DCM.cpp
src/MinIMU_Compass.cpp
src/MinIMU_Vector.cpp
src/CalLib.cpp
src/MinIMU9AHRS.cpp
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
src/MPU9150.cpp
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
src/DeadManSwitch.cpp
src/MPUQuaternion.cpp
src/Command.cpp
src/Device.cpp
src/Settings.cpp
src/MPUVector3.cpp
src/CameraMount.cpp
src/FreeMem.cpp
src/Motor.cpp
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
src/OpenROV.cpp
EEPROM/EEPROM.cpp
Linking libEEPROM.a
SPI/SPI.cpp
Linking libSPI.a
Wire/utility/twi.c
Wire/Wire.cpp
Linking libWire.a
arduino/wiring_digital.c
arduino/wiring_pulse.c
arduino/wiring.c
arduino/wiring_shift.c
arduino/wiring_analog.c
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
arduino/WInterrupts.c
arduino/new.cpp
arduino/CDC.cpp
arduino/HardwareSerial.cpp
arduino/HID.cpp
arduino/Tone.cpp
arduino/main.cpp
arduino/USBCore.cpp
arduino/WString.cpp
arduino/Print.cpp
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
arduino/IPAddress.cpp
arduino/Stream.cpp
arduino/WMath.cpp
Linking libarduino.a
Linking firmware.elf
Converting to firmware.hex
make: warning: Clock skew detected. Your build may be incomplete.
Searching for Board description file (boards.txt) … /usr/share/arduino/hardware/arduino/boards.txt
Searching for Arduino lib version file (version.txt) … /usr/share/arduino/lib/version.txt
Detecting Arduino software version … 1.0.5 (1.0.5)
Searching for Arduino core library … /usr/share/arduino/hardware/arduino/cores/arduino
Searching for Arduino variants directory … /usr/share/arduino/hardware/arduino/variants
Searching for Arduino standard libraries … /usr/share/arduino/libraries
Searching for make … /usr/bin/make
Searching for avr-gcc … /usr/bin/avr-gcc
Searching for avr-g++ … /usr/bin/avr-g++
Searching for avr-ar … /usr/bin/avr-ar
Searching for avr-objcopy … /usr/bin/avr-objcopy
Setting up uploader
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

Arduino reset set high, Arduino enabled.
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyO1
     Using Programmer              : arduino

avrdude done. Thank you.

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude done. Thank you.

upload failed, trying again.
firmware-upload.sh: Failed to upload after numerous tries. Aborting.
firmware-installfromsource.sh: Uploading Firmware Failed! Aborting

Our software version is 2.5.1, and have attempted all of the latest versions and previous versions.
Please help! on a deadline and need this project finished soon. would prefer not to have to send it back as faulty. Thanks!

Nick Heanssgen


#2

This indicates the board did not sense the spi ports on the controller board. In this case, I just confirmed with the production guys that when ordering the boards without ESCs, they are shipped with a fresh atmega2560 that has not been initialized. You have to run the following commands from the beaglebone before you can interact with the Atmega microprocessor.

sudo avrdude -P /dev/spidev1.0 -b 10000 -c linuxspi -vv -p m2560 -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0xFD:m -U lock:w:0x3F:m

sudo avrdude -P /dev/spidev1.0 -c linuxspi -vv -p m2560 -U flash:w:/usr/share/arduino/hardware/arduino/bootloaders/stk500v2/stk500boot_v2_mega2560.hex -U lock:w:0x0f:m

After running those commands you can then load the firmware.

edit: changed baud rate from 1000 to 10000 to correct initial post


#3

Hey, same person you were speaking with earlier; So i ran the commands through the console in your Cloud 9 service. And this is what i received. To sum it up, from what I can tell is that both commands failed due to the Expected signature and Device Signature not being the same. Any more suggestions?

For the first command : sudo avrdude -P /dev/spidev1.0 -b 1000 -c linuxspi -vv -p m2560 -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0xFD:m -U lock:w:0x3F:m

output

:/workspace$ sudo avrdude -P /dev/spidev1.0 -b 1000 -c linuxspi -vv -p m2560 -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0xFD:m -U lock:w:0x3F:m
avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/spidev1.0
Using Programmer : linuxspi
Overriding Baud Rate : 1000
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : linuxspi
Description : Use Linux SPI device in /dev/spidev*
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: Unable to send SPI message
avrdude: error: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.

and the Second Command : sudo avrdude -P /dev/spidev1.0 -c linuxspi -vv -p m2560 -U flash:w:/usr/share/arduino/hardware/arduino/bootloaders/stk500v2/stk500boot_v2_mega2560.hex -U lock:w:0x0f:m

output

:/workspace$ sudo avrdude -P /dev/spidev1.0 -c linuxspi -vv -p m2560 -U flash:w:/usr/share/arduino/hardware/arduino/bootloaders/stk500v2/stk500boot_v2_mega2560.hex -U lock:w:0x0f:m
avrdude: Version 6.1-svn-20130917, compiled on Sep 17 2014 at 08:45:46
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/spidev1.0
Using Programmer : linuxspi
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : linuxspi
Description : Use Linux SPI device in /dev/spidev*
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x001e00
avrdude: Expected signature for ATmega2560 is 1E 98 01
Double check chip, or use -F to override this check.
avrdude done. Thank you.


#4

Okay. My bad, the raw commands I gave you have an issue with the baud rate. There is actually a script on the beaglebone that does this. So try this instead

sudo bash /opt/openrov/cockpit/linux/burn-bootloader.sh

It has the corrected baud rate needed for the initial setting of the fuze on the AtMega chip.


Avrdude: ser_recv(): programmer is not responding- Making my own ROV system using Beaglebone Black and Arduino
#5

Worked, Working great now thanks!


#6