FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5922 Discussions

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

AWu6
Beginner
659 Views

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

0 Kudos
4 Replies
EBERLAZARE_I_Intel
538 Views

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?

0 Kudos
AWu6
Beginner
538 Views

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;

}

0 Kudos
EBERLAZARE_I_Intel
538 Views
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.
0 Kudos
EBERLAZARE_I_Intel
538 Views

Hi,

 

Do you have any follow up questions?

0 Kudos
Reply