We are testing the HPI and are having a trouble. We run in both HPI boot and ROM boot mode on the C6747.
Some initilization done are shown bellow:
1. Setup Pin multiplexing for HPI.
2. Configure HPIENA bit to 1 and HPIBYTEAD to 1 in the chip configuration 1 register (CFGCHIP1).
3. Setup HWOB bit to 1 in HPIC. Also, Setup DUALHPIA bit to 0.
4. Check HPIRST bit in HPIC. And it is right that HPI is release from reset.
Here is what seems to work so far:
1. The host device can write a value to HPIC/HPIA and read back this value. It works well.
2. We try to write DSP internal memory. It works well.
But we have a trouble in reading back from DPS internal memory and registers.
Reading low 16 bits back from DSP internal memory always shows 0.
And reading high 16bits seems to be unstable. The value is variable. Sometime it shows correct value, sometimes it shows 0.
For example, we write the memory location 0x11800000 with the value 0x12345678.
But, reading the value from the memory location 0x11800000 shows 0x12340000 or 0x00000000.
Could anyone give any suggestions for this?
thanks in advance,
Jackson


