20.4.3.3 Writing a Code Word
The algorithm for writing a word to the code section is as follows:
- Write the 0x1D (WORD_WRITE) to the NVMCMD register
- Write the low byte of the data into the low byte of a word location
- Write the high byte of the data into the high byte of the same word location. This will start the Flash write operation
- Wait until the NVMBSY bit has been cleared