We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
HI
I don't know why I thought that pointers might not work for flash memory! But actually they do very well.
And andy you're right. Writing needs using AIP procedure and includes killing all interrupts.
Thanks all that helped a lot.