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

Data not being written at proper location at flash using IAP

Dear Developers,
I am facing problems with IAP, on LPC2138 with Keil compiler. I have two problems with my system.

1)Problem of displacement: [Top priority problem]

I am having 4k Array (say RamArray[11][352] )which is stored at on chip SRAM, I want to copy this data at on chip Flash at sector no 8 [address 0x8000], I am passing values of source and destination pointers, after completion of flash write operation I found data being written at 0x8005 rather then 0x8000 .

2) Speed/Time:
Another issue is I found high flash write time, as per Philips data sheet it requires 1 ms to write 256 bytes. So it should require 208 mili sec to write 100 k data.

But in my system , it requires more then 400 mili sec to write 100 k data. How I can optimize this time?

Regards and thanks in advance,
Saurabh Pandya

0