This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reset button from IDE

Hi,

Is there a button to reset the microcontroller? After program it sometimes is necessary perform a reset more than one time to debug or any reason and is more comfortable to do it from keil instead of power cycling.

Thanks

Parents
  • Solution:

    As Andy Neil told me the best is to add a custom icon in tools and use the stlink command line utility as follows:

    1. Tools -> Customize Tools Menu
    2. Add new and name it as "Reset MCU" (example)
    3. Command: the path to the st link command line utility called ST-LINK_CLI.exe
    4. Arguments: -c -rst

    With this you will add a new button called "Reset MCU" and when you click on it it will reset the MCU without needing enter in the debug mode.

    Thanks

Reply
  • Solution:

    As Andy Neil told me the best is to add a custom icon in tools and use the stlink command line utility as follows:

    1. Tools -> Customize Tools Menu
    2. Add new and name it as "Reset MCU" (example)
    3. Command: the path to the st link command line utility called ST-LINK_CLI.exe
    4. Arguments: -c -rst

    With this you will add a new button called "Reset MCU" and when you click on it it will reset the MCU without needing enter in the debug mode.

    Thanks

Children
No data