Open fdasbfg opened 11 months ago
First, I'll recommend you to install the latest MegaCore v3.0.0 version.
MegaCore v3.0.0 uses a different bootloader than the previous versions, and it behaves a little differently. The "bootloader LED" does not flash when you reset the board, only when you are actually uploading a new program. And if you use PlatformIO, you can specify that you don't want any "bootloader LED".
If you want to upload without using a bootloader, select "No bootloader" in the tools menu, and click upload. No need to hold shift.
I think something is wrong with the core, then. I started with 3.0, but when I used a bootloader my custom PCB prevents the mega from booting. I've now managed to upload without the bootloader with your help using 3.0, and it still won't boot when it's installed on my custom PCB.
If I use the default arduino core and bootloader it works just fine besides the two blinks on D13 at every boot. I've since figured out that I can upload without a bootloader using the default core and I get no D13 blinks and everything works like it should when installed on my board.
The only things I can gather that might cause issue, the code I am using in combination with the PCB pulls the reset pin high using a pin to prevent resets on serial connections. I might plug USB in while the code is running and I don't want the board to reset like I think they usually do till the auto-reset circuit charged up.
I use D3, and my board has a 10K pullup and 0.1u capacitor on D3 and the reset pin so it should still be OK on a board not running code, unless this core drives D3 low? Aren't they usually left floating for power saving?
If you mess with auto-reset setup try manual reset when uploading, it is the same as auto-reset also try to investigate with minimal/known good configuration = assemble your board in the same setup as Arduino which works, then add components, or try removing components from your custom board.
It works just fine with the default arduino core, either with or without the stk500 bootloader, so I have removed megacore since that is a lot easier than removing SMD components that obviously work fine. I don't have any problem uploading code, unless you try CTRL+SHIFT+U/upload using programmer.
Still think you should be able to CTRL+SHIFT+U and have it function properly, as megacore is now it does not work. I'm no pro, but it doesn't try and upload the file it just built like it should.
It may be because you haven't set the correct fuses.
Pick your options in the Tools menu and click "Burn bootloader", even though you aren't using a bootloader. This is the only way to set the fuses, and this label can't be changed by 3rd part cores.
I can't reproduce your issue with the correct fuses at least. The blink sketch are running just fine on my test board.
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/hans/Library/Arduino15/packages -hardware /Users/hans/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/hans/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/hans/Documents/Arduino/libraries -fqbn=MegaCore:avr:649:bootloader=no_bootloader,eeprom=keep,variant=model649,BOD=2v7,LTO=Os_flto,clock=16MHz_external -ide-version=10815 -build-path /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295 -warnings=all -build-cache /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_cache_103448 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=/Users/hans/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/Users/hans/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.avrdude.path=/Users/hans/Library/Arduino15/packages/MegaCore/tools/avrdude/7.2-arduino.1 -prefs=runtime.tools.avrdude-7.2-arduino.1.path=/Users/hans/Library/Arduino15/packages/MegaCore/tools/avrdude/7.2-arduino.1 -verbose /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_modified_sketch_753246/Blink.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/hans/Library/Arduino15/packages -hardware /Users/hans/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/hans/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/hans/Documents/Arduino/libraries -fqbn=MegaCore:avr:649:bootloader=no_bootloader,eeprom=keep,variant=model649,BOD=2v7,LTO=Os_flto,clock=16MHz_external -ide-version=10815 -build-path /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295 -warnings=all -build-cache /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_cache_103448 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=/Users/hans/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/Users/hans/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.avrdude.path=/Users/hans/Library/Arduino15/packages/MegaCore/tools/avrdude/7.2-arduino.1 -prefs=runtime.tools.avrdude-7.2-arduino.1.path=/Users/hans/Library/Arduino15/packages/MegaCore/tools/avrdude/7.2-arduino.1 -verbose /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_modified_sketch_753246/Blink.ino
Using board '649' from platform in folder: /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0
Using core 'MCUdude_corefiles' from platform in folder: /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0
Detecting libraries used...
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/sketch/Blink.ino.cpp -o /dev/null
Generating function prototypes...
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/sketch/Blink.ino.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/preproc/ctags_target_for_gcc_minus_e.cpp
/Users/hans/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/sketch/Blink.ino.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/sketch/Blink.ino.cpp.o
Compiling libraries...
Compiling core...
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -x assembler-with-cpp -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/wiring_pulse.S -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_pulse.S.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/WInterrupts.c -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/WInterrupts.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/hooks.c -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/hooks.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/wiring_analog.c -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_analog.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/wiring.c -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/wiring_digital.c -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_digital.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/wiring_pulse.c -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_pulse.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/wiring_shift.c -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_shift.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/HardwareSerial1.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial1.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/CDC.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/CDC.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/HardwareSerial.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/HardwareSerial0.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial0.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/HardwareSerial3.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial3.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/HardwareSerial2.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial2.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/IPAddress.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/IPAddress.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/PluggableUSB.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/PluggableUSB.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/Print.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/Print.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/Stream.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/Stream.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/Tone.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/Tone.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/USBCore.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/USBCore.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/WMath.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/WMath.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/WString.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/WString.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/abi.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/abi.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/main.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/main.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/new.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/new.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega649 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega649 -DARDUINO_ARCH_AVR -Wextra -flto -g -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles -I/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/variants/64-pin-avr /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/cores/MCUdude_corefiles/wiring_extras.cpp -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_extras.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_pulse.S.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/WInterrupts.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/hooks.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_analog.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_digital.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_pulse.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_shift.c.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/CDC.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial0.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial1.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial2.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/HardwareSerial3.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/IPAddress.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/PluggableUSB.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/Print.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/Stream.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/Tone.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/USBCore.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/WMath.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/WString.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/abi.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/main.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/new.cpp.o
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/wiring_extras.cpp.o
Archiving built core (caching) in: /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_cache_103448/core/core_1a8f5dfb5254e8a6363605088000ccc5.a
Linking everything together...
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -Wall -Wextra -Os -Wl,--gc-sections,--section-start=.FAR_MEM1=0x10000,--section-start=.FAR_MEM2=0x20000,--section-start=.FAR_MEM3=0x30000 -mmcu=atmega649 -w -flto -g -o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.elf /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/sketch/Blink.ino.cpp.o /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/core/core.a -L/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295 -lm
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.elf /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.eep
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy -O ihex -R .eeprom /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.elf /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.hex
chmod +x /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/scripts/create_disassembler_listing.sh
/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/scripts/create_disassembler_listing.sh /Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objdump "--disassemble --source --line-numbers --demangle --section=.text" /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.elf /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino_atmega649_16000000L.lst
/Users/hans/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-size -A /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.elf
Sketch uses 952 bytes (1%) of program storage space. Maximum is 65536 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 4087 bytes for local variables. Maximum is 4096 bytes.
/Users/hans/Library/Arduino15/packages/MegaCore/tools/avrdude/7.2-arduino.1/bin/avrdude -C/Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/avrdude.conf -v -patmega649 -cusbasp -Ueeprom:w:/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.eep:i -Uflash:w:/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.hex:i
avrdude: Version 7.2-arduino.1
Copyright the AVRDUDE authors;
see https://github.com/avrdudes/avrdude/blob/main/AUTHORS
System wide configuration file is /Users/hans/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.0/avrdude.conf
User configuration file is /Users/hans/.avrduderc
Using Port : usb
Using Programmer : usbasp
AVR Part : ATmega649
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : possible i/o
RETRY pulse : SCK
Serial program mode : yes
Parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 4 0 no 2048 8 0 9000 9000 0x00 0x00
flash 65 10 128 0 yes 65536 256 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
signature 0 0 0 0 no 3 1 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 1 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp ISP and TPI programmer
avrdude: auto set sck period (because given equals null)
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e9603 (probably m649)
avrdude: Note: flash memory has been specified, an erase cycle will be performed.
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: processing -U eeprom:w:/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.eep:i
avrdude: reading input file /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.eep for eeprom
with 0 bytes in 0 sections within [0, -1]
using 0 pages and 0 pad bytes
avrdude: writing 0 bytes eeprom ...
Writing | ################################################## | 100% 0.00s
avrdude: 0 bytes of eeprom written
avrdude: verifying eeprom memory against /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.eep
Reading | ################################################## | 100% 0.00s
avrdude: 0 bytes of eeprom verified
avrdude: processing -U flash:w:/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.hex:i
avrdude: reading input file /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.hex for flash
with 952 bytes in 1 section within [0, 0x3b7]
using 4 pages and 72 pad bytes
avrdude: writing 952 bytes flash ...
Writing | ################################################## | 100% 0.31s
avrdude: 952 bytes of flash written
avrdude: verifying flash memory against /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_425295/Blink.ino.hex
Reading | ################################################## | 100% 0.16s
avrdude: 952 bytes of flash verified
avrdude done. Thank you.
Hello
I cannot have D13 blink at all during boot, it is attached to a low side driver which controls a fuel injector. I also have no use of a bootloader. Rather than mess with modifying a bootloader to not use D13, I would like to just upload a sketch using an uno as arduinoISP.
I know the wiring is correct because I can burn a bootloader. However, if I try and use CTRL+SHIFT+U to upload using programmer megacore appears to try and use AVRDude...
Of course it cannot find a file that does not exist.
Is there a quick fix for this?
Thank you!