With the "Run" button, you can download the program without starting debugging.

Most of the time I don't want to step through debugging, I just want to download and then test through the serial port log

With the "Run" button, you can download the program without starting debugging.

Parents
  • The "Run" button (and also Run As menus) are there mainly for native application. Don't use them in cross development environment.
    Use "Skip All Breakpoint" toolbar button instead.
    In Debug configurations view, enable "Resume" checkbox in "Runtime Options" to launch program immediately after download.

  • Use the RUN button to download, just a solution to st. In short, st eclipse can be downloaded separately, just like IAR and KEIL have such a separate download  without entering the debugging, in the actual development is not convenient.

    Using "Skip All Breakpoint", you still enter debugging and then exit debugging

  • > Using "Skip All Breakpoint", you still enter debugging and then exit debugging
    It is because embedded programs won't run in Windows.

    Use programmer tool to run separately from debugger as JimB mentioned.
    Emulator prevents from running program because undebugged codes should not run.
    Then you also need unplug emulator when start running the board alone.

  • Therefore, this is not able to achieve the purpose of one-click download, to enter debug and then exit

Reply Children
No Data