How I can read and write data to flash memory?

Maybe someone can tweak the firmware from the 16u2 to let the SRam used by the SAM.