整了一周发现 问题的原因了,貌似 跟 HPI BOOT的 相关顺序描述有出入啊
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.
按照上面的顺序 清除HINT 会导致 无法写HPIA,我不知道是不是我单独出现这种情况,请相关人员进行 验证。
而在进行DSP_RST之后就可以对内部地址空间进行访问
整了一周发现 问题的原因了,貌似 跟 HPI BOOT的 相关顺序描述有出入啊
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.
按照上面的顺序 清除HINT 会导致 无法写HPIA,我不知道是不是我单独出现这种情况,请相关人员进行 验证。
而在进行DSP_RST之后就可以对内部地址空间进行访问
举报