avrdude does not allow programming of "flash" via flip. I had to modify LUFA/Build/lufa_avrdude.mk to allow me to select the "application" memory. I suggest either adding a variable as I did, or adding a separate target, ie: avrdude-application.
...
# Default values of optionally user-supplied variables
AVRDUDE_PROGRAMMER ?= jtagicemkii
AVRDUDE_PORT ?= usb
AVRDUDE_FLAGS ?=
AVRDUDE_MEMORY ?= flash
...
# Programs in the target FLASH memory using AVRDUDE
avrdude: $(TARGET).hex $(MAKEFILE_LIST)
@echo $(MSG_AVRDUDE_CMD) Programming device \"$(MCU)\" FLASH using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\"
avrdude $(BASE_AVRDUDE_FLAGS) -U $(AVRDUDE_MEMORY):w:$< $(AVRDUDE_FLAGS)
...
avrdude does not allow programming of "flash" via flip. I had to modify LUFA/Build/lufa_avrdude.mk to allow me to select the "application" memory. I suggest either adding a variable as I did, or adding a separate target, ie: avrdude-application.