NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Support Forum » Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding (MAC OS X 10.9)

January 24, 2014
by ck21256
ck21256's Avatar

Getting the above message when I try to build and load the first program - initialload

I've been through the forums but nothing specific to MAC OS X 10.9.1 that I can find and I've tried all of the solutions for prior versions of Mac OS X:

  • I loaded the latest driver from Prolific: OSX 10.9-164 (Mavericks) PL2303 which got me past the first issue of no device in /dev
  • I added the Sleep line to the Makefile
  • Fairly certain the kit is in programming mode - dual lines on the LCD

Make File:

GCCFLAGS=-g -Os -Wall -mmcu=atmega168 
LINKFLAGS=-Wl,-u,vfprintf -lprintf_flt -Wl,-u,vfscanf -lscanf_flt -lm
AVRDUDEFLAGS=-c avr109 -p m168 -b 115200 -P /dev/cu.NoZAP-PL2303-00001014
LINKOBJECTS=../libnerdkits/delay.o ../libnerdkits/lcd.o ../libnerdkits/uart.o

all:    initialload-upload

initialload.hex:    initialload.c
    make -C ../libnerdkits
    avr-gcc ${GCCFLAGS} ${LINKFLAGS} -o initialload.o initialload.c ${LINKOBJECTS}
    avr-objcopy -j .text -O ihex initialload.o initialload.hex

initialload.ass:    initialload.hex
    avr-objdump -S -d initialload.o > initialload.ass

initialload-upload: initialload.hex
    avrdude ${AVRDUDEFLAGS} -e
    sleep 1
    avrdude ${AVRDUDEFLAGS} -D -U flash:w:initialload.hex:a

error message:

Me$ make all
avrdude -c avr109 -p m168 -b 115200 -P /dev/cu.NoZAP-PL2303-00001014 -e

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
make: *** [initialload-upload] Error 1

Could use some expertise here - Thanks in advance,

January 26, 2014
by Ralphxyz
Ralphxyz's Avatar

I used to just use make not make all on my no longer supported (by Apple) Mac mini!!

Ralph

January 27, 2014
by ck21256
ck21256's Avatar

Ralph -

I did try to run just make and the same results. (I did run make clean first)

January 27, 2014
by Noter
Noter's Avatar

From the error message, your PC is not communicating with the nerdkit so if you're driver is installed correctly then probably it is in the wiring. Post a picture of your circuit that shows the connections and maybe someone will see something.

Post a Reply

Please log in to post a reply.

Did you know that talking to the microcontroller over the USB/Serial link is easy under Windows, Linux, and OS X? Learn more...