After the chip enters the ISP mode, the address is pointing to the FUSE word and the FUSE word location is allowed to access only once. Programming the FUSE word after incrementing the address 4096 times doesn't seem work. If it is programed it before incrementing the address, it works fine.
bit 10: Pins on chip
bit 7: BOSC
Remove Banks column from:
MEM1:MEM0 Configured memory size on chip