I want to use the serial port, and also upload new software. I am running windows 7, IDE version 1.6.5, UNO device.
I find that when my program reads/writes to the serial port it 'upsets' the IDE uploader, so I have to use the following process
- disconnect Uno from PC (removing power), remove my serial port interface from Uno.
- plug UNO to PC. upload new software
- disconnect Uno from PC, reconnect serial port interface (my serial device also gets power from the Uno, so I don't want to 'hot swap')
- reconnect Uno to PC to use serial monitor on the IDE to test my software.
I find this a cumbersome process.
Is there some way of separating the 'upload' and 'test' components of the process so I can keep the Uno connected. Eg during upload, the processor is held in reset preventing activity on the serial port. Should I only start using my serial port several seconds after power up, so I can reset then have time to initiate an upload before sending serial info?