Help burning bootloader using Arduino as ISP

I’m trying to burn the bootloader (and firmware) onto 644p with Arduino, but just get stk500_getsync() not in sync errors or RecieveMessage():timeout.

I have the Arduino as ISP sketch loaded on the Arduino, and connected the ISP wires between the Arduino and Ambika’s ISP headers. Should this work with the chip in the Ambika like this? Should I be supplying power to the Ambika? (the LCD lights up when I connect the ISP so I figure it’s getting what it needs already)

Thanks.

did you setup avrlib/makefile.sh

Nope. Just following here https://www.arduino.cc/en/Tutorial/ArduinoISP and here https://mutable-instruments.net/archive/ambika/build/firmware/ using the pre-built binaries.

what command are you using exactly and what isp do you have?

Well, firstly I’m trying this to set fuses etc.
./bin/avrdude -C etc/avrdude.conf -B 100 -V -p m644p -c avrispmkII -P /dev/tty.usbmodem1411 -e -u -U efuse:w:0xfd:m -U hfuse:w:0xd2:m -U lfuse:w:0xff:m -U lock:w:0x2f:m:

Obviously the title says I’m using and Arduino as an ISP

Oh yes, definitely! Connect the ISP signals and GND but not the +5V line that you find in the ISP connector pinout.

Some programmers can deliver the 5V to the target system (that’s why the power is there in the ISP connector specification) but for Ambika you should better power it from its own supply

Thanks but unfortunately it didn’t help. I think I’ll just wait for the dedicated ISP to arrive.