WIZnet Developer Forum

W7500 Software Reset

How can I perform a software reset from code?

We use watchdog

void board_reset(void)
{
UartPuts(UART1,"> Board Reset \r\n");
WDT_IntClear();
WDT_InitStructure.WDTLoad = 1;
WDT_InitStructure.WDTControl_RstEn = WDTControl_RstEnable;
WDT_Init(&WDT_InitStructure);
WDT_Start();
while(1);
}

Thanks for the reply! Are the WDT functions your own functions?

Use NVIC_SystemReset().

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.