Overview
========
The software_reset example shows the uptime and after 5 seconds resets itself using
the software_reset() function board.c/.h.

If the hardware seems unresponsive and the debugger cannot connect/flash/erase the current program
then the most likely cause is the running program preventing the access. To stop the currently
running program and regain control:
  1) Press and hold down the ISP_ENABLE button (SW1)
  2) Press and hold down the RESET button (SW3)
  3) Let go of the RESET button
  4) Wait an extra second or two
  5) Release the ISP_ENABLE button
  6) The hardware is now in a mode where programming/erasing it should work


Toolchain supported
===================
- IAR embedded Workbench  8.50.9
- Keil MDK  5.33
- GCC ARM Embedded  9.3.1
- MCUXpresso  11.3.0

Hardware requirements
=====================
- Mini/micro USB cable
- iMXRT1062 Developer's Kit

Board settings
==============
No special settings are required.

Prepare the Demo
================
1. Connect a micro USB cable between the PC host and the J22 USB port on the board.
2.  Open a serial terminal with the following settings:
   - 115200 baud rate
   - 8 data bits
   - No parity
   - One stop bit
   - No flow control
3. Download the program to the target board.
4. Press the reset button on your board to begin running the example.

Running the demo
================
When the demo runs successfully, you will find the following in the terminal.

~~~~~~~~~~~~~~~~~~~~~
Software Reset Example
Uptime 1s
Uptime 2s
Uptime 3s
Uptime 4s
Uptime 5s
Software Reset Example
Uptime 1s
Uptime 2s
Uptime 3s
Uptime 4s
Uptime 5s
Software Reset Example
Uptime 1s
...
~~~~~~~~~~~~~~~~~~~~~
