Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 678 characters in body
Source Link
Mauro F.
  • 111
  • 1
  • 3

I have an arduino mega 2560 and I'm trying to program it using Arduino IDE 1.8.1. The problem is that I also need to keep open another program my arduino mega 2560that will communicate with the Arduino using the COM port. I usually have to make very small changes to the code with the IDE and then check the results in the program.

However, but when programming is over,the IDE has finished uploading the program it will not release the COM port is not released, so ifand the program I'm using will give me an error message saying "access denied". This is a problem because I havewant to use otherkeep both programs that needopen at the port,same time.

In fact I first havecould just: make my correction to the code, close the IDE when it has finished, open the program I need, check whether the correction I made was right, otherwise close it again and open the IDE again, but that would take an insane amount of time and then reopen it to do any minor changewould be quite annoying.

Is there a way to change this annoying behaviourforce the Arduino IDE to release the COM port so that other programs could communicate with the Aduino?

I'm using Arduino IDE 1.8.1 to program my arduino mega 2560, but when programming is over, the COM port is not released, so if I have to use other programs that need the port, I first have to close the IDE and then reopen it to do any minor change.

Is there a way to change this annoying behaviour?

I have an arduino mega 2560 and I'm trying to program it using Arduino IDE 1.8.1. The problem is that I also need to keep open another program that will communicate with the Arduino using the COM port. I usually have to make very small changes to the code with the IDE and then check the results in the program.

However, when the IDE has finished uploading the program it will not release the COM port, and the program I'm using will give me an error message saying "access denied". This is a problem because I want to keep both programs open at the same time.

In fact I could just: make my correction to the code, close the IDE when it has finished, open the program I need, check whether the correction I made was right, otherwise close it again and open the IDE again, but that would take an insane amount of time and it would be quite annoying.

Is there a way to force the Arduino IDE to release the COM port so that other programs could communicate with the Aduino?

Source Link
Mauro F.
  • 111
  • 1
  • 3

Arduino IDE doesn't release COM port after programming

I'm using Arduino IDE 1.8.1 to program my arduino mega 2560, but when programming is over, the COM port is not released, so if I have to use other programs that need the port, I first have to close the IDE and then reopen it to do any minor change.

Is there a way to change this annoying behaviour?