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 (solved=just soldering problem)

edited July 3 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:

  • I was checking this again. I have 3 minimo's . I think it was just working because I was programming on windows another one of 3 minimos. So I checked again the first one and the hardware doesn't work well. So I changed attinny ic and there is still problem to programming it, Upload is working , but the programm doesn't work well. Its possible that pcb has some errors? I checked another parts and soldering x times.

  • Its possible that pcb has some errors?

    Nothing is impossible, but I think that's very, very unlikely; it would be the first time it's ever happened, to my knowledge.

    You say that the upload is working, but the program doesn't work well, and you've replaced the ATtiny. I'm going to make a guess based on this information:

    If the program that you uploaded is the DCO, then

    *turn the miniMO On
    *click the button three times (same speed as the usual double click, but three)
    *move the knob all the way up, then all the way down, and repeat a few times

    This is the calibration procedure for the DCO (so that it maps the frequencies to the range of the input). I program every ATtiny as a DCO and calibrate it as part of my tests before I send them, but if you're using your own IC, it won't have any calibration values in memory, so it won't work properly.

    Like I said, this is just a guess, but if I'm right I might have saved you some time :)

    If I'm wrong and this doesn't work, let me know which program you uploaded and describe the way in which it doesn't work properly (best if you can record a video).

    Fingers crossed!

  • I was sitting once more with this "defect" one piece. And I found a problem. It was just one of resistances wire broken/cutted, no idea how. So everything is now working well (all 9 minions) LOL.
    Should I delete this entrance from Your blog now, I think it doesn't help anyone?
    But the way, Id like to control this synths with gyro accel sensor MPU-6050 , do You have experience with it ? Any suggestions where can I find help?

  • edited July 3

    hey, glad to know you fixed the module :) I think the thread does have some interesting information, so let's keep it.

    I've read a bit about the 6050 and it uses I2C. I've used I2C to interface miniMO with an OLED screen, (see here), but it interferes with the button. Also, you'd have to try and see if you can power the sensor from the miniMO (the sensor is rated at 3,3v, but it might work).

    You said you've got 9 miniONs? send a picture plz xD

    edit: I moved the subsequent posts to their own thread.

Sign In or Register to comment.