SPRABA5D January 2014 – January 2019 AM1802 , AM1802 , AM1806 , AM1806 , AM1808 , AM1808 , AM1810 , AM1810
The Boot Table (or SET) command writes 8-, 16-, or 32-bit data to any address in device memory. Additionally, it instructs the device to wait for a fixed number of cycles after the memory write occurs. This can allow memory-mapped register writes to take effect before the bootloader moves on to the next opcode.
This command takes four arguments. First is the type (size and format) of the memory location to be written; the contents of this word are described in the table below. The address comes next, followed by the data. Note that the data is given as 32 bits in the AIS regardless of how many bits will actually be written. The last parameter is the number of cycles to delay execution of the next opcode.
31 | 24 | 23 | 16 | 15 | 8 | 7 | 0 |
Reserved | STOP | START | LENGTH |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
Bit | Field | Value | Description |
---|---|---|---|
31-24 | Reserved | 0 | Reserved |
23-16 | STOP | 0-31 | The highest (or most significant) bit of the custom data field. Only used when LENGTH = 3 or 4. |
15-8 | START | 0-31 | The lowest (or least significant) bit of the custom data field. Only used when LENGTH = 3 or 4. |
7-0 | LENGTH | Size of data word | |
0 | 8-bit | ||
1 | 16-bit | ||
2 | 32-bit | ||
3-4 | Custom field defined by STOP, START. Data outside this field at the target address will be preserved. | ||
5-FFhC | Reserved |