If you use the PORTSIZE outputs to control on-chip logic, such as is shown in Figure 3.13, this logic must be tested. To do this you must run the trace test program up to three times, once with each of the supported port widths programmed into the ETM control register (bits 6:4), to test each of the configurations. If the trace can be correctly decompressed, the ASIC logic is correct.

To change the PORTSIZE value that is programmed into the ETM, use the assembler define PORT_SIZE, as shown at the top of the sample test.

Copyright © 2000, 2001 ARM Limited. All rights reserved.ARM DDI 0158D