This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HPI加载DSP AIS文件后,DSP无法自己运行

Other Parts Discussed in Thread: TMS320C6748

DSP型号:C6748

FPGA在用HPI加载DSP的AIS文件后,FPGA将HPIC控制寄存器的DSPINT位写1,通知DSP程序加载结束。

按照Using the TMS320C6748/C6746/C6742 Bootloader文档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
0x11800000 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 0x11800000 and branches to it.

FPGA将DSPINT位置1后,Bootloader应该会自己从0x11800000获取C程序入口地址,然后执行。

通过CCS观察0x11800000处C程序入口地址正确,指向“c_init”。

问题:FPGA将DSPINT写1后,DSP没有运行,需要从CCS软件上执行RUN的操作DSP才能正常运行。

此时用JTAG线连着DSP,但并没有通过JTAG下载DSP程序,而是通过FPGA用HPI口加载。