I have a new custom built PCB circuit incorporating an atmega256rfr2 chip. I really can't program the chip using AVRISP MK11 based programmer (Olimex brand). But it can program the Atmega328p DIP chip on breadboard.
Been trying for weeks with zero results. It writes "unable to enter programming mode". i am using Atmel Studio 7.
Connection is follows:
MOSI--------------->PDI(MOSI)
MISO--------------->PDO(MISO)
SCK---------------->SCK
RST---------------->RSTN
Help will be appreciated. Thanks in advance.