automatically download to flash after successful compile

hi
i want to automatically download to flash after successful compile in keil.
i use this command :option >> user >> run after build >> "uv4 -f"
when i press f7 after compile open a new keil application windows to program, But this command is slow.
looking for a command that program in current windows directly.

Parents
  • If you are going to debug, then the checkbox 'Load Application at Startup' would download the code to flash when you select F5 - Run.

    Why download directly after compile? If you get a warning when compiling, you might want to consider modifying the code and rebuild before running the code.

    And you might want to test several different ways to write some code lines to see which gives smallest code - but without having a download forced on you.

Reply
  • If you are going to debug, then the checkbox 'Load Application at Startup' would download the code to flash when you select F5 - Run.

    Why download directly after compile? If you get a warning when compiling, you might want to consider modifying the code and rebuild before running the code.

    And you might want to test several different ways to write some code lines to see which gives smallest code - but without having a download forced on you.

Children
More questions in this forum