![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827067.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
67 of 1441
6.1 How to read this chapter
The flash programming ISP is available for parts with on-chip flash. A reduced set of
In-System-Programming (ISP) commands is supported for flashless parts (see
See
for details on the boot process.
IAP commands are only supported for parts with on-chip flash.
6.2 Basic configuration
•
The flash banks are reset by the FLASHA_RST and FLASHB_RST (reset # 25/29).
•
The flash accelerator and the flash access time are controlled by the FLASHCFGA
and FLASHCFGB registers in the CREG block (see
•
The flash bank interrupts are ORed with the interrupts from the EEPROM and are
connected to interrupt slot #4 in the NVIC.
•
If the application uses the IAP interface, it must reserve the SRAM space used by IAP
as outlined in
Section 6.4.5.8 “RAM used by IAP command handler”
The ISP is configured as follows:
•
The ISP mode is entered when pin P2_7 is pulled LOW for parts with and without
on-chip flash.
–
On parts with on-chip flash, ISP communication uses USART0 or USART3
depending on the OTP bits and/or boot pins (see
–
On flashless parts, ISP communication always uses USART0.
6.3 Features
•
In-System Programming: In-System programming (ISP) is programming or
reprogramming the on-chip flash memory, using the boot loader software and
USART0or USART3 serial port. This can be done when the part resides in the
end-user board.
•
For parts without on-chip flash, ISP allows to load data to on-chip SRAM and to
execute code from on-chip SRAM using USART0.
•
In Application Programming: In-Application (IAP) programming is performing erase
and write operation on the on-chip flash memory, as directed by the end-user
application code.
UM10503
Chapter 6: LPC43xx/LPC43Sxx flash programming/ISP and
IAP
Rev. 2.1 — 10 December 2015
User manual
Table 28.
ISP clocking and power control
Base clock
Branch clock
Operating
frequency
Notes
ISP command clock CCLK
BASE_M4_CLK
CLK_M4_BUS
up to
204 MHz
-