| Electronic Components Datasheet Search |
|
WM0011 Datasheet(PDF) 33 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
WM0011 Datasheet(HTML) 33 Page - Cirrus Logic |
|
33 / 233 page ![]() WM0011 Production Data w PD, Rev 4.1, August 2013 33 CODE PACKET FORMAT The Code Packet Format comprises 4 data blocks, as described in Table 10. NAME SIZE DESCRIPTION CMD 1 byte Command field, describing the function of the packet LEN 3 bytes Length (in bytes) of the DAT portion of this code packet ADDR 4 bytes Memory Address associated with the packet DAT 0 to 8184 bytes Data words Table 10 Code Packet Format The total size of the Code Packet (LEN) is required to be a multiple of 8 bytes. The ADDR field must also be 64-bit aligned (ie. a multiple of 8 bytes). All multi-byte data fields in the packet must the formatted in ‘little endian’ (Least Significant Byte first) format. One or more code packets may be downloaded to the WM0011 in order to configure the device for the required application. The Code Packet Format is illustrated in Figure 11. Figure 11 Code Packet Format CODE HEADER DOWNLOAD The Software Code download operation requires multiple Code Packets to be sent to the WM0011. The download may be achieved via the SPI Slave or SPI Master (eg. Flash Memory) interfaces. If the Custom fuses are not programmed, then only the SPI (Slave) download method is possible. The Software Code download comprises one Code Header packet, followed by multiple Code Data packets. The Code Packet definition for the Code Header is: CMD = 0x02 LEN = 0x00_0108 ADDR = Start Address for code execution DAT = Data words In the DAT portion of the code packet, the first 32-bit data word will contain the total length (in bytes) of the code image. This is followed by a 32-bit filler word, followed by the 256-byte image signature (SHA-256). For custom-programmed devices, the WM0011 supports PKA-encryption of the image signature. This is not supported on un-programmed devices. On receipt of a valid Code Header packet, the WM0011 will expect to receive the associated Code Data packets, thus completing the software code download. Boot status and error codes are reported via the UART interface, and via the SPI interface during the Code Header download - see “Boot Status and Error Reporting”. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |