4.15.2.4 Extended erase
Will erase N+1 pages. The N and page number are both 16 bit. Does not operate with an address, but with page
number. This command is applicable for the device in bootloader mode.
Table 7. Memory erase command
Command Response
Extended erase 0x44 0xBB
ACK 0x79
NACK 0x1F
N
Number of pages to be
erased, 2 B
0 = erase 1 page
Page numbers
2 bytes per each erased page
(N+1 pages times 2 bytes)
Checksum
XOR of previous bytes(N,
page numbers)
ACK 0x79
NACK 0x1F
4.15.2.5 Write
Can write a block of up to 256 B. Writes in sets of 4 B; the number of written bytes must be a multiple of four. The
NVM starts at address 0x08000000. This command is applicable for the device in bootloader mode.
Table 8. Memory write command
Command
Response
Write memory 0x31 0xCE
ACK 0x79
NACK 0x1F
Start address 4 B address
Checksum XOR of previous 4 B
ACK 0x79
NACK 0x1F
N
Number of bytes to be written,
1 B
0x03 = 4 B of data
Data N+1 data bytes
Checksum XOR of all data bytes
ACK 0x79
NACK 0x1F
UM3286
Device description and operation
UM3286 - Rev 1
page 22/84