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
  • Start debugger is very slow and the IDE have to change from compiler to debugger...

    For example, you have a board connected to a PC and you are debugging the code running at the PC , this code get a package sended by the board and decodes it but for any reason this dont work properly and you want to send some packages to debug it and find the error.. you have three methods:

    1. Placing a switch on the board to send the package when you press it. This involves to write more code to read the pin, place a switch and connect to the board and of course the board must have a I/O pin free to do that.. Very complicated.

    2. Place a timer to send a package every x seconds.. but this is not what I need to debug because don't want to receive more packages until I debugged the first one... Not good solution.

    3. Place the code to send the package at board initialization and when the board starts sends the package. If you have a reset button in IDE is very simple, reset the board and receive a new package, in other words, click and get a new package.

    This is an example but this is aplicable to many scenarios and you are not debugging the board and not starting the debugger.

Reply
  • Start debugger is very slow and the IDE have to change from compiler to debugger...

    For example, you have a board connected to a PC and you are debugging the code running at the PC , this code get a package sended by the board and decodes it but for any reason this dont work properly and you want to send some packages to debug it and find the error.. you have three methods:

    1. Placing a switch on the board to send the package when you press it. This involves to write more code to read the pin, place a switch and connect to the board and of course the board must have a I/O pin free to do that.. Very complicated.

    2. Place a timer to send a package every x seconds.. but this is not what I need to debug because don't want to receive more packages until I debugged the first one... Not good solution.

    3. Place the code to send the package at board initialization and when the board starts sends the package. If you have a reset button in IDE is very simple, reset the board and receive a new package, in other words, click and get a new package.

    This is an example but this is aplicable to many scenarios and you are not debugging the board and not starting the debugger.

Children