question regard olimex lpc2378-stk

Started by rootofchaos October 28, 2007
Hi guys,

I'm a newbie working on a Olimex lpc2378-stk, first of all, during
debug gdb cannot find the debug symbols for the peripheral registers
(those defines in the lpc23xx.h), which is a big pain for me, how can
I add them to the debug symbol file?

and I had problem controlling the P1.21 (CS for the LCD), FIO1PIN does
not change however I write to FIO1CLR or FIO1SET. All I know is I have
configured the following registers:

FIO1DIR |= 1<<21
FIO1SET |= 1<<21

is there any other register I have to configure?

Thank you

An Engineer's Guide to the LPC2100 Series