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

Build and Flash in One Click

In uVision 5, is there a way to have one button or one shortcut key that will do a Build immediately followed by a Download if the build is successful?

I am very often clicking Build, then waiting for the compile to finish so I can click Download to flash my target hardware. It would really be nice to be able to automate this in one click or one keyboard function key.

Parents
  • Isn't this what the "Start Debugging" option does in Target Options -> User ?

    This option does a bit more than Wayne Fannon requested. It also starts a debug session. The option 'Options for Target - Utilities - Update Target before Debugging' should be set to download the project to the Flash between building the project and starting a debug session.

    As a workaround, you could set this option and you could put an 'exit' command into an initialization file for the debugger. Then, a successful project build would download the project into Flash, would then start the debugger and would then terminate it immediately.

Reply
  • Isn't this what the "Start Debugging" option does in Target Options -> User ?

    This option does a bit more than Wayne Fannon requested. It also starts a debug session. The option 'Options for Target - Utilities - Update Target before Debugging' should be set to download the project to the Flash between building the project and starting a debug session.

    As a workaround, you could set this option and you could put an 'exit' command into an initialization file for the debugger. Then, a successful project build would download the project into Flash, would then start the debugger and would then terminate it immediately.

Children