Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual
Page 790
![background image](/manuals/190592/790/background.png)
UM10237_4
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 04 — 26 August 2009
790 of 792
NXP Semiconductors
UM10237
Chapter 36: LPC24XX Supplementary information
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 676
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
Memory map after any reset. . . . . . . . . . . . . 677
Criterion for Valid User Code . . . . . . . . . . . . 677
Communication protocol . . . . . . . . . . . . . . . . 678
ISP command format . . . . . . . . . . . . . . . . . . 678
ISP response format . . . . . . . . . . . . . . . . . . . 678
ISP data format. . . . . . . . . . . . . . . . . . . . . . . 678
ISP flow control. . . . . . . . . . . . . . . . . . . . . . . 679
ISP command abort . . . . . . . . . . . . . . . . . . . 679
Interrupts during ISP. . . . . . . . . . . . . . . . . . . 679
Interrupts during IAP. . . . . . . . . . . . . . . . . . . 679
RAM used by ISP command handler . . . . . . 679
RAM used by IAP command handler . . . . . . 679
RAM used by RealMonitor . . . . . . . . . . . . . . 679
Boot process flowchart . . . . . . . . . . . . . . . . . 680
Sector numbers . . . . . . . . . . . . . . . . . . . . . . . 681
Code Read Protection (CRP) . . . . . . . . . . . . 682
ISP commands . . . . . . . . . . . . . . . . . . . . . . . . 683
Unlock
Echo
Write to RAM
Prepare sector(s) for write operation
Copy RAM to Flash
Go
Erase sector(s)
Blank check sector(s)
Read Part Identification number . . . . . . . . . 688
Read Boot code version number . . . . . . . . . 689
Compare
ISP Return Codes . . . . . . . . . . . . . . . . . . . . 690
IAP commands . . . . . . . . . . . . . . . . . . . . . . . 690
Prepare sector(s) for write operation . . . . . . 692
Copy RAM to Flash . . . . . . . . . . . . . . . . . . . 693
Erase Sector(s) . . . . . . . . . . . . . . . . . . . . . . 694
Blank check sector(s). . . . . . . . . . . . . . . . . . 694
Read Part Identification number . . . . . . . . . 694
Read Boot code version number . . . . . . . . . 695
Compare
Reinvoke ISP . . . . . . . . . . . . . . . . . . . . . . . . 695
IAP Status Codes . . . . . . . . . . . . . . . . . . . . . 696
JTAG Flash programming interface . . . . . . 696
Chapter 31: LPC24XX On-chip bootloader for flashless parts
How to read this chapter . . . . . . . . . . . . . . . . 697
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Memory map after any reset. . . . . . . . . . . . . 698
Communication protocol . . . . . . . . . . . . . . . . 698
ISP command format . . . . . . . . . . . . . . . . . . 699
ISP response format . . . . . . . . . . . . . . . . . . . 699
ISP data format. . . . . . . . . . . . . . . . . . . . . . . 699
ISP flow control. . . . . . . . . . . . . . . . . . . . . . . 699
ISP command abort . . . . . . . . . . . . . . . . . . . 699
Interrupts during ISP. . . . . . . . . . . . . . . . . . . 699
Interrupts during IAP. . . . . . . . . . . . . . . . . . . 699
RAM used by ISP command handler . . . . . . 699
RAM used by IAP command handler . . . . . . 700
RAM used by RealMonitor . . . . . . . . . . . . . . 700
Boot process flowchart . . . . . . . . . . . . . . . . . 700
ISP commands . . . . . . . . . . . . . . . . . . . . . . . . 701
Unlock
Echo
Write to RAM
Go
Read Part Identification number . . . . . . . . . 704
Read Boot code version number . . . . . . . . . 704
Compare
ISP Return Codes . . . . . . . . . . . . . . . . . . . . 705
IAP commands . . . . . . . . . . . . . . . . . . . . . . . 706
Read Part Identification number . . . . . . . . . 708
Read Boot code version number . . . . . . . . . 708
Compare
Reinvoke ISP . . . . . . . . . . . . . . . . . . . . . . . . 709
IAP Status Codes . . . . . . . . . . . . . . . . . . . . . 709
Chapter 32: LPC24XX General Purpose DMA (GPDMA) controller
Basic configuration . . . . . . . . . . . . . . . . . . . . 711
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 711
Features of the GPDMA. . . . . . . . . . . . . . . . . 711
Functional overview . . . . . . . . . . . . . . . . . . . 712
Memory regions accessible by the GPDMA . 712
GPDMA functional description . . . . . . . . . . . 712
AHB Slave Interface. . . . . . . . . . . . . . . . . . . 713
Control Logic and Register Bank . . . . . . . . . 713
DMA Request and Response Interface . . . . 713
Channel Logic and Channel Register Bank . 714
Interrupt Request . . . . . . . . . . . . . . . . . . . . . 714