I am trying to reset the XRT1160/1170 via software. I have tried a few methods and all have failed
What I have tried so far:
- NVIC_SystemReset();
- WDOG_TriggerSystemSoftwareReset(WDOG);
- wdog_config_t config;
WDOG_GetDefaultConfig(&config);
config.timeoutValue = 0xFU; /* Timeout value is (0xF+1)/2 = 8 sec. */
WDOG_Init(WDOG1, &config)
All of them hang the MCU, debugging stops, and it doesn't complete the reset.
This is on a custom board with an IS25xxx QSPI Chip https://www.issi.com/WW/pdf/flash-spi_electronica2014.pdf
Along with the above mentioned attempts I have read through multiple other blog posts to no avail. I have also tried the watchdog example and the reset example, neither correctly reset the MCU.
Any help is appreciated.
Thanks,
Cole