[mbed lpc1768]Unable to write to Sector 28 using IAP?

22 May 2012

We are using mbed with LPC1768 to test flash memory using IAP, found that Sector28 can not be written on some boards(but not on all boards). On those "failed" boards, writing to Sector28 using IAP returns OK, but check its contents are always OxFF.

After checked out the boot code version using IAP, find that those "failed" boards are with IAP-boot-code-version 4.2 and "good" boards are 4.1.

Is it a bug related to IAP-boot-code-version 4.2 of LPC1768 or some changes specific to mbed?

Please see more discussion here, http://mbed.org/users/okano/notebook/iap-in-application-programming-internal-flash-eras/?page=2#comment-1264

Test program: http://mbed.org/users/okano/programs/__IAP_sector28write/m424vi

Please help, thanks.

Regards, -Jin

17 Sep 2013

你好,jin zhao。我们项目也遇到了写扇区28写不进这个问题,请问一下到目前为止,有了具体的解决方法没有?很期待你的回复!

17 Sep 2013

Hi LunYao,

针对这个我们没有好的解决方案,workaround就是不使用sector 28#。

Regards, -Jin

17 Sep 2013

Hi Jin, 非常谢谢你的回复。节省了很多时间去纠结这个问题,如果我们有了新的进展再来交流。