Renesas M3T-SRA74 Manual de usuario Pagina 51

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 67
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 50
5.Limitations
5.2. Limitations on KD38
5.2.1. Monitor program
The MCU on the CPU board incorporates a monitor program. There are some following
precautions when operating the KD38 with this monitor program. Refer to “5.4
Limitations on user's program”.
1) Do not perform the step operation and break to the process of the user stack setting.
Set the the stack setting process to interrupt disable status. (I flag =1)
2) Reset a stack pointer to $00FF for a monitor program.
3) The monitor program uses $2000 to $207F and the reserved area of 7544 MCU SFR.
Do not modify the data in this area.
4) The monitor program uses an interrupt. Do not set to interrupt disable state (I flag =
1) in a program other than the stack setting process.
5) When the step operation of the debugger is performed to the I flag control instruction,
the user interrupt process may be operated. A break point set in the user interrupt
process will be disabled. Do not execute the step operation to the I flag control
instruction. (I flag control instruction : CLI,SEI,PLP,PHP,RTI)
6) When an interrupt is acknowledged, the branch to the interrupt process of the user's
program will be performed via the monitor program. Therefore, real time of the user's
program will not be guaranteed.
7) When pressing a reset switch of the CPU board, reload the user's program.
8) Do not perform the step operation for the branch instruction to the self-address.
Example)
NOP
LOOP: BCC LOOP
NOP
Do not perform the step operation for this
instruction
5.2.2. Limitations on stop mode and wait mode
When using stop mode and wait mode in the user's program, close the RAM monitor
window and watch window in advance before executing. Do not generate a memory
access by the debugger during executing the user's program.
48
Vista de pagina 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 66 67

Comentarios a estos manuales

Sin comentarios