Renesas RZB-ZMD16C-ZDK Stop or Wait Mode Limitations, User Program’s Real-Time Capability

Page 19

Applications Engineering

Table 7-3: Interrupt Vector Addresses

Interrupt Cause

M16C/28 Vector Address

Kit Specification

Undefined

FFFDCh ~ FFFDFh

User available

Overflow

FFFE0h ~ FFFE3h

User available

BRK Instruction

FFFE4h ~ FFFE7h

User inhibited

Address Match

FFFE8h ~ FFFEBh

User inhibited

Single-step

FFFECh ~ FFFEFh

User inhibited

Watchdog Timer

FFFF0h ~ FFFF3h

User available (Note 1)

DBC

FFFF4h ~ FFFF7h

User inhibited

NMI

FFFF8h ~ FFFFBh

User available

RESET

FFFFCh ~ FFFFFh

Reset vector (Note 2)

NOTES:

(1)The Watchdog Timer vector is shared with the oscillation stop and voltage detection interrupts. The vector is available for oscillation stop and voltage detection interrupts, but you must avoid using the vector for watchdog timer interrupts.

(2)The kernel transparently relocates the Reset vector to FFFD8H.

7.6.Stop or Wait Mode Limitations

While running the kernel with an application that uses “STOP” or “WAIT” modes, care must be taken not to communicate with the MCU while “STOP” or “WAIT” is active (avoid RAM monitor or memory window refreshes, for example). Breakpoints (if used) should be set at points in the code where it is known that the BCLK is running at a frequency greater than 250 kHz.

7.7. User Program’s Real-Time Capability

Please be aware that while the kernel is in a “STOP” state, the hardware peripherals will continue to run. Therefore, interrupts may not be serviced properly. In addition, the watchdog timer will not be serviced and will likely time out if active.

While the kernel is in a “RUN” state, there is no overhead on the application code unless a RAM monitor window is open. This window requires periodic communication with the MCU. This communication suspends normal application operation while servicing the request (approximately 2000 BCLK cycles for each 16 bytes of data displayed in the window are used per window update). The user must determine whether this behavior is acceptable.

7.8. Performing Debug Using Symbols

Normally when a new project is created using HEW, debugging symbols are enabled. If you are unable to view the source properly during debug, add the debug option [-g] in HEW before compiling the programs. To enable the [-g] option, perform the following:

Open the workspace and project in HEW.

Select [Renesas M16C Standard Toolchain] from the Options pull-down menu.

Click on the [Link] tab.

Select [Output] under the [Category] list box.

Click on the checkbox for [-g] ‘Outputs source debug information…’

Click on the [OK] button

For more information, see the HEW user’s manual.

RZB-ZMD16C-ZDK User’s Manual Rev 1.2 19/ 33

August 2006

Image 19
Contents ZigBee Demo Kit ZDK Table of Contents RZB-ZMD16C-ZDK User’s Manual Rev 1.2 3 August Introduction Contents of Product Package Limited Guarantee and Support System Connectivity ZigBee Demo Kit SetupRZB-ZMD16C-ZDK Boards Host Computer RequirementsRF Sniffer Board Software Development Tools RF Sniffer Interface RfsiRF Sniffer Software and USB Driver In-Circuit Debugger and Programmer ICDFoUSB Flash-over-USB Programmer ZDK Board RZB-ZMD16C-ZDK HardwareM16C/28 Group of MCUs RZB-ZMD16C-ZDK Board Block DiagramRZB-ZMD16C-ZDK Board Jumper Configuration 1. JP1 MCU U4 PowerZigBee RF TimersLimitations of the ZbRom System LCD Liquid Crystal DisplayStack RAM Usage System ClockInterrupts Flash and RAM UsageZbROM RAM Size Global Variable RAM UsageMAC Address Area ZbROM Flash SizeOther Limitations Customization of Demo Program SettingsMemory Map System Operation & LimitationsKernel ROM Monitor Introduction Pin and Peripheral LimitationsLimitations on Register Operation Register Operation LimitationsRegister Name Restriction User Program’s Real-Time Capability Stop or Wait Mode LimitationsPerforming Debug Using Symbols Interrupt Cause M16C/28 Vector Address Kit SpecificationSpecification RZB-ZMD16C-ZDK Board SpecificationsHardware Specifications Power Supply RequirementsManual Installation Appendix A. Troubleshooting GuideUSB Driver Problems Windows Debugging ProblemsErratic Debug Behavior Cannot Connect to TargetProblem Possible Cause/s and Solution Issues that May Arise During Debug OperationsTable A.3 Page Appendix B. Reference Manuals MCU Function Pin Appendix C. Expansion HeadersMCU Function Appendix D. Board Schematic & BOM RZB-ZMD16C-ZDK User’s Manual Rev 1.2 29 August RZB-ZMD16C-ZDK User’s Manual Rev 1.2 30 August Figure E-1 PCB Top View Appendix E. RZB-ZMD16C-ZDK Printed Circuit BoardFigure E-2 PCB Bottom View Appendix F. Other Resources

RZB-ZMD16C-ZDK specifications

The Renesas RZB-ZMD16C-ZDK is an advanced evaluation kit designed for developers and engineers focused on creating next-generation embedded applications. This development board is part of the RZ family, which is renowned for its powerful features and flexibility in various applications, including industrial automation, smart home devices, and automotive systems.

One of the standout features of the RZB-ZMD16C-ZDK is its integration of a Renesas RZ/A2M microprocessor. This microprocessor offers a high performance with an ARM Cortex-A9 core that operates at clock speeds up to 600 MHz, which enables the execution of complex algorithms and control tasks. The board boasts an impressive capability to support high-resolution graphics and touchscreen interfaces, making it ideal for HMI applications.

In terms of memory, the RZB-ZMD16C-ZDK comes equipped with substantial on-chip SRAM and flash memory, enhancing its ability to run sophisticated applications without the need for external memory interfaces. This is coupled with a generous amount of expansion options, including GPIO, ADC, and PWM functionality, ensuring that developers can easily integrate additional peripherals.

The kit supports various connectivity options, including Ethernet, USB, and serial communication protocols, enabling seamless integration into existing networks and infrastructures. Its built-in Ethernet capabilities are particularly advantageous for IoT applications, facilitating real-time data exchange and remote control functionalities.

The RZB-ZMD16C-ZDK also emphasizes ease of use for developers, featuring comprehensive software support, including the Renesas Flexible Software Package (FSP). This package accelerates development by providing pre-configured drivers and middleware, which simplifies the implementation of required functionalities.

Moreover, comprehensive debugging and development tools are included, allowing engineers to efficiently test and refine their applications without needing extensive additional resources. The availability of Kano and Renesas e2 studio IDE further enriches the development experience by providing a rich set of debugging and code analysis tools.

In summary, the Renesas RZB-ZMD16C-ZDK is a powerful evaluation kit designed with an extensive feature set and cutting-edge technology. Its combination of high-performance processing, ample memory, versatile connectivity, and robust software support makes it an attractive option for professionals seeking to develop reliable embedded solutions across various industries. The RZB-ZMD16C-ZDK stands out as a critical resource for innovation in the fast-evolving field of embedded systems.