6 years, 6 months ago.

How to erase the flash memory in LPC1768

Hi, I would like to write configuration to flash memory in LPC1768, but first I want to erase flash memory and check it. I have a problem because after prepare and erase sector 7 I get that in sector 7 I have 0x48. I use a library iap.h iap.c which find here. I don't know what's wrong.

I wait for your opinion. Kamil

1 Answer

6 years, 6 months ago.

Hi, please try this sample code ;)

Import programIAP_on_sector7

sample of erasing sector 7 on LPC1768