Every time I want to upload a sketch (Mac OS X 10.11.4, Arduino IDE 1.6.7), I get the following error:
Sketch uses 1,066 bytes (3%) of program storage space. Maximum is 30,720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v true -patmega328p -carduino -P/dev/cu.usbserial-A70075GX -b57600 -D -Uflash:w:/var/folders/gw/2wc3kcqn7msdklf1hxdbyl4w0000gn/T/buildd5ae82e677127ac286f51de66781d807.tmp/Blink.ino.hex:i
avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/alkopop79/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
avrdude: no programmer has been specified on the command line or the config file
Specify a programmer using the -c option and try again
I have checked the USB drivers (FTDI and CH340, the Chinese clone driver) and they seem to work fine, I could see and select the ports in the 'Port' section. I have tried different versions of the IDE (1.5-1.6), even installed it on Windows and nothing works. I've tested three different boards and still no luck. Needless to say I have tried to upload a sketch from the Terminal using avrdude and I got this error:
avrdude: ser_open(): can't open device "unknown": No such file or
directory
On the top of that, there's no avrduderc file in the users folder I'm running out of ideas. I have recently installed an AVR cross compiler and that may have messed up things. Any ideas would be appreciated!
UPDATE: after removing Crosspack with 'sudo /usr/local/CrossPack-AVR/uninstall' and avrdude with 'brew uninstall avrdude' I finally removed the Arduino app and the /User/Library/arduino15 folder. Now I don't get the previous error, instead I get
avrdude: stk500_recv(): programmer is not responding
A HEARTFELT PLEA: if you don't like my question, please comment instead of voting me down! I'm always happy to delete or adjust/edit my original question. Thank you!