hi, I am facing problem with C6727 UHPI communication with PowerPC based host microprocessor(MPC-8248).
The configuration of UHPI is single HPIA, multiplexed full word mode with Byte addressing option enabled.
Sometimes while host tries to program the DSP (DSP is in UHPI boot mode), HRDY signal from DSP is continuously held HIGH for the entire duration of chip select and hence write access is failing. This behavior is inconsistent, and sometimes we are not observing any failures and behavior of HRDY signal is as expected.
We connected the emulator on the target DSP and could observe that sometimes HPIA/HPIAW register address value is going to unknown address range(0xFFFFFFFF or 0xC0000000 etc), this time read or write access looks like going to other address. Another issue here is after bootloading the DSP code from UHPI, when DSP application code is running, we have observed that, DSP gets hanged in ROM API region after some time. This is observed only during UHPI access from host CPU.
We are using following ROM API's in our application code for time critical sections:
| ROM API | Address |
| DSPF_sp_maxval | 0x000240E0 |
| DSPF_sp_blk_move | 0x000252A0 |
| DSPF_sp_vecsum_sq | 0x00024760 |
| DSPF_sp_dotprod | 0x00023E60 |
Interesting thing is whenever DSP stops due to UHPI access, it halts in ROM API region(Eg: 0x000241A0), and there it will be in an infinite loop.
Please give me some clue about this problem. My queries are:
1. Whether ROM initialization error is causing this problem?
SPRS 277C (section 2.3.1 Patches to Bootloader/System Initialization), bootloader also need s ROM patch?
ROM patches are installed in applicatiuon code .
3. What are the possible reasons for UHPI read/write address mismatch or HRDY signal to go HIGH?
Please help me to resolve this issue.
Thanks,
Balachandra