load error. avrdude reads fuses but won't write.

"FLASH" memory type not defined for part "ATmega328P"

The memory type is flash not FLASH.