Quote:2) LevRemote Is set to use COM3 and an upload attempt has never been attempted.
Well it was attempted by me but not by VM. When I attempted to upload to the remote device it went to the console device instead, on com4, which can actually be a danger to the device.
Quote:Yes this sounds correct. The upload port should always be the port of the start-up project. Only the start-up project is ever uploaded.
Ok, so this is so, then this raises some important questions.
1/ In an Arduino programming environment, what circumstance would lead to two projects that do not get targeted to different devices? This is easy to answer in a more complex traditional programming environment with multiple sources and targets, but the Arduino environment enforces simplicity - even the folder name must match the source filename, and other very restrictive things too. If you are making two projects in Arduino then they are going to two different targets and thats how Arduino enforces it.
2/ Why is there an option to select different upload ports (on the ribbon) for each project? Clearly the setting is saved in the project files because the setting is persistent across ide restarts, however it appears to ignore it when an upload is requested.
3./ Another item arising from an earlier post in this thread, and relevant here. Rarely do I want to compile AND upload. It is common for the code to be in a condition that is hazardous to the target device - eg. ports configured as outputs that are connected to active lines. A regular compile, however is not unusual, just to confirm that the code is syntactically correct, or all includes are there. Nothing is worse than coding all day only to have a thousand errors on the first compile, and at no time during that day was the code in a fit state to upload. That is why I have been using "build" and "upload last build" ( I did do it the way you asked which made no difference to the problem under discussion).
Quote:Maybe the confusion is you have found a hole that needs plugging
That comment makes me feel more confident the issue will be addressed. Thankyou.
cheers, JohnF