Forum Discussion

AWu6's avatar
AWu6
Icon for New Contributor rankNew Contributor
6 years ago

googol使用cyclone v soc,调用hwlib库中的CPU复位接口时不正常

我们的客户googol在使用cyclone v soc时,在HPS上执行hwlib库中的CPU复位接口的时候,执行完之后,CPU会复位,但是之后不能正常boot起来,请问一下可能是什么原因?谢谢​

4 Replies

  • 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's avatar
    AWu6
    Icon for New Contributor rankNew 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;

    }