pin port differences between Arduino boards.

Just for completeness the microcontroller has 3 (or possibly 4 if you count the fuses) memories. RAM, EEPROM and FLASH

The EEPROM can be written byte-by-byte but the FLASH is only programmable/erasable in blocks (otherwise they are similar conceptually, hence the confusion. Its the individual addressing for erase than marks EEPROM out. That and being slow to write and having more limited wear life.