D6713 HPI Boot
Is it possible to boot the D.Module over the HPI? The D.Module user guide makes no mention of this. The DSP chip itself supports it, but D.SignT have set it up to boot from the module’s onboard ROM. There is no obvious jumper on the D.Module to change that behaviour. There are some jumpers but they are all unmarked.
2 Solution 1
The board jumper settings are shown in the D.Module.C6713 User's Guide, page 9. To select HPI boot mode:
- JPH1 must be set to position 'b' (HPI)
- JPH2 must be closed (HPI bus enabled)
- JPBOOT must be set to position 'a' (Host Interface)
Notes for HPI boot mode:
- The D.Module BIOS functions are not available.
- All initializations (EMIF, PLL etc.) must be done manually
- PRGIO[31:16] cannot be used.
- McASP cannot be used
3 Solution 2
- Leave the module configured to Flash Boot. Write a small program which configures and initializes the D.Module and then branches into a loop which waits for a DSP interrupt (poll the HPIC register). Store this program in Flash Memory.
- The host processor can now load code and data sections to the 6713 module. If finished, the host writes the program entry point address to a dedicated memory address and issues a DSP interrupt by setting the DSPINT bit in HPIC.
- The DSP now exits the "wait for DSPINT" loop, reads the entry point, and executes a branch to the entry point.
- Advantage: the DSP and its peripherals are readily configured, all memory (e.g. SDRAM) is accessible by the host without special initialization. All BIOS functions are available.
- Disadvantage: a small portion of the memory is used for the "wait for DSPINT" program and must not be overwritten by the host.
4 Additional Tags
Host Port Bootloader