Home

User`s Manual - Personal Web Pages

image

Contents

1. QSK62P Plus Quick Start Kit User s Manual Revision 1 0 L Table of Contents 1 0 2 0 3 0 4 0 5 0 6 0 Introduction 0 2 ce ee ee eee ee tee eee eee 4 Contents of Product Package e0ee00 5 2 1 QSK62P Plus Quick Start Kit Item List 5 Ziel CUROM i eeaenee equa eee neeeneneueegusaeuss 5 Limited Guarantee and Support 6 6 System Connectivity 0c cece ee eee ee eens 7 4 1 Host Computer Requirements 0 eeeee eee 7 4 2 QSK62P Plus Board ccc eee ee eee eee eee 7 4 3 Software Development Tools 002ceeeeee 7 4 3 1 HEW High performance Embedded Workshop 7 4 3 2 NC30WA Evaluation Version C Compiler 8 43 3 HEW Debug lnt nace aasam isidan dd dadada a 8 H rdWwar sc 4445669564565 tte E EERE 05 whee 9 5 1 QSK62P Plus Board ccc eee ee eee eee eee 9 5 2 QSK62P Board Block Diagram 20ee00 10 5 3 M16C 62P and M16C 30P Groups of MCUs 10 5 4 LCD Liquid Crystal Display 0220e 00 10 System Operation amp Limitations 06 11 6 1 Kernel ROM Monitor Introduction 0 6 11 6 2 Pin and Peripheral Limitations 0 2e000 12 6 3 Memory MOD 42 4 55644 06 d0 0 4e004teueehewee ta 12 6 4 Status After Reset 0 0 cc eee ee eee tenes 13 6 5 Register Operation Limitations 22e000 13 6 6 Limitations on Inter
2. Figure 6 1 M30622F8 Memory Map with the Kernel Program 00000h 003FFh 00400h 013FFh 01400h OEFFFh OFOO0h OFFFFh 10000h EFFFFh FOOOOh FFFFFh SFR Area 1024 bytes 00400h Internal RAM User RAM Area 4kBytes 0137Eh 0137Fh Kernel RAM High E W Block 4kBytes Flash Data Note User programs must not access shaded areas FOOOOh User Program Area FFEOOh Flash ROM 64kBytes Special Page FF8FFh FF900h Vector Table Fixed Vector Table Note The kernel occupies memory associated with special page vector numbers 18 19 and 192 255 The user reset vector is re mapped to address FFFD8h by the kernel Kernel Program FFFDBh FFFDCh FFDFFh FFEQOh QSK62P Plus User s Manual Rev 1 0 page 13 6 4 Status After Reset Table 6 2 lists the values of the registers initialized by the kernel program when the QSK62P Plus board is reset The register status depends on the microcontroller s internal operation performed atter a reset Table 6 2 Initial Register Values After Reset Register Name Initial Value After Reset Interrupt Stack Pointer Initialized to O7F8416 UART Set for external clock synchronous mode 6 5 Register Operation Limitations Table 6 2 lists the limitations on register operation The registers are inhibited from any modification If register contents are modified in any way kernel operation cannot be guaranteed Table 6 3 Limitations on Register O
3. ever gets corrupted see Appendix B Updating the QSK62P Plus Board s In Circuit Debugger amp Programmer Firmware for help QSK62P Plus Status Enum LED green Power LED red No Power USB cable disconnected Ott Connected USB not enumerated driver Blinking On not installed Connected USB enumerated On Solid 7 3 Power Supply Requirements The QSK62P Plus Board is powered through USB When connected to USB the board s ICD circuit is powered and the current drawn will be about 75mA 7 4 Operating Environment Table 7 2 lists the environmental conditions for using and storing the QSK62P Plus board Store the board in a conductive bag inside the original factory packaging Table 7 2 Operating and Storage Environments Environmental Condition Ambient Temperature Ambient Humidity Operating Oto 55 C 30 to 80 No corrosive gas allowed non condensing Storage 30 to 75 C 30 to 80 No corrosive gas allowed non condensing QSK62P Plus User s Manual Rev 1 0 A 1 A 2 Appendix A Troubleshooting Guide This section discusses possible problems you may encounter while installing the development tool sottware USB drivers or running the HEW debugger and E8 The E8 is the debug hardware on the back side of the PCB This section also discusses the countermeasures and solutions to resolve these problems If for any reason you cannot resolve the problem further assistance is available via the
4. C Renesas folder HEW is installed in the C Program Files Renesas folder by default Sample code is installed in the C Workspace QSK_62P Plus folder Ifthe installer program does not start browse to the CD s root folder and double click on QSk installer exe to start the installation QSK62P Plus User s Manual Rev 1 0 Limited Guarantee and Support BNS Solutions warrants the QSK62P Plus to be tree from component or assembly detects for a period of 180 days from the date of purchase Settlement is limited to repair or replacement of the product only BNS Solutions does not assume any liability arising out of the application or use of any product circuit or procedure described herein No other liability or warranty applies expressed or implied Software warranty is limited to replacement of the CD only While every attempt has been made to ensure accurate documentation BNS Solutions cannot be held responsible for errors or omissions and reserves the right to make changes without prior notice HEW is a trademark of Renesas Technology America Inc QSK62P Plus and the BNS Solutions and BNS Learning logos are trademarks of D Agostino Industries Group Inc All other trademarks are the properties of their respective owners Support for the QSK62P Plus kit is provided via the following channels only 1 Online User Forums at www renesasuniversity com 2 DigiKey Technical Support www digikey com click the Contact Us li
5. Reconnect the QSK62P Plus board to your PC with the USB cable After you reconnect the QSK62P Plus board to the PC the E8 Programmer should show the target MCU device name you selected earlier QSK62P Plus User s Manual Rev 1 0 Appendix C Reference Manuals ltem Title Description 1 QSK62P Plus Quick Start Document that will help you get started on using Guide the QSK62P Plus QSK62P Plus User s Manual This document Installation and operation guide for the QSK62P Plus QSK62P Plus Board Schematic Schematic diagram for the QSK62P Plus Starter Kit board QSK3062P Plus Board BOM Bill of materials for the QSK62P Plus Starter Kit board M16C 62P Group Data Sheet Operation and Specifications for the M1 6C 62P MCU s M16C 30 60 Series ANSI C language programming guide for the C Language Programming M16C 30 60 series MCU Manual M16C 30 60 Series Assembler Assembler language programming guide for the Language Programming M16C 30 60 series MCUs Manual M16C 30 60 Series Software This document details the instruction set and Manual timing information for the M16C 30 60 series CPU cores M16C 30 60 Series Sample This document details some sample programs Programs and application notes tor the M1 6C 30 60 series MCUs HEW User s Manual Integrated Development Environment for Renesas Tools AS30 User s Manual Assembler Language Guide for AS30 assembly language compiler NC30 User s Manual ANSI C Com
6. Rev 1 0 Introduction The QSK62P Plus Quick Start Kit QSK is a low cost development environment for evaluating the M16C 60 series of microcontrollers MCU and Renesas software development tools The QSK62P Plus uses the M30620FC MCU which belongs to the M1 6C 62P group of the M16C series The M380620FC MCU has all of the on chip peripheral functions of the M1 6C 30P group MCUs plus some more so it can be considered a superset suitable tor evaluating the M16C 30P group as well The kits come with a complete software development tool chain for Renesas MCUs including the NC30WA C compiler assembler and linker an integrated stripped down E8 Emulator and the High performance Embedded Workshop HEW which consists of Integrated Development Environment IDE Graphical User Intertace GUI and Sottware Debugger The QSK62P Plus boards feature on board in circuit debugging and programming support ICD eliminating the need for an external ICD unit All that is required for in circuit debugging and programming with the QSK62P Plus is a USB connection to a PC running the included development tool software Power is provided by the USB link trom your PC eliminating the need for external power A real time source level debug environment is implemented using the HEW4 software debug intertace in conjunction with the QSK62P Plus boards The E8 Debugger allows in system programming of the board s M1 6C 62P Flash MCU QSK
7. The common problems encountered with debugging are e Erratic debug behavior e Can t connect to target e Issues that may come up during debug operations e Can t debug in HEW QSK62P Plus User s Manual Rev 1 0 page 20 A 3 1 Erratic Debug Behavior HEW allows you to launch multiple instances of itself However if more than one instance of HEW is open during a debug session erratic behavior can result Having more than one QSK62P Plus board or a Renesas external ICD installed can also cause erratic problems or cause HEW to crash A 3 2 Can t Connect to Target It the message Can t connect with the target is displayed when attempting to connect there are several reasons that may have caused this message to appear Each cause and its corresponding countermeasure is discussed below e The QSK62P Plus board is not connected correctly Unplug the QSK62P Plus board trom the USB cable Then reconnect the QSK62P Plus board to your PC s USB port via the supplied mini USB cable Please see section 4 0 System Connectivity e The QSK62P Plus board has no power Power LED of the QSK62P Plus is off The QSK62P Plus board s power is supplied via USB Check that your USB cable is not broken Check that your PC s USB port is working correctly If you connect the QSK62P Plus via a USB hub check the connectivity between the hub and your PC If you use a self powered hub check the power supply of your hub e Ensure you
8. and includes the C compiler assembler linker debugger and editor QSK62P Plus User s Manual Rev 1 0 page 8 4 3 2 NC30OWA Evaluation Version C Compiler The evaluation version of the M3T NC30WA C compiler is provided with the same tunctionality as the commercial version except that link size will be restricted to 64 kBytes atter 60 days trom when you begin using the compiler Contact your local sales representative if you wish to purchase a full license 4 3 3 HEW Debug Interface HEW communicates with a kernel i e a ROM monitor program on the target MCU through the debugger located on the back of the PCB which is functionally identical to the E8 standalone debugger This debug interface provides a highly efficient evaluation environment Features include e Source level debugging tor assembly and C language e Single step command unlimited breakpoints e Run command with 8 breakpoints for the M1 6C 62P e RAM monitor function e C variable watch window Note The number of breakpoints will vary depending on the M16C Flash MCU used QSK62P Plus User s Manual Rev 1 0 Hardware 5 1 QSK62P Plus Board Figure 5 1 shows the QSK62P Plus Board with major components identitied Figure 5 1 QSK62P Plus Board RS 232 Port Link LED 8 character x 2 line LCD Expansion Port 2 Reset Switch Power LED Thermistor I O Ring 4 M1 6C MCE A A Expansion Port User LEDs 3 User Pushbuttons 3 32kHz
9. are selecting 3 3V in the emulator settings dialog Selecting 5V will not allow the connection with the target to continue e The selected MCU In the debug session and the actual target MCU M16C 62P do not match This would be rare for projects generated with the wizard Start a new project workspace with the correct target and add the source files to it e The target MCU is damaged Try a different target board and see it HEW will connect You may have a damaged board or MCU A 3 3 Can t Debug in HEW HEW 4 0 is the first version of HEW to integrate the M1 6C debug interface If you have inadvertently installed an older version of HEW you will need to uninstall it and re install HEW4 QSK62P Plus User s Manual Rev 1 0 page 21 A 3 4 Issues that May Arise During Debug Operations While debugging user code some issues may come up because the limitations discussed in section 6 0 System Operation amp Limitations were not satisfied The common issues are listed in Table A 3 including the countermeasures Table A 3 Problem Possible Cause s and Solution After stepping a few instructions HEW Changes were made to the UART1 Special cannot stop Function Registers SFRs Do not change UART 1 SFRs in your code Breakpoints do not seem to work System is in FreeRun mode Change the RUN mode to Sampling from the Init window Emulator System icon HEW locks up cannot stop program Changes were made to the UART1 SFRs
10. 62P Plus User s Manual Rev 1 0 rT Contents of Product Package This section describes the contents of the QSK62P Plus product package When unpacking your QSK62P Plus please check to see that all items listed below are included 2 1 QSK62P Plus Quick Start Kit Item List Table 2 1 lists the items included in the QSK62P Plus Table 2 1 QSK62P Plus Item List ltem Name Qty Remarks QSK QSK62P Board 1 QSK62P QSK Board with integrated in circuit debugging and programming support Mini USB Cable 1 Connects QSK62P board to Host PC and provides 5v Quick Start Guide Information to get the QSK62P Plus board up and running quickly CD ROM 1 Auto install program HEW IDE amp debugger NC30WA C compiler assembler and linker USB drivers Manuals Tutorials Sample programs 2 1 1 CD ROM The CD ROM contains the electronic manuals and software necessary tor developing programs Your computer must have a web browser like Mozilla Firefox or Microsoft Internet Explorer to view the help tiles and Adobe Acrobat Reader to view the manuals Warning To insure correct driver installation do not connect your QSK62P Plus board until the CD software has been installed Insert the enclosed CD into your computer the installer should auto start The installer program will create C Renesas and C Workspace folders on your machine NC30WA E8 Debugger Documentation and other QSK related files are installed in the
11. Crystal under board QSK62P Plus User s Manual Rev 1 0 page 10 E B AN C 2 a ff J F Ve Qia k N WU UA ul LJ iu 5 2 QSK62P Board Block Diagram The QSK62P Plus board incorporates an M30620FC MCU 100 pin QFP from the M1 6C 62P group of microcontrollers designated as U4 Figure 5 2 shows the QSK62P Plus block diagram Figure 5 2 QSK62P Plus Block Diagram MHz PS 3 P82 P_i Resel P3 03 y 8char x 2 line ae LCD USB POT Thermistor ANO ANI ug 2215 MCU Implementing the E8 debugging interface P74 User LEDs JA1 JA2 5 3 M16C 62P and M16C 30P Groups of MCUs The QSK62P kits use an M30620FC MCU trom the M1 6C 62P group of microcontrollers The M16C 62P group is a functional superset of the M1 6C 30P group The M1 6C 62P group features an integrated clock PLL circuit which is not available on M1 6C 30P group MCUs The QSK62P Plus makes use of the integrated PLL The M16C 62P group of 16 bit single chip Flash microcontrollers is part of the M16C 60 family and utilizes an M1 6C 60 series CPU core The hardware and software manuals for the M16C 62P group of microcontrollers can be found in the C Renesas QSK62P Docs folder on your PC or from the Start menu Start gt Programs gt Renesas gt QSK62P Plus gt Document Descriptions after QSK62P Plus software installation 5 4 LCD Liquid Crystal Display The LCD is a 2 line by 8 character display with a KSO066 controlle
12. Do not or Communication Error message is change UART1 SFRs in your code displayed Ensure that no limitations in Section 6 were violated Re initialize the system without closing debug session See note below Do a hardware reset User program runaway may be corrupting the kernel RAM interrupt vectors flags etc Close the debug session hit the reset button on the QSK board to reset the board then restart Download problems HEW project was not set up properly startup files missing or out of order files added to wrong member etc Try creating a new project and adding your source tiles to it For details please see the HEW User s Manual To re initialize the system without closing a debug session try the following e Click the lt OK gt button on the error dialog box to close it e When an Exit dialog box appears click the lt Cancel gt button to close it e Press the Reset button on the QSK62P Plus board e Click the HEW Reset icon Atter initialization debugging can resume However it is recommended that you download your program again betore debugging QSK62P Plus User s Manual Rev 1 0 Appendix B Updating the QSK62P Plus Board s In Circuit Debugger amp Programmer Firmware This section discusses how to update the firmware of the QSK62P Plus board s 2215 MCU which is used to implement the board s in circuit debugging ICD E8 and programming functionality Under normal circumstances you s
13. able 7 1 QSK30P 62P Board Specifications ltem Specification Clocks Memory Connectors Switches Main Clock QSK62P 6MHz crystal RAM 4kB 4096 Bytes High E W Data Block 4kB Flash ROM 64kB 65536 Bytes JR1 JR4 Four dual row measurement test points connected to the MCU pins JA1 JA2 Two dual row expansion ports where your own hardware can be connected J6 Mini USB connector used for in circuit debugging and programming SW 1 Pushbutton connected to P8_3 SW2 Pushbutton connected to P8 2 SW3 Pushbutton connected to P8 1 Reset Pushbutton connected to Reset D5 Green Run LED in circuit debugging programming activity D1 Red Power D2 Red User output connected to P8_0 D3 Red User output connected to P7_4 D4 Red User output connected to P7_ 2 2 line X 8 character LCD with KSO066 controller IC QSK62P Plus User s Manual Rev 1 0 page 17 7 2 QSK62P Plus Power amp Run LED Status The green Connect LED D5 and the red Power LED D1 indicate operating status of the QSK62P Plus board The board s 2215 MCU that controls the In Circuit Debugging and Programming functionality of the board also controls the D5 LED For the LEDs to function as per the table below the 2215 MCU must be programmed with the correct MCU Monitor Image MMI for the QSK62P Plus Boards shipped trom the factory have the correct MMI loaded In case your board s MMI
14. ator privileges to be able to install the drivers QSK62P Plus User s Manual Rev 1 0 page 19 A 3 For cases where Renesas E8 Emulator appears with a red X or yellow exclamation point in the Windows Device Manager please try the following 1 Locate the following files on your C drive Elusb int Elusb sys 2 Open the Windows Device Manager Start gt Control Panel gt System Properties gt Hardware gt Device Manager gt Universal Serial Bus controllers 3 Double click on Renesas E8 Emulator A Renesas E8 Emulator Properties dialog box appears Click on the Driver tab and click the lt Update Driver gt button Select Display a list and click on the lt Have Disk gt button Browse to where you found the E1 usb sys file and click install N BO oO A If this process does not work please follow the instructions below If you encounter problems on installing the drivers you can try the following Windows 2000 a Copy the Elusb int tile from where you located it to the WINNT INF folder b Copy the El usb sys file from the where you located it to the WINNT SYSTEM32 drivers folder Windows XP a Copy the Elusb int file from where you located it to the WINDOWS IMF folder b Copy the Elusb sys tile from where you located it to the WINDOWS SYSTEM32 drivers folder Debugging Problems This section discusses the causes of common problems and countermeasures to resolve them
15. erefore 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 ina 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 tor each 16 Bytes of data displayed in the window are used per window update The user must determine whether this behavior is acceptable QSK62P Plus User s Manual Rev 1 0 page 15 6 9 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 e Open the workspace and project in HEW e Select Renesas M16C Standard Toolchain from the Build pull down menu e Click on the Link tab e Select Output under the Category list box e Click on the checkbox for g Outputs source debug information e Click onthe lt OK gt button For more information see the HEW user s manual QSK62P Plus User s Manual Rev 1 0 QSK62P Plus Board Specifications 7 1 Hardware Specifications Table 7 1 lists the specifications of the QSK62P Plus Boards T
16. following support channels 1 Online User Forums at www renesasuniversity com 2 Digi Key Technical support www digikey com click the Contact Us link 3 Renesas Technical Support Center email at techsupport renesas com 4 Email BNS at techsupport bnssolutions com Manual Installation Before connecting the QSK62P Plus to your PC the driver files inf and sys and executables must be copied to the C Renesas E8 directory To do this download and run from the website Renesas latest version of HEW and NC30 compiler and the E8 debugger USB Driver Problems This part discusses how to tix common problems that may occur with USB driver installation The most common problem is that Windows did not properly install the USB drivers so the QSK62P Plus is not recognized An indication of this problem is the QSK62P Plus green connect LED blinking When the driver is installed properly the green connect LED will be on solid Before trying the following steps try restarting your PC to see if this resolves the problem You can check the USB Driver status using the Windows Device Manager Start gt Control Panel gt System Properties gt Hardware gt Device Manager gt Universal Serial Bus controllers If the Renesas E8 Emulator appears under the Universal Serial Bus controllers with no red X or yellow exclamation point the driver was installed properly NOTE If you are using Windows 2000 or XP you will need Administr
17. hould never have to perform this update unless the ICD MCU s memory becomes accidentally corrupted The 2215 MCU has a USB boot mode that can be used to program the MCU s user Flash area The procedure to activate the boot mode to re program the Flash firmware is described in the following steps l 2 Unplug the QSK30P 62P board unit from the USB cable Locate the J3 jumper under the LCD and if not done already solder a 2 pin 2 54mm 0 100 mil jumper header into it Shunt the jumper header with a 2 54mm 0 100 mil jumper thus connecting the BOOT signal to VCC This will force the 2215 MCU to run in boot mode when it is powered up Plug the USB cable back in The 2215 MCU will now be in boot mode and will communicate as a USB device to the PC In boot mode the 2215 MCU uses a different USB Driver than the In Circuit Debugger Programmer application so you will need to load another USB Driver when doing this procedure for the first time The Windows New Hardware Wizard should start automatically and guide you through the installation of the required USB driver The driver is located in C Renesas FOUSB USB Drivers Obtain the 2215 code image trom one of the Tech Support contacts elsewhere in this document Using FDT basic select the processor 2215 RUTE add the image file click connect and follow the instructions Unplug the USB Cable and remove the jumper connecting the BOOT signal to VCC
18. lus User s Manual Rev 1 0 Appendix E Board Schematic amp BOM The circuit board schematic and Bill Ot Materials BOM are available as separate PDF documents They can be viewed via Start gt Programs gt Renesas gt QSK62P gt Board Hardware or by browsing to the folder C Renesas QSK62P Docs and opening the tiles QSK62P Schematic pdt Published QSK62P Plus BOM rC pdt QSK62P Plus User s Manual Rev 1 0 Appendix F Other Resources 1 For updates and other evaluation tools and sample programs for the QSK62P Plus Kit see www bnssolutions com QSK 2 Renesas microcontroller application notes and sample programs can be viewed at Renesas Technology America s website htto www renesas com QSK62P Plus User s Manual Rev 1 0
19. nk 3 Renesas Technical Support Center email at techsupport renesas com 4 BNS Solutions Technical Support center email at techsupport bnssolutions com or online at www bnssolutions com qsk QSK62P Plus User s Manual Rev 1 0 4 1 4 2 4 3 4 3 1 System Connectivity The following lists the hardware and software products required for using the QSK62P Plus Quick Start Kit e Host Computer supplied by user e QSK62P Plus Board e Mini USB cable e Software Tools HEW IDE NC30 Compiler Linker E8 Debugger Mini USB Cable Figure 4 1 QSK62P Plus System Connectivity PC with Windows 2000 XP or Vista 32 bit Host Computer Requirements The minimum requirement to be able to use the software that comes with the QSK62P Plus is a PC with a USB port and Microsoft Windows 2000 XP or Vista 32 bit QSK62P Plus Board The QSK62P Plus boards provide an evaluation and development environment for M1 6C 62P group MCUs respectively See section 5 0 for more details Software Development Tools The installer program installs all the development tools For details on installation see the Quick Start Guide or instructions in Appendix A of this manual A brief description of all the included tools follows Please refer to the individual tool manuals for detailed information HEW High performance Embedded Workshop HEW provides a Graphical User Interface GUI that integrates the software development tools
20. of the ICD portion The operation of the kernel is transparent to the user but there are some limitations These are discussed trom section 6 2 onward After starting a HEW debug session the ICD uploads the kernel to the M1 6C 62P it it does not already exist e g on a blank device or a device that was programmed for stand alone operation After downloading the kernel the M1 6C 62P is ready to download user code Connecting the QSK30P 62P board without starting HEW will not affect the signal lines connected between the E8 MCU H8 2215 and the M1 6C 62P the ICD MCU keeps the signal lines in high impedance state The ICD MCU only drives the pins after HEW or the E8 attempts to connect QSK62P Plus User s Manual Rev 1 0 page 12 6 2 6 3 After completing program debug and verification with HEW you can create an image of your code in Intel hex or Motorola mot file formats This image can be programmed into the M16C 62P using the E8 in program mode This procedure erases the kernel and leaves only the user program Pin and Peripheral Limitations SIO UART1 pins are used for communication between the M1 6C 62P kernel on the QSK62P Plus board and the board s ICD MCU Do not connect these pins to any other circuit as SIO UART 1 cannot be used in the user program while using the Debugger Memory Map The amount and locations of memory used by the kernel on the QSK62P Plus board s M1 6C 62P MCU are shown in Figure 6 1
21. peration Register Name Restriction User and Interrupt Stack Pointers RAM memory range 7 B80H 7BFFH is used by the kernel Do not set stacks in this area UART1 Transmit Receive Mode Register Do not change UART1 Transmit Receive Control Register O UART1 Transmit Receive Control Register 1 UART1 Receive Butter Register Port 6 and Port 6 DDR To prevent changes on P6 4 data and direction use read modity write only instructions BSET BCLR AND OR etc QSK62P Plus User s Manual Rev 1 0 page 14 6 6 Limitations on Interrupts Vectors that Reside in the Hardware Vector Table Table 6 4 lists the limitations on hardware interrupt i e fixed vector addresses Table 6 4 Interrupt Vector Addresses Interrupt Cause M16C 62P Vector Address Kit Specification gt T 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 6 7 Stop or Wait Mode Limitations The kernel cannot be run in STOP or WAIT modes Do not use these modes when debugging your program 6 8 User Program s Real Time Capability Very Important Please Read Please be aware that while the kernel is ina STOP state the hardware peripherals will continue to run Th
22. piler Guide tor KNC30WA C language compiler RTA E8 User s Manual User guide and operation manual for the ICD NOTE The installer will copy all these manuals during installation They can be viewed using the Document Descriptions file by clicking on Start gt Programs gt Renesas gt QSK62P Plus gt Document Descriptions 10 QSK62P Plus User s Manual Rev 1 0 Appendix D Expansion Headers The M30622F8 MCU on the QSK62P Plus target board is housed in a 100 pin QFP package Pin 1 of the package is identified by the number 1 on the board s top silkscreen Connectors JAI to JA2 and JR1 to JR4 provide access to almost all of the MCU s pins You can use them as test points to check MCU signals or to connect your own expansion board The silkscreen identifying the connectors Is on the QSK62P Plus board The following table shows the mapping of JAI and JA2 pins to MCU pins and signal names JAI M16C 62P 14 64 16 62 14 64 O N O Kw D13 INT3 IIC SDA IIC SCK NO NO N QO GQ GQ Qs ON Ov O amp GW BH NO SO NO oO GM OW N so Gd ow KR oO OV GQ BRI Ww nOt OIOI Wai NI nl ay RI OINI NO i NO if i CE Signal JA7 RESN CON Xin TXDO INTO INTI CLKO GIs RIS M16C 62P AJN O KW WINI W OO OO ON TA2Out COME NINNIN NO cw BR ow OINI N CO NINI so NO i ENN OO QSK62P P
23. r IC QSK62P Plus User s Manual Rev 1 0 System Operation amp Limitations The QSK62P Plus provides sophisticated on board debugging features at a low cost The QSK62P Plus in circuit debugging and programming circuitry ICD cannot be disconnected tor use with other M1 6C based boards The QSK62P Plus does have some limitations when used with the HEW software debugger and the board s ICD circuit Section 6 1 introduces the kernel ROM monitor program and its purpose The limitations when this kernel is running with the user program are listed in Table 6 Table 6 1 System Limitations when Debugging 6 1 Please Refer To 6 2 Pin and Peripheral Limitations 6 3 Memory Map 6 4 Status Atter Reset User Limitations 6 5 Register Operation Limitations 6 6 Limitations on Interrupts Vectors that Reside in the Hardware Vector Table 6 7 Stop or Wait Mode Limitations The kernel cannot be run in STOP or WAIT modes Do not use these modes when debugging your program 6 8 User Program s Real Time Capability Debugger Limitations Kernel ROM Monitor Introduction During debug a small program called a kernel is uploaded to the M1 6C 62P M30620FC MCU The kernel communicates with HEW through the ICD portion of the QSK62P Plus board regarding MCU status during user code debugging operations the ICD is a stripped down version of the E8 debugger There are no special steps required in the user program to make use
24. rupts Vectors that Reside in the Hardware Vector Table ccc eee e eee eees 14 6 7 Stop or Wait Mode Limitations 2eeee0 14 6 8 User Program s Real Time Capability Very Important Please Read 22000 14 6 9 Performing Debug Using Symbols 64 15 QSK62P Plus User s Manual Rev 1 0 page 3 7 0 QSK62P Plus Board Specifications 16 7 1 Hardware Specifications e cee cence eens 16 7 2 QSK62P Plus Power amp Run LED Status 17 7 3 Power Supply Requirements 00e0eeeeee 17 7 4 Operating Environment 0e cee eeeeees 17 A Appendix A Troubleshooting Guide 18 A 1 Manual Installation 0c cee eee eee eens 18 A 2 USB Driver Problems cece ee ecceccees 18 A 3 Debugging Problems 2 00 c ee ceecccees 19 A 3 1 Erratic Debug Behavior 2 0 2 0 0 0 cee eee 9 A 3 2 Can t Connectto Target nanana aaa aaaea 20 A 3 3 Can t Debugin HEW 0 0 00 eee 20 A 3 4 Issues that May Arise During Debug Operations 21 B Appendix B Updating the QSK62P Plus Board s In Circuit Debugger amp Programmer Firmware 22 C Appendix C Reference Manuals 23 D Appendix D Expansion Headers 24 E Appendix E Board Schematic amp BOM 25 F Appendix G Other Resources 2 e e2e0 26 QSK62P Plus User s Manual

Download Pdf Manuals

image

Related Search

Related Contents

EXCELL 24S Synchro EXCELL 30S Synchro Nass    INDICATEUR BLEU DE TRAITEMENT IC001    Home Accents Holiday TY495-1514 Instructions / Assembly  RJ-4000 leaflet  Outlook 2010 User Manual    INSTALLATION MANUAL REW SOLAR MODULE  モニターの取り説はこちらから(PDFファイル)  

Copyright © All rights reserved.
Failed to retrieve file