Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

error uploading DCO

edited May 26 in General

Im new to arduino and loading MINIMO is my first try with it.
When I trying to upload DCO I get a messages:

Arduino: 1.8.5 (Mac OS X), Board: "ATtiny85 @ 8 MHz (internal oscillator; BOD disabled)"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/Bartek/Library/Arduino15/packages -hardware /Users/Bartek/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/Bartek/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/Bartek/Documents/Arduino/libraries -fqbn=tiny:avr:attiny85at8 -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path /var/folders/fw/dq392k150wdgd183374z7p680000gp/T/arduino_build_864803 -warnings=none -build-cache /var/folders/fw/dq392k150wdgd183374z7p680000gp/T/arduino_cache_330969 -prefs=build.warn_data_percentage=75 -verbose /Users/Bartek/Documents/Arduino/DCO/DCO.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/Bartek/Library/Arduino15/packages -hardware /Users/Bartek/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/Bartek/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/Bartek/Documents/Arduino/libraries -fqbn=tiny:avr:attiny85at8 -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path /var/folders/fw/dq392k150wdgd183374z7p680000gp/T/arduino_build_864803 -warnings=none -build-cache /var/folders/fw/dq392k150wdgd183374z7p680000gp/T/arduino_cache_330969 -prefs=build.warn_data_percentage=75 -verbose /Users/Bartek/Documents/Arduino/DCO/DCO.ino
Using board 'attiny85at8' from platform in folder: /Users/Bartek/Documents/Arduino/hardware/tiny/avr
Using core 'tiny' from platform in folder: /Users/Bartek/Documents/Arduino/hardware/tiny/avr
Warning: Board tiny:avr:attiny25at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY25AT8
Warning: Board tiny:avr:attiny24at16 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY24AT16
Warning: Board tiny:avr:attiny2313at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY2313AT8
Warning: Board tiny:avr:attiny85at16p doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT16P
Warning: Board tiny:avr:attiny84at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT1
Warning: Board tiny:avr:attiny85at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT1
Warning: Board tiny:avr:attiny45at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY45AT8
Warning: Board tiny:avr:attiny4313at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY4313AT1
Warning: Board tiny:avr:attiny85at16e doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT16E
Warning: Board tiny:avr:attiny2313at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY2313AT1
Warning: Board tiny:avr:attiny84at16 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT16
Warning: Board tiny:avr:attiny84at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT8
Warning: Board tiny:avr:attiny4313at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY4313AT8
Warning: Board tiny:avr:attiny45at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY45AT1
Warning: Board tiny:avr:attiny44at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY44AT1
Warning: Board tiny:avr:attiny85at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT8
Warning: Board tiny:avr:attiny85at128 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT128
Warning: Board tiny:avr:attiny25at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY25AT1
Warning: Board tiny:avr:attiny44at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY44AT8
Warning: platform.txt from core 'Arduino Tiny' contains deprecated tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude, automatically converted to tools.avrdude.cmd.path={path}/bin/avrdude. Consider upgrading this core.
Warning: platform.txt from core 'Arduino Tiny' contains deprecated tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf, automatically converted to tools.avrdude.config.path={path}/etc/avrdude.conf. Consider upgrading this core.
Warning: platform.txt from core 'Arduino Tiny' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
Warning: platform.txt from core 'Arduino Tiny' contains deprecated recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} -o "{build.path}/{build.project_name}.elf" {object_files} "{build.path}/{archive_file}" "-L{build.path}" -lm, automatically converted to recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} -o "{build.path}/{build.project_name}.elf" {object_files} "{archive_file_path}" "-L{build.path}" -lm. Consider upgrading this core.
Detecting libraries used...
"avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_ATTINY85AT8 -DARDUINO_ARCH_AVR "-I/Users/Bartek/Documents/Arduino/hardware/tiny/avr/cores/tiny" "/var/folders/fw/dq392k150wdgd183374z7p680000gp/T/arduino_build_864803/sketch/DCO.ino.cpp" -o "/dev/null"
Generating function prototypes...
"avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_ATTINY85AT8 -DARDUINO_ARCH_AVR "-I/Users/Bartek/Documents/Arduino/hardware/tiny/avr/cores/tiny" "/var/folders/fw/dq392k150wdgd183374z7p680000gp/T/arduino_build_864803/sketch/DCO.ino.cpp" -o "/var/folders/fw/dq392k150wdgd183374z7p680000gp/T/arduino_build_864803/preproc/ctags_target_for_gcc_minus_e.cpp"
exec: "avr-g++": executable file not found in $PATH
Error compiling for board ATtiny85 @ 8 MHz (internal oscillator; BOD disabled).

Comments

  • Hello! I think the error happens because you're using the "wrong" version of the Arduino IDE. It looks like you're using version 1.8.5, but the version needs to be 1.5.7. Please try using 1.5.7 and let me know if it works.

    Also, I wrote a guide, in case you haven't seen it:

    http://minimosynth.com/how_to_program_minimo/

  • Yesterday I tried everything on macOS with 1.5.7 1.6.4 and 1.8.5 and it was not working . Today I just switched to windows 10 (IDE 1.5.7) and it was very easy to upload, everything gone successful!! Nice!

  • Good! would be nice to know what happened with the mac, though; I gave a course last december and I believe there were people with macs who had no problem uploading programs. Anyway, glad to know it's working :smiley:

Sign In or Register to comment.