4.6 Check how the bootstrap or embedded application is programmed

SAM-BA tools can be used to program the bootstrap or an embedded application in the NAND Flash device so that it is booted by the ROM code. To ensure the ROM code can boot an application, it must be programmed with the SAM-BA writeboot command, and not with the write command. Check the SAM-BA documentation for more details.

We also strongly recommend using the verifyboot command every time a new image is written or programmed. This way, any programming issues can be detected at an early phase.