Renesas TM V.3.20A Spezifikationen Seite 581

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 762
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 580
Renesas Technology, Tools FAQs
Last Updated: August 25, 2000
Document Number: 01050938_e
Q.
When I use the execution of the specified address as measurement trigger in the interval time measurement function, I need to use
the CPU address-read action for the actual trigger event. At this time, the debugger will detect this action at the CPU address
pre-fetch stage (before the CPU executes this instruction). Will the measurement be taken correctly?
A.
Yes, if an address that comes within 3 bytes after a branch instruction is set as the measurement event, the measurement event may
be incorrectly detected. In the same manner, if an interrupt occurs right after the specified address, an incorrect measurement event
may be detected. Two main examples are provided below for reference.
Example 1)
As shown in the description below, the start address of funcB may be pre-fetched when an instruction is executed near the last
address of the adjacent funcA. If the funcB execution time is set for the conditions of the interval time measurement, the
measurement of funcB interval time may start with the funcA pre-fetch.
void funcA()
{
:
}
void funcB()
{
:
}
Example 2)
As shown in the description below, when the distance between funcD(); and a=0; is 3 bytes or less, the address for a=0; may be
pre-fetched before funcD() is called. When a read for the a=0; address is set as the measurement start event, you may get a double
measurement: the pre-fetch before funcD() is called and the pre-fetch before the actual instruction execution after returning from
funcD().
void funcC()
{
:
funcD();
: <-- Less than 3 bytes
a=0; <-- Set a read of this address as the measurement event
:
}
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Seitenansicht 580
1 2 ... 576 577 578 579 580 581 582 583 584 585 586 ... 761 762

Kommentare zu diesen Handbüchern

Keine Kommentare