---
title: "W7500 Software Reset"
url: "https://maker.wiznet.io/forum/12632"
markdown_url: "https://maker.wiznet.io/forum/12632/md"
type: "Forum topic"
category: "MCU & Boards"
author: "dollyparton"
created: "2017-12-20T09:48:15+09:00"
last_activity: "2018-01-10T01:22:03+09:00"
language: "en"
views: 888
replies: 4
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# W7500 Software Reset

## Question

Asked by dollyparton on 2017-12-20 in MCU & Boards.

How can I perform a software reset from code?

## Replies

### Reply 1 by joaopaulob, 2017-12-25

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);
}

### Reply 2 by dollyparton, 2017-12-28 (in reply to reply 1)

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

### Reply 3 by joaopaulob, 2017-12-28

![](https://github.githubassets.com/favicons/favicon.svg) [github.com](https://github.com/Wiznet/W7500/tree/master/W7500x_Library_Examples/Projects/Peripheral_Examples/WDT/WDTReset)

### [W7500/W7500x_Library_Examples/Projects/Peripheral_Examples/WDT/WDTReset at...](https://github.com/Wiznet/W7500/tree/master/W7500x_Library_Examples/Projects/Peripheral_Examples/WDT/WDTReset)

[master/W7500x_Library_Examples/Projects/Peripheral_Examples/WDT/WDTReset](https://github.com/Wiznet/W7500/tree/master/W7500x_Library_Examples/Projects/Peripheral_Examples/WDT/WDTReset)

W7500 Library and Peripheral Examples. Contribute to Wiznet/W7500 development by creating an account on GitHub.

### Reply 4 by kralcllib, 2018-01-10

Use NVIC_SystemReset().

---

Source: https://maker.wiznet.io/forum/12632
