Renesas Emulation Pod M306H2T-RPD-E Technical Information Seite 16

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 76
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 15
( 14 / 74 )
Notes on MAP References and Settings:
For details on referencing and setting MAP information, see the emulator debugger M3T-PD30
user's manual.
Make settings as follows:
(1) MAP = INT
The emulation memory inside this product becomes effective.
Set this at MCU internal ROM debugging.
(2) MAP = EXT
The emulation memory inside this product is not used.
Set this where the MCU internal resource (SFR) or resources on the user system are used.
Be sure to set the SFR area of the MCU to EXT, and the reserved area of the MCU to INT.
Be sure to set mappings in word units.
•When setting 0FFF8h to 0FFFFh to EXT:
This product uses the 7 byte area 0FFF9h through 0FFFFh as the stack area when executing the
RESET command of the emulator debugger M3T-PD30. If this 7 byte memory cannot be read or
written to, RESET cannot be properly effected. As a result, you need to alter the map settings if
either of the conditions given below is met.
(1) With the system which shifts from single-chip mode to memory expansion (or microproces-
sor) mode, using the 8 byte area of 0FFF8h to 0FFFFh set to EXT.
(2) With the system which starts up in microprocessor mode, using the 8 byte area of 0FFF8h to
0FFFFh set to EXT and there is not enough memory to read or write.
The procedures to alter the MAP settings when either of the conditions (1) or (2) above is met.
(1) Set the 8 byte area of 0FFF8h to 0FFFFh to INT.
(2) Execute the RESET command of the emulator debugger M3T-PD30.
(3) Set the stack pointer.
(Example)
RESET: FCLR I
LDC #0480H, SP <-- Set the stack pointer
(Stop the program after executing this instruction)
(4) Set the 8 byte area 0FFF8h through 0FFFFh to EXT.
IMPORTANT
Notes on Stack Area:
•With this product, a maximum 7 bytes of the user stack is consumed. Therefore, ensure the +7 bytes
maximum capacity used by the user program as the user stack area.
If the user stack does not have enough area, do not use areas which cannot be used as stack (SFR
area, RAM area which stores data, or ROM area) as a work area. Using areas like this is a cause
of user program crashes and destabilized emulator control.
Seitenansicht 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 75 76

Kommentare zu diesen Handbüchern

Keine Kommentare