Altera_Forum
Honored Contributor
14 years agounexpected CPU/hardware reset
We have a board custom based on a cyclone III and everything has been working well for months. In a recent batch of boards we received, however, occasionally the system seems to unexpectedly reset. I am not sure if it is a CPU or full reset. I just notice that the sys_clk_timer seems to start over and my application code enters main(). I found that I could prevent the reset from occurring in these new boards by commenting out an IORD() which reads from a custom peripheral's data memory.
My first question would be what are all the possible ways for a system reset to occur? Also I am not sure if for our custom peripheral it was necessary to generate a HAL API with <component name> _regs.h, etc in order to use IORD?