3.2 Host Port Interface (HPI) Boot
HPI boot happens from the HPI0 peripheral in 16-bit mode. The sequence to boot from HPI is listed below:
- Bootloader interrupts the host by setting the HINT bit, in the HPIC register, to inform that it is ready and that the host can start loading the application image to device memory.
- Host acknowledges this interrupt by clearing the HINT bit.
- Host loads the application image to device memory and writes application entry point to location 0x80000000 in device memory.
- Host reads back the final word it wrote to device memory to make sure all HPI writes have completed successfully.
- Host interrupts bootloader by setting DSPINT bit in HPIC register to inform that loading of application image is complete.
- Bootloader acknowledges host by clearing DSPINT bit.
- Bootloader reads application entry point (written by host) from address 0x80000000 and branches to it.