NEC V850 ZigBee Pro User Manual page 44

32-bit v850 gateway development platform
Table of Contents

Advertisement

Chapter 7
Table 7-3
Note
44
Memory area reserved for monitor
Device
Address range
V850ES/SG2
ROM: 0x5F800 - 0x5FFFF
(μPD70F3281Y)
RAM: 0xFFFF EFF0 - 0xFFFF EFFF
Moreover, the monitor reserves 10 bytes of the global stack area by halting the
user program, caused by a forcible break (debugger stop command) or a software
breakpoint.
Clock operation
After releasing a reset, the monitor program sets the operation clock of the CPU
to the maximum speed of 20 MHz. The monitor program switches also to the
maximum CPU speed of 20 MHz when releasing a forcible break (debugger stop
command) or when the user program execution is stopped caused by a software
breakpoint. After the user program execution is restarted (debugger go
command), the monitor restores the previous CPU operation clock setting.
Do not change the frequency of the external oscillator connected to the X1 and
X2 pins.
The baud rate calculation for UARTD0 is based on a 4 MHz input frequency,
otherwise no communication to the V850 ZigBee
Platform board can be established.
Other limitations
The watchdog timer can not be used. Please be sure to set the option bytes of
the V850ES/SG2 device accordingly to allow the watchdog timer disable.
The forcible break (debugger stop command) can not be used when the global
interrupts were disabled by the user program (DI instruction).
Debug sessions
The debug session is done directly by connecting the V850 ZigBee
Development Platform board to the host PC via the USB cable. The TK interface
of IAR manages the debug session by using the serial interface that is connected
to the USB connecter of the TK-850/SG2+UZ. When using the TK interface serial
communications via UARTD0 is disabled to prevent a clash with the monitor
program. A pre-processor directive has been employed to ensure that the relevant
application code is disabled during a debug session. Please ensure that the
HARDWARE_NOUART pre-processor option is set in [Project] -> [Options] -> [C
\C++ Compiler] -> [Pre-processor] is set and, if necessary, rebuild the application
prior to starting the debug session.
User's Manual U19026EE3V0UM00
IAR Sample Session
Function
Reserved for monitor
program
TM
Gateway Development
TM
Gateway

Advertisement

Table of Contents
loading

Table of Contents