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

ucfg1 & eprom

Hi,

How can I config the UCFG1
( system configuration for
clock, watchdog enz ) for
a LPC controller in C ?

And how can I use the 32
bytes eprom ?

I tried the following but
the compiler returnes an
error
//xdata char _at_ 0x10 ;
//xdata char UCFG1 _at_ 0xFD00 = 6;
//xdata char UCFG1 = 8 _at_ 0xFD00;
//xdata char UCFG1 _at_ 0xFD00 = 0x7B;
//pdata const UCFG1 _at_ 0xFD00=4;
//pdata const UCFG1 _at_ 0xFD00;
//UCFG1=222;// not an error here
// but it does't work either

thanx!
geert