chipKIT® Development Platform

Inspired by Arduino™

Cannot Upload, "serial port already in use"

Created Sat, 01 Oct 2011 19:31:59 +0000 by walnuts


Sat, 01 Oct 2011 19:31:59 +0000

I setup a program on my MAX32 board which has a few serial print commands. I've tried to update that program but anytime I try to upload something to it I get an error saying that the serial port is already in use.

Can someone tell me how to get around this?


Mon, 03 Oct 2011 11:20:40 +0000

This is probably because you're using a serial terminal program on the PC which has "reserved" the serial port at the PC end for comms. Close that program and then the serial port should be free for the program download.


Tue, 11 Oct 2011 06:20:47 +0000

I'm also facing this problem and thanks for sharing with us.


Tue, 11 Oct 2011 10:55:15 +0000

I did figure out what had happened. The Serial Monitor had hung up and wouldn't shut off. I had to start the task manager (using Window's, obviously) and manually shut down the "AVRDUDE" (IIRC) program. That fixed it for me.

Good luck!