7.3 NVM Programming

The SAMA5D27 SOM1 is delivered with SAM-BA® In-System Programmer, a comprehensive tool to program boot memories.

In case the boot code does not find a valid program in NVM, the SAM-BA monitor is launched in order to program the considered NVM.

The SAM-BA monitor principle is to:
  • Initialize DBGU and USB.
  • Check if USB Device enumeration occurred.
  • Check if characters are received on the DBGU.
Once the communication interface is identified, the application runs in an infinite loop waiting for different commands.

The firmware can be sent and programmed in the NVM.

For more information, refer to the following link: www.at91.com/linux4sam/bin/view/Linux4SAM/Sama5d2XplainedMainPage#Using_SAM_BA_to_flash_components.