Recent changes
Order
tag order
RTOS
Help
mbed NXP LPC1768
Firmware
Homepage
From the mbed microcontroller Handbook.  

Terminals

Terminal Applications

Terminal applications run on your host PC, and provide a window for your mbed Microcontroller to print to, and a means for you to type characters back to your mbed Microcontroller.

Serial configuration

The standard setup for the USB Serial Port is 9600 baud, 8 bits, 1 stop bit, no parity (aka 9600-8-N-1)

Windows users

1. Install a Terminal Application

Download and install a Terminal application.

In this example we recommend the latest version of Teraterm:

Other terminal applications are available:

Some Windows PCs come with ''Hyperterminal'' installed; you can use this too, but we have found Tera Term is just a bit more friendly to use.

2. Configure the Connection

Open and Setup Teraterm

Setup New-line format (to print out new line characters correctly)

Your terminal program is now configured and connected.

To change the baud rate, go to Setup -> Serial Port...

Mac/Linux Users

1. Install a Terminal Application

If you do not already have it, install GNU Screen

2. Setup the Connection

Troubleshooting

You can check the connection is working by typing keys in the terminal application; nothing useful will happen, but the Status light on the mbed Microcontroller should flicker as the characters are received.

If you have any problems, or think this tutorial could be improved, please tell us in the Forum!




calendar Page history
Last modified 26 Jul 2010, by   user Simon Ford   tag No tags | 19 comments  

19 comments on Terminals:

02 Sep 2010

Besides the bland text oriented terminals, or the costly LabView solutions, a very simple environment which allows users to build a bit more visual interfaces quickly can be the Processing language (a subset of Java, see http://www.processing.org). It is not very strong on text, but with the examples you can quickly develop e.g. a simple interface for graphing some sensor values. People coming over from the Arduino environment may already now this.For that matter, although you cannot use the Arduino environment to program the mbed, I-ve found it's little terminal windo very convenient as simple terminal application for communicating with the mbed.

15 Sep 2010

RealTerm is another windows terminal application that has a lot more hardware debug and display options. Use it and you will never use the other ones to debug serial hardware!

RealTerm Download Page

/media/uploads/4180_1/_scaled_realterm.png

02 Oct 2010

For those Mac users, CoolTerm is a very nice serial terminal program if you don't want to use screen in the Terminal.app.

http://freeware.the-meiers.org/

25 Oct 2010

i don't succeed to make a connection between teraterm and the mbed microcontroller. I don't find ''mbed Serial Port'' from the drop down menu (nor with hyperterminal). Is there any library to add in the mbed directory? many thanks

25 Oct 2010

or driver to install?

25 Oct 2010

I can find the COM port but I can get neither Terminal nor TeraTerm to work. In both cases the status light on the mbed processor flickers showing that I have a connection but that is all. I cannot get the processor to echo back what I am sending. Have I missed something obvious somewhere?

Dafydd

25 Oct 2010

Did you actually make a program to echo the input? The device won't do it by itself.

12 Jan 2011

For linux users moserial is another simple easy to use terminal. Also has recording feature and nice gui. for Ubuntu users just type sudo apt-get install moserial

19 Jan 2011

remember that device name in "screen /dev/<devicename>" is in the form tty.usbmodemXXXX where XXXX is 5d12 in my device, this might be different in other devices. I was omitting the tty prefix in the beginning. so the full command that works on my terminal looks like Macintosh:~ eddy$ screen /dev/tty.usbmodem5d12

19 Jan 2011

How to give power to board when using USB Host. Can we power up using USB connector.

19 Jan 2011

Power •Powered by USB or 4.5v - 9.0v appiled to VIN according to http://mbed.org/handbook/mbed-NXP-LPC1768 feel free to read the handbook

10 Feb 2011

For those of you on Mac's, check out Serial Tools (http://homepage.mac.com/chen/w7ay/Serial%20Tools/Contents/download.html) which is, so far, the easiest to install and use of any of the OSX options I have found and, best of all from a Yorkshireman's point of view, it's free.

Dave

12 Feb 2011

@Dave Malham

Thanks for the link to SerialTool. Very easy to use: download; open app; click connect ; that's it!

Bob

03 Aug 2011

My pc have hyperterminal installed in it. How should I go about allowing my pc and mbed communicate with each other.

Extra note: I did not download the mbed windows driver.

07 Oct 2011

i got mbed serial port drivers installed(COM6)in my pc and teraterm also installed but in new connection when i go to serial(radio button)i get COM1,COM2,COM3,COM4 and no mbed serial port how should i proceed

07 Oct 2011

Two possible answers,

Change port configuration, in device manager,.... advanced ... port number. make sure you do not double up on port

Or, change your terminal program.

In the posts in MBED documentation, there are a few to try.

But hopefully in a few weeks, I hope to finish my own terminal program, With a few nice MBED specific buttons !

Hope this helps

ceri.

09 Oct 2011

THANKS CERI I HAVE TO TRY THE FIRST OPTION BUT WHAT IS THE WAY TO CONNECT PC I AM TOTALLY CONFUSED AND DNT KNOW HOW TO PROCEED USING MBED CANT I COMMUNICATE WITH PC USING HYPERTEMINAL

10 Oct 2011

hi all i changed my terminal program with teraterm V-4.7.1 now com5 is available but mbed serial port is port 6 again...

28 Dec 2011

The link to "Terminal By Bray" needs to be updated. The new link is: https://sites.google.com/site/terminalbpp/

Please login to post comments.