AnsweredAssumed Answered

Writing error using IAP functions

Question asked by Gaston Bassi on Mar 4, 2020
Latest reply on Jul 2, 2020 by Gaston Bassi

Hello,

 

I am devoloping a bootloader implementation for LPC4333. For that, I am using the IAP functions to write on Flash.

I am following the workflow I found in the AN10835 (for LPC2000).

 

I have 2 main questions:

 

1) Is there a way to write in a part of the sector without previously erasing it all? How?

2) If I prepare the sector and then write over it when there was a previous valid value before, the result of the Chip_IAP_CopyRamToFlash is OK (0x00) but the Flash is not with the correct values on those addresses. What can this be caused by?

 

Thanks!

Outcomes