Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 9 months ago.
no output for hello world on hyperterminal
i coded the same "hello world " program given on the site..but was unable to get the output in the hyperterminal.. what could be the problem.plz sugget..asap the codes which i used were http://mbed.org/handbook/Serial ... the first code on the page and also the first code in the "EXAMPLES" Trying to see my output via hyper terminal in windows XP……I installed the driver software too...
plz if possible can you make a video of it.. coz i m not able to understand where we are going.. i have the project review this week..
2 Answers
10 years, 9 months ago.
Which driver did you install? Are you connecting to the correct COM port?
And why are suddenly several people from what looks like the same area asking literally the same question? You only get slower answers when you start asking duplicate questions.
the one given here https://mbed.org/handbook/SerialPC... the terimal was set accordingly stated here
posted by 20 Feb 201410 years, 9 months ago.
Erik- i have windows xp and hyper terimal is already installed in there.. when i installed the windows driver...i could see the com port labelled as "mbed" (com 3) in driver manager.. now after dumping the program
#include "mbed.h" Serial device(p9, p10); // tx, rx int main() { device.baud(9600); device.printf("Hello World\n"); }
and completing all the connection(null modem connection with max232 and also used IC 7805 (voltage regulator for max232 as a battery of 9v is being used as a power supply)) when i use the hyperterminal to see the output "hello world" i m not able to get it... i have been doing this from the last 3 days but failed in every attempt... i dont know what is going wrong here... plz do help..
PC Serial is intended for communication via the integrated USB <> Serial bridge! Not via a seperate RS232 port. That is also possible, but that will be a different com port (and larger chance on errors).
Replace p9 and p10 by USBTX and USBRX. If you then have your mbed plugged in your PC via the USB cable, you should again have the com port labelled mbed, and that one should receive the messages.
posted by 20 Feb 2014