Embedded NVM (eNVM) Controllers
UG0331 User Guide Revision 15.0 173
5.4.3 Writing to the eNVM Block
Writing to eNVM by using the Cortex-M3 processor can be done by the API provided in the eNVM driver
in the Firmware Catalog. FPGA fabric user logic can implement the state machine to write into the eNVM
by implementing the commands sequence explained in the eNVM commands section.
Refer to AC391: SmartFusion2 SoC FPGA - eNVM Initialization Application Note for information about
reading and writing to the eNVM block using the Cortex-M3.
5.4.4 Firmware and Sample Project
Microsemi provides eNVM firmware drivers to use with the application development. The SmartFusion2
eNVM firmware drivers can be downloaded from the Firmware Catalog. The eNVM firmware driver
provides APIs to unlock and write to eNVM features. Refer to the SmartFusion2 eNVM Driver User
Guide from Open Documentation for the list of APIs and their descriptions.
The eNVM driver package includes sample projects to show the usage of eNVM. The sample projects
are available for three different tool chains: IAR Embedded Work, Keil-MDK, and SoftConsole. The
sample project can be generated by right-clicking the eNVM driver and selecting Generate sample
project, as shown in the following figure.
Figure 94 • Firmware Catalog Showing the Generation of Sample Project for eNVM