Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: taylorr on September 13, 2005, 11:22:27 AM

Title: LPC9xx IAP
Post by: taylorr 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
Title: Re: LPC9xx IAP
Post by: graham 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
Title: Re: LPC9xx IAP
Post by: taylorr 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 . . .