I am starting the debugger with UV4 -d <project> from the command, but would like to start code execution (Run/F5) automatically. This can be done with a GO command in the initialization file, but the project is not configured to load initialization file at startup in "Options for Target - Debug - Initilization File". I do not want to change the options for target.
Is it possible to start uvision debugger with initialization file from command line? e.g. UV4 -d <project> <initialization file>
Is there a way to start execution from command line automatically without changing the options for target?
Yes, there is a way. You can just enter the Go command into the debugger initialization file.
The command list is available here: http://www.keil.com/support/man/docs/uv4/uv4_debug_commands.htm
The file with the debug commands is specified in this dialog: http://www.keil.com/support/man/docs/uv4/uv4_dg_debug.htm