© Koninklijke Philips Electronics N.V.
2005
All rights are reserved. Reproduction in whole or in part is prohibited without the prior
written consent of the copyright owner. The information presented in this document does
not form part of any quotation or contract, is believed to be accurate and reliable and may
be changed without notice. No liability will be accepted by the publisher for any
consequence of its use. Publication thereof does not convey nor imply any license under
patent- or other industrial or intellectual property rights.
Date of release: 15 August 2005
Published in The Netherlands
Philips Semiconductors
UM10139
Volume 1
Chapter 25: Supplementary information
<no of bytes> . . . . . . . . . . . . . . . . . . . . . . . . 304
ISP Return codes . . . . . . . . . . . . . . . . . . . . . 304
IAP Commands . . . . . . . . . . . . . . . . . . . . . . . 305
Prepare sector(s) for write operation . . . . . . 307
Copy RAM to Flash. . . . . . . . . . . . . . . . . . . . 308
Erase sector(s) . . . . . . . . . . . . . . . . . . . . . . . 308
Blank check sector(s) . . . . . . . . . . . . . . . . . . 309
Read Part Identification number . . . . . . . . . 309
Read Boot code version number . . . . . . . . . 309
<no of bytes> . . . . . . . . . . . . . . . . . . . . . . . . 310
Reinvoke ISP . . . . . . . . . . . . . . . . . . . . . . . . 310
IAP Status codes . . . . . . . . . . . . . . . . . . . . . 310
JTAG Flash programming interface. . . . . . . 311
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 313
Reset state of multiplexed pins . . . . . . . . . . 313
Register description . . . . . . . . . . . . . . . . . . . 314
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 314
Chapter 23: Embedded Trace Macrocell (ETM)
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
ETM configuration. . . . . . . . . . . . . . . . . . . . . 315
Pin description . . . . . . . . . . . . . . . . . . . . . . . 316
Reset state of multiplexed pins . . . . . . . . . . 316
Register description . . . . . . . . . . . . . . . . . . . 317
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 318
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 319
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
RealMonitor components . . . . . . . . . . . . . . . 320
RMHost. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
RMTarget . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
How RealMonitor works . . . . . . . . . . . . . . . . 321
How to enable Realmonitor. . . . . . . . . . . . . . 322
Adding stacks . . . . . . . . . . . . . . . . . . . . . . . . 322
IRQ mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
Undef mode . . . . . . . . . . . . . . . . . . . . . . . . . 322
SVC mode . . . . . . . . . . . . . . . . . . . . . . . . . . 322
Prefetch Abort mode . . . . . . . . . . . . . . . . . . 323
Data Abort mode . . . . . . . . . . . . . . . . . . . . . 323
User/System mode . . . . . . . . . . . . . . . . . . . 323
FIQ mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Handling exceptions. . . . . . . . . . . . . . . . . . . 323
RealMonitor exception handling. . . . . . . . . . 323
RMTarget initialization . . . . . . . . . . . . . . . . . 324
Code example . . . . . . . . . . . . . . . . . . . . . . . 324
RealMonitor build options . . . . . . . . . . . . . . 327
Chapter 25: Supplementary information
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 329
Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . 330