Author Topic: LPC9xx IAP  (Read 3351 times)

taylorr

  • Guest
LPC9xx IAP
« on: September 13, 2005, 11:22:27 am »
Hello all,
Is there an advantage using IAP versus IAP-Lite? I've implemented IAP-Lite quite easily but IAP(PGM_MTP) doesnt quite work for me yet. Differences? thanks

graham

  • Guest
Re: LPC9xx IAP
« Reply #1 on: September 14, 2005, 04:20:48 pm »
Hi There,

Both IAP and IAP-Lite have their place and it depends on your application as to which could be the most suitable.

IAP hides the lower level workings of the Flash engine from you. Effectively it only works on pages as this is the increment that it programs in. If using AWE then it leaves the Flash in a protected state on exit.

IAP-Lite allows you to do all that IAP does (CRC calculation, erase sector or page, access misc registers) but also gives you the ability to erase and program individual bytes. Flash protection is completely your concern.

Regards,
Graham

taylorr

  • Guest
Re: LPC9xx IAP
« Reply #2 on: September 15, 2005, 10:40:15 am »
Thanks graham. Iv'e seen App Note 10342 which explains how to use IAP Lite for erase/program bytes, however, you mention that Lite can also be used for other things such as (CRC calculation) etc. Where can i get the command set bytes(FMCON control bytes)? Or app note explaining all functionality of Lite? Thanks . . .