7.6.1.1 Functional
The Write User Zone command $B0 allows writing of data to the device's currently selected user zone (the procedure for selecting a user zone is described in section 7.6.3 System WRITE: $B4.
The data byte address to be written is defined by Address 1 and Address 2 in the command. The value N defines how many bytes to write. The maximum number of bytes that may be written is as follows:
- $10 forAT88SC0104C through AT88SC1616C (EEPROM page size of 16 bytes)
- $40 for AT88SC3216C and AT88SC6416C (EEPROM page size of 64 bytes)
- $80 for AT88SC12816C and AT88SC25616C (EEPROM page size of 128 bytes)
In Anti-Tearing mode, the maximum value for N is $08 for all devices. A write in Anti-Tearing mode is activated with the set user zone with anti-tearing command; all subsequent writes to the user zone will be in Anti-Tearing mode. A write may be started in the middle of an EEPROM page but must not extend past the end of the page.
If the host is not allowed to write in the zone, the device will not acknowledge the N-byte. After this command, the host must perform ACK polling unless operating in Encrypted mode; in that case, this command must be followed by the send Checksum command.

