Are you sure you don’t have any instance of your application currently running?
You can verify it by going to the Debug perspective, which lists the current running sessions. If there is still a running one, you can kill it by pressing the stop button.
how do you mean ‘application running’ ?
i’m compiling for [target]arm-elg-gcc-debug.
when i press ‘run’, it usually downloads the program (after successful compile) to my module and switches to the debug perspective.
when it encounters a compile error, i tell it to not continue the download.
then, when i’ve repaired the error, and i press the ‘run’ button again, the above error pops up.
the cpu isn’t even connected at that moment.
the program is always running when i download a new program.
Ok I didn’t catch you was cancelling the download by answering “no” to the question about “continue launching”.
The issue is reproduced, and logged to be fixed in a future release (thanks for the feedback).
If even you fall in this issue, you unfortunately have to restart M2M Studio
Just to avoid falling in this trap, when M2M Studio is asking you if you want to continue launching since there are errors in the project, say “Yes”
the previous binary will be downloaded; you can deal with it or press the cancel button during the download: both cases won’t “lock” M2M Studio, and you will be able to relaunch the app once the compile errors will be fixed.
if i ma add another problem with the ‘run’ button workflow.
A problem arises with the trace function when using this button.
i have traces running on the previous program-run, but when the run-function is done uploading and switches to the target perspective, it doesn’t reset the trace status!
so when i try to start the traces, my module actually resets as if the traces were stopped!
if uploading the program to the module failes, is fails silently!
i’ve had a number off occasions now that the program “download” never starts, but the module is rebooted and there is no indication that the new program is not loaded into the module
after succesfull compilation, is says downloading, but no percentage is shown.
after a short while, eclipse switches to the target perspective and the module is restarted.
TBW. the solution you propose doesn’t work either, because the build proces first removers the old file.
so it can’t upload.
so i still have to restart M2M studio/