I have written very simple code just to evaluate the LPC2129
speed for the Keil MCB2100 board:
void Meander(void)
{
unsigned int n;
n = 0x00010000;
while (1) {
IOSET1 = n;
IOCLR1 = n;
}
}
It works well and I can scope the meander pulses. But when I add
the __ram attribute:
void Meander(void) __ram
The program does not work. Should I make any other changes in the
program or compiler settings to force the code work from RAM?
Thanks,
VaruzhanMessage
__ram attribute in Keil CA compiler
2004-12-09 by varuzhandanielyan