Jump to content
Sign in to follow this  
rdufrene

MSP430 Nothing on Serial Monitor

Recommended Posts

Hello, I am trying to have my MSP430G2553 on a launchpad (Rev.1.5) show anything on the serial monitor using the following code:

 

void setup() 
{
  Serial.begin(9600); 
}
 
void loop() 
{
  Serial.println("Test");
  delay(1000);
}
post-38943-0-80565600-1415901639_thumb.j
I have downloaded the drivers http://energia.nu/Guide_Windows.html
 
post-38943-0-36423400-1415902309_thumb.p
I'm just not sure what is wrong. I can load the Blink example and get it to work and even making it do other things but when it comes to reading values and serial the launchpad doesn't want to do anything.

post-38943-0-80565600-1415901639_thumb.jpg

post-38943-0-36423400-1415902309_thumb.png

Share this post


Link to post
Share on other sites

Assuming it's Windows for the installation, or any other OS supporting "plug and play" for that matter, the serial port assigned will depend on what other serial ports the system may have previously assigned. You HAVE to know that serial port in order to use Energia's terminal window to interact with the device. You choose the serial port using Energia's "Tools > Serial Port >" menu.

 

@@semicolon - assuming Windows, you are correct: serial ports appear and disappear as devices are connected / disconnected, as rightly should be expected.

 

Worth noting is that if you connect the same device to a different USB port on the computer, the computer may assign it a different COM port. Windows' Device Manager (devmgmt.msc) is your best friend here as you can expand the tree showing COM ports and then watch what is added when a device is connected, and could, if need be, alter Windows' behavior so that it assigns the same COM port regardless of which USB connection is made. This does require plugging the device into the computer on each USB port and manually changing the "advanced" properties of the device to accomplish that.

Share this post


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.

Guest
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.

Sign in to follow this  

×
×
  • Create New...