This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hello World example not working

On my own print with a lpc2132 mcu I can't seem to get the hello world example to work. I'm using the standard copy and my terminal settings are correct.

I've tryed using only sendchar but that doens't make a difference.

Parents Reply Children
  • Of course - silly me!

    What tests have you done to verify that everything is actually working correctly on your board?

    Have you verified that "the standard copy" is actually compatible with your hardware design?

  • Well I am sure it's the original version cause I reinstalled the Keil uVision 3 IDE.

    The PCB is working cause with other code it works without any problems.

    Just want to test the hello world example to test some simple serial communication.

    Lastly I do have to mention that in the other code I can't use the printf() statement but I can use sendchar().

  • The PCB is working cause with other code it works without any problems.

    That's a seriously premature conclusion. You ran two tests on your board. One (with that "other code") worked, the other (Hello world) didn't. How do conclude from these two results that the board works?

    In particular, what makes you think your board's serial interface is working, given that you apparently never managed to get to send data over that interface?

    in the other code I can't use the printf() statement but I can use sendchar()

    Sigh. And why "can't" you use printf() in there?