1/* 2 * @brief IAP FLASH programming & FLASH signature example using IAP commands 3 * to write to FLASH memory with FLASH signature generator 4 * 5 * @note 6 * Copyright(C) NXP Semiconductors, 2013 7 * All rights reserved. 8 * 9 * @par 10 * Software that is described herein is for illustrative purposes only 11 * which provides customers with programming information regarding the 12 * LPC products. This software is supplied "AS IS" without any warranties of 13 * any kind, and NXP Semiconductors and its licensor disclaim any and 14 * all warranties, express or implied, including all implied warranties of 15 * merchantability, fitness for a particular purpose and non-infringement of 16 * intellectual property rights. NXP Semiconductors assumes no responsibility 17 * or liability for the use of the software, conveys no license or rights under any 18 * patent, copyright, mask work right, or any other intellectual property rights in 19 * or to any products. NXP Semiconductors reserves the right to make changes 20 * in the software without notification. NXP Semiconductors also makes no 21 * representation or warranty that such application will be suitable for the 22 * specified use without further testing or modification. 23 * 24 * @par 25 * Permission to use, copy, modify, and distribute this software and its 26 * documentation is hereby granted, under NXP Semiconductors' and its 27 * licensor's relevant copyrights in the software, without fee, provided that it 28 * is used in conjunction with NXP Semiconductors microcontrollers. This 29 * copyright, permission, and disclaimer notice must appear in all copies of 30 * this code. 31 */ 32 33/** @defgroup EXAMPLES_PERIPH_15XX_FLASHSIG LPC15xx FLASH read/write/signature example 34 * @ingroup EXAMPLES_PERIPH_15XX 35 * <b>Example description</b><br> 36 * The IAP example demonstrates programming a FLASH block during run-time and 37 * generating a FLASH signature. For this example, the code is running from FLASH 38 * and a FLASH block not used for the executing code will be erased and programmed 39 * with some data. After the program is complete, the signature for the programmed 40 * area is generated. The example also toggles the LED in the systick interrupt. 41 * The interrupts need to be disabled during the IAP calls that change FLASH data 42 * and re-enabled after the calls are complete.>br> 43 * 44 * Do not run this example too many times or set it up to repeatedly erase and 45 * reprogram FLASH as it will wear out FLASH.<br> 46 * 47 * <b>Special connection requirements</b><br> 48 * There are no special connection requirements for this example.<br> 49 * 50 * <b>Build procedures:</b><br> 51 * Visit the <a href="http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-v200-quickstart-guides">LPCOpen quickstart guides</a> 52 * to get started building LPCOpen projects. 53 * 54 * <b>Supported boards and board setup:</b><br> 55 * @ref LPCOPEN_15XX_BOARD_LPCXPRESSO_1549<br> 56 * 57 * <b>Submitting LPCOpen issues:</b><br> 58 * @ref LPCOPEN_COMMUNITY 59 * @{ 60 */ 61 62/** 63 * @} 64 */ 65