Forum Discussion
AWu6
New Contributor
6 years agogoogol使用cyclone v soc,调用hwlib库中的CPU复位接口时不正常
我们的客户googol在使用cyclone v soc时,在HPS上执行hwlib库中的CPU复位接口的时候,执行完之后,CPU会复位,但是之后不能正常boot起来,请问一下可能是什么原因?谢谢
4 Replies
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
May I know what is the booting method, is it using SD card or QSPI etc?
Can you elaborate on how exactly the CPU reset is called?
- AWu6
New Contributor
Hi,
boot from QSPI flash.
right now customer are debugging software, reset is called in their main function.
they called this function for CPU reset.
ALT_STATUS_CODE alt_reset_cold_reset(void)
{
alt_write_word(ALT_RSTMGR_CTL_ADDR, ALT_RSTMGR_CTL_SWCOLDRSTREQ_SET_MSK);
return ALT_E_SUCCESS;
}
- EBERLAZARE_I_Intel
Regular Contributor
Hi, Regarding the QSPI reset, please refer here on the reset solution: https://rocketboards.org/foswiki/Documentation/SocBoardQspiBoot Let me know if the solution did not solve the issue. - EBERLAZARE_I_Intel
Regular Contributor
Hi,
Do you have any follow up questions?