NXP AN11511 Electronic components Application

This application note describes the In-Application Programming capabilities of LPC11U6X. It also provides guidance to interrupt handling during flash IAP calls.


NXP AN11511 Electronic components Application - cover page
Brand
NXP
Category
electronic components
Document type
Application Note
Language
English
Pages
19
File format
PDF
File size
450 KB
Published
19 May, 2014
Updated
25 September, 2023
MD5 checksum
8232229EE620F0CAEAE835EB8E085180

About this manual

The document details the In-Application Programming (IAP) features available in the NXP LPC11U6x family, which are ARM Cortex-M0+ based 32-bit MCUs. It covers the manipulation of on-chip flash memory and EEPROM while running user application code.

Key topics include initialization procedures for IAP routines located in the Boot ROM, a comprehensive list of available IAP commands (such as erasing sectors, copying RAM to Flash, and reading device identification), and critical precautions regarding interrupt handling and RAM usage during programming operations.

What's inside

  • Introduction
  • Flash specifications
  • EEPROM
  • IAP initialization
  • IAP routines
  • IAP precautions
  • Interrupts
  • RAM usage
  • Sample project

Specifications

CPU CoreARM Cortex-M0+
Max CPU Frequency50 MHz
Flash Memory Sizeup to 256 kB
EEPROM Size4 kB
SRAM Size36 kB

Frequently asked questions

Where are the IAP routines located?

The IAP routines are located in the Boot ROM at address Ox1FFF1FF0.

What precautions must be taken regarding interrupts during IAP?

Any access to flash memory must be avoided; if the vector table interrupt is in flash, all interrupts must be disabled prior to erase and write.

How much RAM space does the IAP routine utilize?

The IAP routines utilize 32 bytes of space in the top portion of on-chip RAM for execution.

Download PDF (450 KB)

More NXP Manuals


View all NXP manuals →