Slave Boot Procedures
CS4953xx Hardware Users Manual
DS732UM7
Copyright 2008 Cirrus Logic, Inc
2-6
2.2.1.1.1 Host Controlled Master Boot (HCMB) Procedure
1.
Toggle RESET. A download sequence is started when the host holds the RESET pin low for the required time.
The mode pins, HS[4:0] must be in the appropriate state to set the host communication mode before and
immediately after the rising edge of RESET. Pull-up and pull-down resistors are typically used to set the default
state of the HS[4:0] pins.
2.
Send the SLAVE_BOOT message. The host sends the appropriate SLAVE_BOOT message to the CS4953xx
using the control port specified (serial port/parallel port) and format specified (I
2
C, SPI, Intel, etc.) by the
HS[4:0] pins at reset.
3.
Wait for 10uS.
4.
Read the BOOT_START message (See NOTE 1 in
). If the initialization is successful, CS4953xx
sends out the BOOT_START message and the host proceeds to Step 6.
If initialization fails, the host must return to Step 1, and if failure is met again, the communication timing and
protocol should be inspected.
5.
Send the BOOT_ASSIST_A.ULD File. The host sends a the boot assist .uld file to the CS4953xx.
6.
Wait 10 uS
7.
Read the BOOT_SUCCESS message (See NOTE 1 in
). The host then reads a message from the
appropriate communications port. Each.ULD file contains a checksum that is compared at the end of the boot
process. CS4953xx sends a BOOT_SUCCESS message to the host if the checksum is correct after the
download.
If the checksum was incorrect, CS4953xx responds with a BOOT_ERROR_CHECKSUM message. This
indicates that the image read by the DSP is corrupted. The communications interface hardware and code image
integrity should be checked if this occurs.
8.
Send the SOFT_RESET_DSP_A command: After reading the BOOT_SUCCESS message on the boot assist
code image/overlay, the host must send this message.
9.
Send the correct HCMB_<MODE> message. The host sends to the CS4953xx the appropriate
HCMB_<MODE> message, where <MODE> indicates the type of external ROM: PARALLEL, SPI, or I2C.
This message tells CS4953xx the start address of the downloadable image (.ULD file) and identifies which port
will be used to access FLASH memory.
10. Wait for IRQ low. The host then waits for SCP1_IRQ (or PCP_IRQ) to go low. (See NOTE 2 in
)
11. Read the BOOT_START message. If the initialization is successful, CS4953xx will send the BOOT_START
message to the host.
If initialization fails, the host must return to Step 1, and if failure is met again, the communication timing and
protocol should be inspected.
12. Wait for IRQ low. After receiving the BOOT_START message, the host then waits for SCP1_IRQ (or
PCP_IRQ) to go low. This indicates that the DSP has written a message to the output buffer and the boot process
is complete.
13. Read the BOOT_SUCCESS message. The host then reads a message from the appropriate communications
port. Each.ULD file contains a checksum that is compared at the end of the boot process. The CS4953xx sends
a BOOT_SUCCESS message to the host if the checksum is correct after the download.
If the checksum was incorrect, CS4953xx responds with a BOOT_ERROR_CHECKSUM message. This
indicates that the image read by the DSP is corrupted. The communications interface hardware and code image
integrity should be checked if this occurs.
14. Repeat Steps 9-13 for all code images/Overlays. The host repeats these steps until all overlays for the
application have been successfully loaded. See the application note for more information on the overlays
necessary at start-up.
Содержание CS4953xx
Страница 34: ...Softboot CS4953xx Hardware Users Manual DS732UM7 Copyright 2008 Cirrus Logic Inc 2 18 ...
Страница 56: ...SPI Port CS4953xx Hardware Users Manual DS732UM7 Copyright 2008 Cirrus Logic Inc 3 22 ...
Страница 58: ...CS4953xx Hardware Users Manual DS732UM7 Copyright 2008 Cirrus Logic Inc 4 2 ...
Страница 88: ...SDRAM Flash Controller Interface CS4953xx Hardware Users Manual DS732UM7 Copyright 2008 Cirrus Logic Inc 8 10 ...
Страница 118: ...Revision History CS4953xx Hardware Users Manual DS732UM7 Copyright 2008 Cirrus Logic Inc 9 30 ...