Renesas H8S/2628 Información técnica Pagina 258

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 430
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 257
230
5.15 Using the Event Points
The emulator has the event point function that performs breaking, tracing, and execution time measurement by
specifying higher-level conditions along with the PC breakpoints standard for the HEW.
5.15.1 PC Breakpoints
When the instruction of the specified address is fetched, the user program is stopped. Up to 256 points can be set.
Note that, however, only one PC breakpoint can be set in the ROM area of the user system. This particular
breakpoint is called the on-chip breakpoint, which stops the user program after executing the instruction of the
specified address.
When it is necessary to set two or more PC breakpoints to the external ROM area of the user system, allocate
this area to the emulation memory, copy the code, and then set the PC breakpoints.
5.15.2 Event Points
Event points can be used for higher-level conditions such as the data condition as well as specification of the
single address. Up to 12 event points can be set by using event channels and range channels in the event
detection system.
When the condition is satisfied, event points are also used as the start/end conditions for execution time
measurement or trace acquisition in addition to halting the user program. Several event points can be used to set
more complex conditions.
Note: Event points acquire the data, test conditions, and execute an action (such as halting the user program)
by the hardware circuit of the emulator. Therefore, a delay of several cycles will occur from the
satisfaction of the condition to the execution of an action.
5.15.3 Event Detection System
In addition to the 4 range channels, the emulator also has 8 event channels. The event channels have more
functions (such as sequencing or counting) than the range channels.
Event Channels (Ch1 to Ch8):
The emulator has 8 event channels. The event channel can be defined as a combination of one or more of the
followings:
An address or an address range
Outside of an address range
A read, a write, or either
Data with a mask specification
Bus state
Area
The value of four external probe signals
The number of times the event has occurred
The number of delay cycles after the event has occurred
A maximum of eight points can be used as a combination in a sequence. The program is activated or halted by an
occurrence of the previous event in each sequence.
Vista de pagina 257
1 2 ... 253 254 255 256 257 258 259 260 261 262 263 ... 429 430

Comentarios a estos manuales

Sin comentarios