Forum Discussion
AWu6
New Contributor
6 years agogoogol使用cyclone v soc,调用hwlib库中的CPU复位接口时不正常
我们的客户googol在使用cyclone v soc时,在HPS上执行hwlib库中的CPU复位接口的时候,执行完之后,CPU会复位,但是之后不能正常boot起来,请问一下可能是什么原因?谢谢
AWu6
New Contributor
6 years agoHi,
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;
}