B4R Question at mega 2560 write error

John Decowski

Member
Licensed User
Longtime User
im trying to write code to the atmega 2560 board and it seems to burn code to the board but it keeps timing out when checking flash.
Loading configuration...
Initializing packages...
Preparing boards...
Verifying and uploading...
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\john\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10611 -build-path C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin -warnings=null -prefs=build.path=C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\john\Downloads\GSMPushMessages\GSM\Objects\src\src.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\john\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10611 -build-path C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin -warnings=null -prefs=build.path=C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\john\Downloads\GSMPushMessages\GSM\Objects\src\src.ino
Using board 'mega' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\src.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\src.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\AsyncStreams.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RArduino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RCore.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RSerializator.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RStream.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\ByteConverter.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\RandomAccessFile.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\Scheduler.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_globalstore.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_gsm.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_main.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\rSoftwareSerial.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\src.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\src.ino.cpp" -o "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\AsyncStreams.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RArduino.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RCore.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RSerializator.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RStream.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\ByteConverter.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\RandomAccessFile.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\Scheduler.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_globalstore.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_gsm.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_main.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\rSoftwareSerial.cpp.o
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\src.ino.cpp" -o "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\src.ino.cpp.o"
Compiling libraries...
Compiling library "SoftwareSerial"
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\libraries\SoftwareSerial\SoftwareSerial.cpp.o
Compiling core...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_pulse.S.o"
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\WInterrupts.c.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\hooks.c.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring.c.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_analog.c.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_digital.c.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_pulse.c.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_shift.c.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\CDC.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial0.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial1.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial2.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial3.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\PluggableUSB.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\Print.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\Stream.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\Tone.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\USBCore.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\WMath.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\WString.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\abi.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\main.cpp.o
Using previously compiled file: C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\new.cpp.o
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_pulse.S.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\WInterrupts.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\hooks.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_analog.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_digital.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_pulse.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\wiring_shift.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\CDC.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial0.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial1.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial2.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\HardwareSerial3.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\IPAddress.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\PluggableUSB.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\Print.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\Stream.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\Tone.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\USBCore.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\WMath.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\WString.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\abi.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\main.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\core.a" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\core\new.cpp.o"
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -Os -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.elf" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\AsyncStreams.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RArduino.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RCore.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RSerializator.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\B4RStream.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\ByteConverter.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\RandomAccessFile.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\Scheduler.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_globalstore.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_gsm.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\b4r_main.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\rSoftwareSerial.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\sketch\src.ino.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin\libraries\SoftwareSerial\SoftwareSerial.cpp.o" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/core\core.a" "-LC:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin" -lm
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.elf" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.eep"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.elf" "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.hex"
Using library SoftwareSerial at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial
Sketch uses 17,716 bytes (6%) of program storage space. Maximum is 253,952 bytes.
Global variables use 1,403 bytes (17%) of dynamic memory, leaving 6,789 bytes for local variables. Maximum is 8,192 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM3 -b115200 -D -Uflash:w:C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.hex:i
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : wiring
Overriding Baud Rate : 115200
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 : Wiring
Description : Wiring
Programmer Model: AVRISP
Hardware Version: 15
Firmware Version Master : 2.10
Vtarget : 0.0 V
SCK period : 43.5 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9801
avrdude: reading input file "C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.hex"
avrdude: writing flash (17716 bytes):
Writing | ################################################## | 100% 7.31s
avrdude: 17716 bytes of flash written
avrdude: verifying flash memory against C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.hex:
avrdude: load data flash data from input file C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.hex:
avrdude: input file C:\Users\john\DOWNLO~1\GSMPUS~1\GSM\Objects\bin/src.ino.hex contains 17716 bytes
avrdude: reading on-chip flash data:
Reading | ##avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
 

thetahsk

Active Member
Licensed User
Longtime User
try to Increase the process timeout to e.g. 120 seconds.

1580534660062.png
 
Upvote 0
Top