Hi all, When i run the below program in the simulator ,i can see the output "hello world" getting printed in the serial window and LED blinking in Port0.But when I am running the same program in the PhyCORE LPC2294 board I can see only the LED blinking and not the "Hello World" getting printed in the serial window. can anyone tell me the reason why Hello world is not getting printed in the hyper terminal window. Thanks in advance.
#include <stdio.h> /* I/O Functions */ #include <LPC22XX.H> /* LPC22XX Peripheral Registers */ void delay (void) { /* Delay Function */ unsigned long x; for (x = 0; x < 400000; x++); } extern void init_serial (void); /* Initialize Serial Interface */ int main (void) { init_serial(); /* Initialize Serial Interface */ IODIR0 = 0x00000100; /* P0.8 defined as Output */ while (1) { /* Loop forever */ IOCLR0 = 0x00000100; delay(); /* Turn LED On (P0.8 = 0) */ printf ("hello world\n"); /* Print "Hello World" */ delay(); IOSET0 = 0x00000100; /* Turn LED Off (P0.8 = 1) */ delay(); /* Delay */ } }