Hi devlopers, I am usign LPC 2138 ARM controller right now. It has only 32 Kb of SRAM, I have one array say " char Table[300][300] " of approx. 100 Kb. I want to store this table in on chip flash memory which is 512 Kb, can anyone guide me how to accomplish this task. I am using Keil u vision3 compioler and MCB 2138 board [having LPC2138 controller], and using flash programming with LPC flash utility [COM]. Thanks in advance, Saurabh Pandya
It probably also depends on which compiler you're using - GCC, CARM, or RealView? http://www.keil.com/arm/
Dear friend. Thanks for kind support. I am now able to save my whole "char table[400][300]" on onchip flash of LPC2138 [512 kb]. I have used various IAP commands for this. I want to read various parts of this table back to SRAM , i read in Data sheet that, reading of flash can be accomplish through absolute addressing. But it is not working somehow, and i am not ablr to read data back. I am using following code (psudo) char *FlashPointer; /* pointer that points 1st location of sector 5 */ FlashPointer = 0x5000; for(Count=0;Count<NumberOfChars;Count++) { TempChar = (unsigned char) (&FlashPointer) /* Read content from this location*/ putchar(TempChar); // Send to RS232 FlashPointer++; } Please adive me , how to read data back from flash memory.... Thanks