LPC2148 Serial output Trouble

Dear friends, I have an LPC2148 with FreeRTOS v7.2 (ported from lpc2106 GCC example). The LEDs blink ok. The problems come when I see the serial port output which is: x03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03’x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x1bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03’7#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x1bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x1bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfbx03x13x1b#+3;xc3xcbxd3xdbxe3xebxf3xfbx03+xcbxebx0b++,;x0bxfb
.
.
. I’m using cutecom with 115200 bauds, 8 data bits, 1 stop bit, no handshake. I would appreciate if anyone could give me a hand with this. Cheers!

LPC2148 Serial output Trouble

I forgot to mention that I’m working under ubuntu 12.04. The code was compiled using arm-none-eabi-gcc

LPC2148 Serial output Trouble

What should the serial port output be? What you post looks like a load of escape characters so it might be that your terminal is not set to show raw ASCII characters. Most demos use a loopback com port test. If you loop the characters back to the receive on the LPC are they received as expected?

LPC2148 Serial output Trouble

Thank you for your fast response! I managed to get it working. I forgot to change the cpu frequency: I ported the Demo code from an LPC2106 which  has a 14.7456MHz clock. My lpc h2148 has 12 Mhz clock. Changing that solved the problem and now I can see the serial port output! Now cutecom prints ABCDEFGHIJKLMNOPQRSTUVWX repeatedly. In case some one doesnt know, the file that has to be changed is: (in FreeRTOSConfig.h) #define configCPU_CLOCK_HZ              ( ( unsigned long ) 48000000 )   // 48000000 Hz for the lpc h2148 Thank you anyway for your support