LPC2368 gcc eclipse unstable possible reason?

geah wrote on Wednesday, December 12, 2007:

The user manula says the following regarding the CCLKSEL bits in the CCLKCFG register:

Selects the divide value for creating the CPU clock (CCLK) from the
PLL output.
Only 0 and odd values (1, 3, 5, …, 255) are supported and can be
used when programming the CCLKSEL bits.
Warning: Using an even value (2, 4, 6, …, 254) when setting the
CCLKSEL bits may result in incorrect operation of the device.

Yet the eclipse demo application states a value of 4 this must be incorrect?

ben_fnr wrote on Thursday, December 13, 2007:

You are right, CCLKSEL must be an odd number.
Have you read the lpc2368 errata about the MAM, that may be the source of your stability.
I have a board that has been running with a few threads, and have seen no stability problems so far.
I have the MAM disabled at the moment. There is also some posts on the forum about it as well I think.

Ben

geah wrote on Thursday, December 13, 2007:

Yes a have disabled the MAM and my system is now stable. Did you notice the possible error in the .ld file see my other thread posted before this.
The .bss region was declared from the RAM 0x40000000 to 0x7e00000. That can’t be right?

Have you had the same problem?