Hi TI,
Hope your day’s going well.
We’re going to be booting a C6727 DSP from a PPC440 using multiplexed full-word addressing mode. We’ve read the “TI_spraa69d_Bootloader” and “TI_spru719a_UHPI” documents, coded our “dspLoad” routine, and thrown-together a state machine that simulates what we think the DSP bootloader will do based-on the documents (as we don’t have hardware yet). In going-through all this, we’re still left with the following questions with which we hope you can help.
First, we believe that in mux’d mode, we’ll have to do all reads/writes to the DSP via the HPIA register (in “single HPIA” mode). Section 1.5.1 of the UHPI document says “the host writes addresses into the HPIA register before reading or writing the HPID register to trigger an access on the C672x device” We found the HPIAW (UHPI section 3.16) and HPIAR (UHPI section 3.17) registers, but could find no mention of the “HPID” register in any of the document’s DSP register tables. Where is the address of this register specified? Does it exist, or is it only necessary to load the word address into the HPIA register, then do a normal HPI bus read or write cycle (with a “don’t care address) to read or write the data?
Next, before beginning the AIS interpreter on the host, we’d like to test and confirm communication with the DSP over the HPI bus by reading the “BTLDR_REVSN_REG” register at ROM address 0x0C and confirming a revision value of “0xC9230C10.” Can the host perform “normal” accesses to DSP registers while the bootloader is waiting for the host to initiate the AIS download process, or is the bootloader intercepting all writes watching for the AIS Interpreter “SWS” process to begin?
Following this, we start the AIS Interpreter on the host, as described in section 5 of the “bootloader” document. Beginning with Start Word Synch, section 5.2 says “The host must keep on sending XMT_START until it receives “RECV_START” from the DSP.” However, we can’t find any mention of the DSP address to which the host should write the XMIT_START word (via the HPIA register), or the address from which the host should attempt to read the RECV_START word from the DSP bootloader. Where can we find these addresses? We presume the bootloader address can’t be a “don’t care,” as this would preclude accessing other DSP registers before beginning the AIS download process.
Finally, if you can point us to any application examples of the HPI AIS Interpreter implementation for the C6727, or any additional documents that provide a detailed description of the process, we’d appreciate it.
Thanks for listening,
Dave