Hello friend,
I am using microcontroller LPC4370 in my project but when I try to download the code to the external flash using KEIL and ulink-pro debugger I get error message which says "Contents mismatch at: 140000057H (Flash=55H Required=98H) ! and so on. Can anyone please help me regarding this.
A continuity test is not a functional test.
You'd want to write a test applet that runs in RAM and exercises the flash memory.
The software is currently complaining that what it reads back is not what it sent. Start there, do several reads and confirm if the same content comes back each time. See if there is any pattern to the data coming back, ie does it repeat every 256 bytes, whatever. Once you have the read working, try erasing a small area, and do write/read tests against that.
Once you've validated that your design works properly, you can apply any changes to Keil's flash algorithms that might be required.
If your design does not function correctly, no amount of dancing around with Keil settings/algorithms is going to fix them. The failure you see currently is indicative a problem with your system that you need to analyze and fix.