Write a configuration register (address
02FF) or a template register (address
03FF) to the non-volatile memory.
Depending on the configuration-defined access conditions, this instruction may be restricted to secure communication only, or disabled.
In factory, this function is also able to write a constant register (address
01FF). This feature is disabled by setting bit 0 "Lock constants" in the Fuses.
Once this is done, calling this instruction with an address below
0200 returns an error.
Depending on the configuration-defined access conditions and on the type of host interface (Local / Remote), this instruction may either be freely usable, restricted to communications authenticated by HostCommAdminKey only, or disabled.
|Data bytes 0-1||Address of the register (MSB-first)|
|Data next bytes||New register value (empty to erase)|
The new configuration is taken in account only after a reset. Use the RESET instruction to reset the device immediately.