Jump to content

Serial and Serial Monitor on Windows

Recommended Posts

Just tried my first practical project on Energia, and i love it!


I do have a question on Serial and appreciate any advice. It is about the stability of the COM port. The first time my program worked fine, and the serail port monitor returned expected results. But after adding some code (no errors and upload is ok), the following message is displayed when i tried to load the Serial Monitor:


Binary sketch size: 1,362 bytes (of a 16,384 byte maximum)
processing.app.SerialException: Serial port 'COM24' already in use. Try quiting any programs that may be using it.


And compile and upload again will fail with this message:


# Exit: 19
# ERROR 1014: Could not find MSP-FET430UIF on specified COM port

UseCase for MSP430.dll


After unplugging and plugging the LP back in, Windows (XP) complained it cannot recognize the board. And after a few tries the PC goes blue screen :o


Rebooted and started fresh with the default AnalogReadSerial sample program where I started the project with, and got hit by similar problem, but no blue screen.


Checked the sensor again with Arduino and everything is fine, sensor is working and the COM port is alright.


Any suggestions I could try? Reinstalling drivers? I have CCS v5 installed but that shouldn't be any conflict right? Thanks in advance.

Link to post
Share on other sites

Just back home and tried again and the problem is gone! The pc was turned off before i left, so maybe my pc needed some rest!




Edit: It came back again! Lost the com port after a few compile and upload, then Windows cannot recognize the LP.. Perhaps it's my old PC :lol:

Link to post
Share on other sites
  • 2 weeks later...

I've also experienced the serial port becoming unavailable (or unusable) after using the Serial Monitor option in Energia on Window 7. Selecting another COM port and then re-selecting the "real" one seems to work so far in my limited experimentation. In other words, your board might be say, COM8, so switch to COM1, then back to COM8 and that may clear things up for the next run.


Hope this helps.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...