
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008
790 of 792
NXP Semiconductors
UM10237
Chapter 36: LPC24XX Supplementary information
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 <Unlock code> . . . . . . . . . . . . . . . . . 684
Set Baud Rate <Baud Rate> <stop bit> . . . . 684
Echo <setting> . . . . . . . . . . . . . . . . . . . . . . . 685
Write to RAM <start address>
<number of bytes> . . . . . . . . . . . . . . . . . . . . 685
Read Memory <address> <no. of bytes> . . . 685
Copy RAM to Flash <Flash address> <RAM
address> <no of bytes> . . . . . . . . . . . . . . . . 687
Go <address> <mode>. . . . . . . . . . . . . . . . . 687
Read Part Identification number . . . . . . . . . 688
Read Boot code version number . . . . . . . . . 689
Compare <address1> <address2> <no of bytes>
689
ISP Return Codes . . . . . . . . . . . . . . . . . . . . 689
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 <address1> <address2> <no of bytes>
695
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 <Unlock code> . . . . . . . . . . . . . . . . . 701
Set Baud Rate <Baud Rate> <stop bit>. . . . 701
Echo <setting> . . . . . . . . . . . . . . . . . . . . . . . 702
Write to RAM <start address>
<number of bytes> . . . . . . . . . . . . . . . . . . . . 702
Read Memory <address> <no. of bytes>. . . 703
Go <address> <mode> . . . . . . . . . . . . . . . . 704
Read Part Identification number . . . . . . . . . 704
Read Boot code version number . . . . . . . . . 704
Compare <address1> <address2>
<no of bytes> . . . . . . . . . . . . . . . . . . . . . . . . 705
ISP Return Codes . . . . . . . . . . . . . . . . . . . . 705
IAP commands . . . . . . . . . . . . . . . . . . . . . . . 706
Read Part Identification number . . . . . . . . . 708
Read Boot code version number . . . . . . . . . 708
Compare <address1> <address2> <no of bytes>
709
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
AHB Master Interface. . . . . . . . . . . . . . . . . . 714
Bus and transfer widths . . . . . . . . . . . . . . . . 714
Endian behavior . . . . . . . . . . . . . . . . . . . . . . 714
Error conditions . . . . . . . . . . . . . . . . . . . . . . 716
Channel hardware . . . . . . . . . . . . . . . . . . . . 717
DMA request priority . . . . . . . . . . . . . . . . . . 717
Interrupt generation . . . . . . . . . . . . . . . . . . . 717