We use a 2GB flash, I have modified the nandflash applet to copy with the flash.
But there seems to be a bug in SAM-BA, probably a signed 32bit value for the flash size. Because samba rejects to flash and says something about invalid address.
If I modifiy the applet a bit so it only reports the flash to be a bit smaller, like 8MB less, then SAM-BA agrees to flash to all valid addresses.
Is the source available somewhere for the SAM-BA binary itself, or is this something that atmel has to fix?