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

Re Help Required: How to use onchip flash to store variables?

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

Parents
  • Thanks to all for kind responce.

    I am cheking out also other possibilities to impliment certain functionality, Is IAP
    can help me ?

    One more thing My system is very strict about faster readout and fast write timings.
    Can suggest me some more brainstrom??

    Regards & Thanks,
    Saurabh Pandya

Reply
  • Thanks to all for kind responce.

    I am cheking out also other possibilities to impliment certain functionality, Is IAP
    can help me ?

    One more thing My system is very strict about faster readout and fast write timings.
    Can suggest me some more brainstrom??

    Regards & Thanks,
    Saurabh Pandya

Children
  • You should consider also the min. block size which may be written to flash at once - a page size. Philips devices are using ECC technology for error correction which greatly improves the flash error tolerance, but on the other hand makes read/modify write sequences almost unusable.

    For example when a flash cell has some value programmed, and you want to modify it by programming some additional bits to 0. Doing so on one cell will influece the data read from the neigbouring cell from the same page. This is a result of the ECC, which is hidden to the user and tries to correct single bit errors on a flash page.

    Franc

  • [Flash access] would be done via the XDATA banking support.

    I get it. Thanks.

  • Thanks 2 all.

    I got what I wanted to do.
    I had made use of IAP. And it works fine..

    Carry on to provide kind response..
    Thanks..