maniacbug/contiki-avr-zigduino

avrdude: stk500_recv(): programmer is not responding

Closed this issue · 1 comments

I installed contiki with git and edited Makefile.avr-zigduino as it says here: https://github.com/maniacbug/contiki-avr-zigduino/wiki/Using%3ASetup

But when I try to program the MAC address, it fails:

edmont@eduardo:~/hardware/zigduino/contiki-avr-zigduino/platform/avr-zigduino/tools/set-eeprom$ make NODE=3 AVRUDE_PORT=/dev/ttyUSB0
avr-gcc -DNODE=3 -DCONTIKI=1 -DCONTIKI_TARGET_AVR_ZIGDUINO=1 -I/home/edmont/Zigduino/arduino/cores/zigduino -DARDUINO_CORE=1 -Wall -mmcu=atmega128rfa1 -gdwarf-2 -fno-strict-aliasing -I. -I../../../../core -I../../../../cpu/avr -I../../../../platform/avr-zigduino -DF_CPU=16000000UL -DAUTO_CRC_PADDING=2 -Os -DRF230BB -I. -I/home/edmont/Zigduino/arduino/cores/zigduino -I../../../../platform/avr-zigduino/. -I../../../../platform/avr-zigduino/dev -I../../../../platform/avr-zigduino/apps -I../../../../platform/avr-zigduino/net -I../../../../platform/avr-zigduino/loader -I../../../../cpu/avr/. -I../../../../cpu/avr/dev -I../../../../cpu/avr/radio/rf230bb -I../../../../core/dev -I../../../../core/lib -I../../../../core/net -I../../../../core/net/mac -I../../../../core/net/rime -I../../../../core/net/rpl -I../../../../core/sys -I../../../../core/cfs -I../../../../core/ctk -I../../../../core/lib/ctk -I../../../../core/loader -I../../../../core/. -c set-eeprom.c -o set-eeprom.o
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load"
--change-section-lma .eeprom=0 -O ihex set-eeprom.o set-eeprom.eep
avrdude -V -F -D -b 57600 -P /dev/ttyUSB0 -c arduino -p atmega128rfa1 -U eeprom:w:set-eeprom.eep
avrdude: stk500_recv(): programmer is not responding

avrdude done. Thank you.

make: *** [set-eeprom.eu] Error 1
rm set-eeprom.eep set-eeprom.o

The Zigduino is correctly attached to /dev/USB0, according to dmesg:

[ 2053.168401] usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0