Forum Discussion
Altera_Forum
Honored Contributor
20 years agoNIOSII RST pin
Dear guys, I would like to implement a reset of NIOS II processor by software. So I have included by SOPC builder a simple output PIO which is directly connected to the processor RST pin. ...
Altera_Forum
Honored Contributor
20 years agoIf you just want a software reset then
1. disable all IRQs (if you use any) 2. use goto *((void**) NIOS2_RESET_ADDR); to jump to the reset address of the NIOS. NIOS2_RESET_ADDR is defined at system.h, so don't forget to # include <system.h> This will ONLY reset the CPU, NO reset for any of the peripherals !! Hope this helps, Klaus