Reading Flash memory of LPC1768!!

Dear all
Hi,

I have been posting some threads about IAP programming lately and the discussions helped me a lot. There is just one problem left.
Suppose that I want to write two variables x and y on flash memory of the MCU (sector 1 for instance). The variables are stored in specific addresses of section one. (I have done this and I have written the flash memory)
now my question is how to read those variables from the specified addresses of flash memory in my application? The IAP_Read won't work because it returns the fist non-zero byte and its contents which is not what I mean.
What is the easiest way of reading the flash memory of LPC1768?

More questions in this forum