Jump to content
43oh

Serial Monitor/Serial.print() issue


Recommended Posts

  • 2 months later...

Hello,

 

new guy here. I can't get it to write aswell :/

 

Just trying something super basic for the first attempt:

void setup()
{
  Serial.begin(9600);
}
void loop()
{
  Serial.print("Hello World");
}

COM is detected by both windows and Energia, it compiles without errors and the baud rate is set in the serial Monitor, tried to change the pins on J3 ( horizontal and vertical positions) and PuTTY incase the inbuilt Energia monitor was the problem. NOTHING. can't get it to do it. I got some basic led flashing in another code running, so the chip isn't dead and i also tried it on two computers with both usb3 and usb2 sockets.  the USB cable that i use is 1.8m long but i refuse to believe that it could be the cause.

Link to post
Share on other sites

I have a strange problem with my MSP430G2553 Serial Monitor. It is rev. 1.5 so I did change the UART pins to vertical, but whatever I want to post to serial monitor I get some random symbols (like it would do when the baudrate is wrong). How do I know that everything with baudrate and COM is right? I have two MSP430G2553 and the other one works with no problems at all. Maybe I need to reset something or whatever? I have no idea what to do other than change the MSP430 for another one. Thanks.

 

Edit: I just changed the MSP to another one which worked.

I asked my professor about this and he said it is due to some frequencies in the controller itself. Had no time to go in depth with solving the problem with the controller.

Link to post
Share on other sites
  • 1 year later...
  • 1 year later...

I am also having a problem in getting the serial monitor to work.  I had no problem on a MSP-EXP430G2 platform but the board quit working.  I purchased a new MSP-EXP430G2ET board to replace the old one.  I have no problem downloading a program but the serial monitor refuses to work.  Looking at the TXD pin with a scope I can see a good signal being produced.  On the jumpers, the same signal shows up on the RXD pin which I don't understand.  A simple program using the onboard switch to turn on the onboard LED with a Serial.println embedded in the loop turns on the LED just fine but the Serial.println command does not produce any external results (but it does show up on the scope).  I have played with different (besides 9800) baud rates with no success.  I have been writing code for this application for 3 or 4 years and never had the problem in the past--only with the ET board.  Any help would be greatly appreciated.  Also tried everything in the troubleshooting section.

Windows7,  Energia18, 2553 chip, 

Thanks,

Fred

Link to post
Share on other sites
  • 8 months later...
  • 2 months later...
On 7/27/2019 at 8:06 AM, FredinMcKinney said:

I am also having a problem in getting the serial monitor to work.  I had no problem on a MSP-EXP430G2 platform but the board quit working.  I purchased a new MSP-EXP430G2ET board to replace the old one.  I have no problem downloading a program but the serial monitor refuses to work.  Looking at the TXD pin with a scope I can see a good signal being produced.  On the jumpers, the same signal shows up on the RXD pin which I don't understand.  A simple program using the onboard switch to turn on the onboard LED with a Serial.println embedded in the loop turns on the LED just fine but the Serial.println command does not produce any external results (but it does show up on the scope).  I have played with different (besides 9800) baud rates with no success.  I have been writing code for this application for 3 or 4 years and never had the problem in the past--only with the ET board.  Any help would be greatly appreciated.  Also tried everything in the troubleshooting section.

Windows7,  Energia18, 2553 chip, 

Thanks,

Fred

Hi,guy!I have the same problem.so have you found the way to solve this problem?

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

Why does energia report two com ports? I can't find any info on this. Both ports download correctly but only one supports Serial.print(). I have a Launchpad FR4133.

I know that one is a debug port and the other the Application UART, but as far as I can see energia does not support Debug. Code Composer Studio does allow import of energia  sketches and debug. I thought energia was meant to be as simple as Arduino.

Energia is a much higher level than C or driverlib and is much quicker and accepts C when needed.

Edited by cjcj1949
Clarification.
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.

×
×
  • Create New...