Home

SKP32C8x User`s Manual

image

Contents

1. button e Select Display a list and click on Have Disk button e Specify and locate the C MTOOL FoUSB USB Drivers folder on your PC and install usbmon sys driver If you encounter problems on installing the drivers you can try the following 1 Windows 2000 i Copy the fousb inf and usbmon inf files from USB Drivers folder to WINNT INF folder ii Copy the fousb sys and usbmon sys files from USB Drivers folder to WINNT SYSTEMS32 drivers folder 2 Windows 98 or XP i Copy the fousb inf and usbmon inf files from C MTOOL FoUSB USB Drivers folder to WINDOWSI IMF folder ii Copy the fousb sys and usbmon sys files from C MTOOL FoUSB USB Drivers folder to WINDOWS SYSTEM32 drivers folder SKP32C8x User s Manual Rev 1 1 15 22 October 2004 RENESAS Applications Engineering A 2 KD3083 Problems This section discusses the cause of the problem and countermeasures to resolve it The common problems encountered with KD3083 are e USB option cannot be selected from the initialization screen e Cannot connect to target e KD3083 already exists e Issues that may come up during debug operations A 2 1 USB Option Unavailable When USB cannot be selected from KD3083 s Init dialog box you might be using an old version of KD3083 that does not support USB Uninstall this version of KD3083 and install latest version of KD3083 from the Tools KD3083 directory of the SKP CD A 2 2 Cannot Connect to Target When
2. limitations when used with the KD3083 Debugger and ICD 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 1 Table 6 1 Systems Limitations when used with KD3083 6 2 Pin and Peripheral Limitations 6 3 Memory Map User Limitations 6 4 Status After Reset 6 5 Register Operation Limitations 6 6 Limitations on Interrupts 6 7 Stop or Wait Mode Limitations 6 8 User Program s Real time Capability Debugger Limitations 6 1 Kernel ROM Monitor Introduction During debug used with the KD3083 debugger a small program called a kernel is downloaded to the M32C 8x The kernel communicates with the KD3083 Debugger through the ICD regarding MCU status during user code debugging operations There are no special steps required in the user program to make use of the ICD The operation of the kernel is transparent to the user but there are some limitations and these are discussed from section 6 2 After starting KD3083 the ICD downloads the kernel to the M32C 8x if it does not exist e g blank device or programmed with FoUSB Programmer After downloading the kernel KD3083 opens the Program Window and the M32C 8x is ready for downloading code Connecting the ICD without starting KD3083 will not affect the lines connected between the ICD and the M32C 8x the ICD keeps the lines in high impedance state T
3. software with the RTA FoUSB MON Flash Programmer In Circuit Debugger ICD The Flash over USB FoUSB Programmer software with the ICD allows in system programming of the M32C 8x flash MCUs The ICD and firmware provide a convenient USB Universal Serial Bus interface between the SKP32C8x boards and the host PC This interface reduces resource requirements on the M32C 8x MCUs allows faster code downloads and can also be used with many other Renesas Flash MCU s SKP s and user target boards The SKP32C8x Group of SKPs comes in five varieties SKP32C83 SKP32C84 SKP32C85 SKP32C83 CL SKP32C85 CL and SKP32C85 100 CL Throughout this document the kits will be commonly referred to as SKP32C8x and the MCUs will be referred to as M32C 8x All CL kits come with a Comms Lite expansion board which provides CAN LIN and RS 232 interfaces as well as an on board power supply Please see the Comms Lite Users Manual for more details regarding the expansion board The following table shows the MCU configurations for each kit Kit MCU Freq Xin ROM RAM Pins Comms SKP32C83 M30835FJGP 20 MHz 512 4k 31k 144 No SKP32C84 M30845FJGP 8 MHz 512 4k 24k 144 No SKP32C85 M30855FHGP_ 8 MHz 384 4k 24k 144 No SKP32C83 CL M30835FJGP 20 MHz 512 4k 31k 144 Yes SKP32C85 CL M30855FHGP_ 8 MHz 384 4k 24k 144 Yes SKP32C85 100 CL M30853FHGP_ 8 MHz 384 4k 24k 100 Yes SKP32C8x User s Manual Re
4. 2 0 0 0 ccceeeiccseeeeeeeeeeeeeeeeeenneeeeeeeeeeeeeenaaees 13 6 8 Performing Debug Using Symbols AAA 13 7 0 SKP32C8x Board Specifications EE 14 7 1 Ee e eene 14 7 2 External Power Supply Requirements sssssseeeeeessssenerrntrrssernerrnnrrssrrrrnernneeset 14 7 3 Operating Environment giele gedu othiteid skewed onc aneeetae Genes ane eee rts 14 Appendix A Troubleshooting Guide isc sicsccciesseectcnceentedens es acnncsbeebeeas bee tices ited engeeevneddbeoete 15 A 1 USB Driver Problems arser aeeti eieaa Ra EER EdELRegek 15 PE2 KD3083 Problem EE 16 Appendix B Reference Manuals kA 18 Appendix C Expansion Headers AAA 19 Appendix D SKP Schematic amp RCM dE ee Sed ctees teen tinea eh ede hans tees eho 20 Appendix E SKP Board Dimensions xiecsceccecgscvesdinacurratencvedsorndeetieuebediereerticte wonberderees 21 Appendix F RTA FoUSB MON ICD g eegente gees Guts egdE Eege 22 SKP32C8x User s Manual Rev 1 1 October 2004 RENESAS Applications Engineering 1 0 Introduction The SKP32C8x group of StarterKit Plus SKP s are low cost development environment for evaluating M32C 8x group microcontrollers MCU and Renesas software development tools The kit comes with a complete software development tool chain including HEW IDE GUI NC30OWA C compiler assembler and linker KD30 Debugger and FoUSB Flash over USB Programmer A real time source level debug environment is implemented using the KD3083 debugging
5. 22 October 2004 a CN ESAS Applications Engineering Appendix D SKP32C8x Schematics and Bill Of Materials The SKP32C8x Schematic is available as a separate document SKP32C8x_Schematic pdf The SKP32C8x Bill of Materials is available as a separate document SKP32C8x_BOM pdf SKP32C8x User s Manual Rev 1 1 20 22 October 2004 RENESAS Applications Engineering Appendix E SKP Board Dimensions 2 600 el L P N RDECEZBBS Rev E 3 300 Sept 10 2003 r SKP32C8x User s Manual Rev 1 1 21 22 October 2004 RENESAS Applications Engineering Appendix F RTA FoUSB MON ICD For details on how to use the ICD please see RTA FoUSB MON User s Manual SKP32C8x User s Manual Rev 1 1 22 22 October 2004
6. SKP32C85 SKP32C85 CL E 0063FFh FA0000h 0062FFh SKP32C85 100 CL M30853FH SKP32C83 SKP32683 CL M30835FJ 007FFFh F80000h 007EFFh SKP32C8x User s Manual Rev 1 1 11 22 October 2004 RENESAS Applications Engineering 6 4 Register Operation Limitations Table 6 3 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 Operation Register Name User Interrupt Stack Pointer Restriction Range 7FOOH 7FFFH M32C 83 and 6300H 63FF M32C 85 is used by the kernel UART1 Transmit Receive Mode Register Do not change UART1 Transmit Receive Control Register 0 UART1 Transmit Receive Control Register 1 UART1 Interrupt Control Register 0 Do not change UART Transmit Receive Control Register 2 Do not change bits 0 and 2 UART1 Transmit Buffer Register Do not write to this register UART1 Receive Buffer Register Do not read this register Port 6 and Port 6 DDR To prevent changes on P6_4 data and direction use read modify write only instructions BSET BCLR AND OR etc 6 5 Limitations on Interrupts Vectors that Reside in the Hardware Vector Table Table 6 4 lists the limitations on hardware interrupt vector addresses Table 6 4 Interrupt Vector Addresses M32C 8x Vector Address Kit Specification Undefined FFF
7. the message Cant connect with the target is displayed after KD3083 startup there are several reasons that may cause this message to appear Each cause and the corresponding countermeasure are discussed below e The SKP is not connected correctly Please connect the ICD to your PC Note Regardless of whether the ICD is bus or target powered please connect target board to ICD board first before plugging the USB cable to your PC Please see section 4 on system SKP32C8x connectivity e The ICD has no power Power LED on ICD is off Please ensure that the Power Mode switch on the ICD is on the USB side In Target position the ICD is powered from the target side e USB was not selected on the Init dialog box Please select USB from the Init dialog box that is displayed right after you start KD3083 e The selected MCU on the ICD board and the actual target MCU M32C 8x do not match Close the error message by clicking on OK button and then click on the Cancel button of the KD3083 Init window to close KD3083 Make sure you select M30835FJGP mcu or M30855FJGP mcu If the MCU loaded on the ICD is different KD3083 will re program the ICD to match it e The target MCU is damaged Try a different target board and see if KD3083 will come up as you may have a damaged board or MCU SKP32C8x User s Manual Rev 1 1 16 22 October 2004 RENESAS Applications Engineering A 2 3 KD3083 Already E
8. 16C 80 Series C Language C language programming guide for the M16C 80 series Programming Manual MCUs 7 M16C 80 Series Assembly Assembly language programming guide for the M16C 80 Language Programming Manual series MCUs 8 M16C 80 Series Software Manual Instruction set manual for the M16C 80 series CPU cores 9 M16C 80 Series Sample Programs Sample programs and application notes for the M16C 80 series MCUs 10 HEW User s Manual High performance Embedded Workshop User s Manual 11 AS308 User s Manual AS30 Assembler User s Manual 12 NC308 User s Manual NC308 C Compiler User s Manual 13 RTA FoUSB MON User s Manual In Circuit Debugger Flash Programmer User s Manual SKP32C8x User s Manual Rev 1 1 18 22 October 2004 RENESAS Applications Engineering Appendix C Expansion Headers J1 Function 100 and 144 J2 Function 100 and 144 J3 Function 144 pin Pin pin versions Pin pin versions Pin versions only 1_ Vcc 1 GND 1 P11_0 2 P0O0 2 P01 2 P111 3 PO 2 3 P03 3 P112 4 P04 4 P
9. 16C family flash MCU i e R8C M16C M32C Please see the RTA FoUSB MON Users Manual for more details SKP32C8x User s Manual Rev 1 1 6 22 October 2004 RENESAS Applications Engineering 5 0 Hardware 5 1 SKP32C8x Board Figure 5 1 shows the SKP32C8x Board with major components identified Expansion P ii Power LED 8 character x Reset SW 2 line LCD LCD Analog Contrast Adjust Pot JP2 Xout JP1 MCU Power Hi Speed Crystal M32C 8x y MCU User LEDs RTA FoUSB MON ICD 32KHz Connector Crystal Expansion Thermistor Ports User Pushbutton Switches Figure 5 1 SKP32C8x Board SKP32C8x User s Manual Rev 1 1 7 22 October 2004 a CN ESAS Applications Engineering 5 2 SKP32C8x Board Block Diagram The SKP32C8x boards incorporate a M32C 8x group microcontroller designated as U1 Figure 5 2 shows the SKP32C8x block diagram Analog i Adjust POT Thermistor Ea E LCD Contrast POT Xout for Oscillation Detection Evaluation RESET P8_3 P8_2 P8_1 AN1 ANO Xin Xout XCin XCout 8 characters P9 x 2 lines LCD U1 RED YELLOW GREEN To SiO 7 M32C 8x LED LED LED Ip E DN s sl Vcc P8_0 P74 P7 2 Vcc JP1 MCU Power for Icc Measurements J1 J2 J3 J4 Note An external power supply is required if the Headers SKP32C8x Board is not connected to the ICD Figure 5 2 SKP32C8x Block Diagram 5 3 M32C 8x Group of MCUs M32C 8x group of 16 bit flash microcontrollers MCU is part of the M16C
10. 3083 High E W Data Block 4kB ICD Flash ROM 384 M32C 85 or 512kB M32C 83 Connectors J1 J3 J4 J6 2 75 pin user supplied headers for user target connection J7 Serial interface connector UART1 for KD3083 ICD Jumpers JP1 MCU Power for Icc Measurements JP2 Xout to main crystal Y2 Switches S1 pushbutton connected to P8_3 S2 pushbutton connected to P8_2 S3 pushbutton connected to P8_1 S4 pushbutton connected to Reset LED s D1 Red User output connected to P8_0 D2 Yellow User output connected to P7_4 D3 Green User output connected to P7_2 LCD 2 line x 8 character LCD with KSO066 controller IC 7 2 Power Supply Requirements The SKP32C8x Board will draw 35mA max With the ICD the current draw will be about 85mA 7 3 Operating Environment Table 7 3 lists the environmental conditions for using and storing the SKP32C8x board When storing the board place it in a conductive bag and then in the packing box your product was shipped in from the factory Table 7 2 Operating Environment Operating 0 55 C 30 to 80 non condensing No corrosive gas allowed Storage 30 to 75 C 30 to 80 non condensing No corrosive gas allowed SKP32C8x User s Manual Rev 1 1 14 22 October 2004 RENESAS Applications Engineering Appendix A Troubleshooting Guide This section discusses possible problems you may encounter while ins
11. 32C83 or SKP32C84 or SKP32C85 folder If the SKP installer program does not start up browse the CD s root folder and double click on skp_installer exe to start installation SKP32C8x User s Manual Rev 1 1 3 22 October 2004 RENESAS Applications Engineering 3 0 Limited Guarantee and Support Renesas Technology America Inc warrants the SKP32C83 SKP32C84 SKP32C85 SKP32C83 CL SKP32C85 CL and SKP32C85 100 CL to be free from component or assembly defect for a period of 180 days from the date of purchase Settlement is limited to repair or replacement of the product only Renesas Technology America Inc 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 apply expressed or implied Software warranty is limited to replacement of the CD only While every attempt has been made to ensure accurate documentation Renesas Technology America Inc cannot be held responsible for error or omissions and reserves the right to make changes without further notice Flash Over USB is a trademark of Renesas Technology America Inc All trademarks are the property of their respective owners SKP32C8x User s Manual Rev 1 1 4 22 October 2004 RENESAS Applications Engineering 4 0 System Connectivity The following lists the hardware and software products required for using the SKP32C8x StarterKit Plus Host Comp
12. Applications Engineering stENESAS Everywhere you imagine Powerful Processors Easy to Use SKP32C8x User s M anual Rev 1 1 October 2004 www renesas com RENESAS Applications Engineering Table of Contents RV ee e EE 2 2 0 Contents of Product Package cr scnccesonuctelesardetiadialemuieneennaneeiele atin arenes 3 3 0 Limited Guarantee and Ee GE 4 4 0 System Connectivity TE 5 4 1 Host Computer Requirements us gusechtegegENe NENNEN NEEN AEN duech 5 BZIP BEC Ok BOA See tea tele aes aur ede T E TTE 6 GE EE Ee 6 4 4 Software Development Tools AAA 6 gA VAEW tee se Reases Geaye nel eege eebe 6 4 4 2 NC3088WA C compiler EE 6 4 4 3 KD30838 Debugger isi 2 eicverdceruedsSetieetacecuplactetvet fees codvadeiwettiaedadeeieratliaecdedeterits 6 4 4 4 FoUSB Flash over USB Programmer 6 BA EE 7 5 SKP3208X BOI EE 7 5 2 SKP32C8x Board Block Diagram cccceeeceeeeeeeeeeeeeneeeeeee eee teeeeeaeeeeeeeeeetennenaaees 8 5 3 M32C 8x Group of Mierocontrollers AAA 8 5 4 SKP32C8x Board Jumper Configuration cccccecceceeeneeeeeeeeeeeeeeeeneeeeeeeeeeeeeennaaees 9 5 5 LCD Liquid Crystal RTE RE 9 6 0 Syst ri Limitations EE 10 6 1 Kernel Introduction seeren a E a E E 10 6 2 Pin and Peripheral L mttatons une 11 6 3 Status Drees EES ee bee ena eee 12 6 4 Register Operation Limitations un 12 6 5 Limitations om INST DIE 12 6 6 Stop Mode or Wait Mode Lumttapnons ANEN 13 6 7 User Program s Real Time Capability
13. FDCH FFFFDFH User available Overflow FFFFEOH FFFFE3H User available BRK Instruction FFFFE4H FFFFE7H User inhibited Address Match FFFFE8H FFFFEBH User inhibited Single step FFFFECH FFFFEFH User inhibited Watchdog Timer FFFFFOH FFFFF3H User available Note 1 DBC FFFFF4H FFFFF7H User inhibited NMI FFFFF8H FFFFFBH User available RESET FFFFFCH FFFFFFH Reset vector Note 2 NOTES 1 The Watchdog Timer vector is shared with the oscillation stop and voltage detection interrupt The vector is available for oscillation stop and voltage detection interrupts but not Watchdog Timer interrupts 2 The kernel transparently relocates the Reset vector to FFFFD8H 6 6 Stop or Wait Mode Limitations The kernel cannot be run in STOP or WAIT modes Do not use these modes when debugging your program SKP32C8x User s Manual Rev 1 1 12 22 October 2004 RENESAS Applications Engineering 6 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 Also 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 in KD3083 This window requires periodic com
14. Issues e Filenames or directory names contain spaces or special characters e HEW project not properly set up startup files missing or out of order files added to wrong member etc Try creating a new project and adding your source files to it For details please see HEW user s manual To re initialize the system without closing KD3083 try the following e Press the OK button in the error dialog box to close it e When an Exit dialog box appears press the Cancel button to close it e Hit reset button on the SKP32C8x board e Press KD3083 reset button After initialization debugging can resume However it is recommended that you download your program again before debugging Note If it has been identified that there are problems with the ICD please see the ICD s RTA FoUSB MON user s manual and troubleshooting section of this manual SKP32C8x User s Manual Rev 1 1 17 22 October 2004 RENESAS Applications Engineering Appendix B Reference Manuals SKP32C8x Quick Start Guide 1 Gets you up and running with the SKP32C8 amp x 2 SKP32C8x User s Manual SKP32C8x Starter Kit User s Manual 3 SKP32C8x Board Schematic Schematic diagram for the SKP32C8x Starter Kit board 4 SKP32C8x Board BOM Bill of materials for the SKP32C8x Starter Kit board 5 M32C 8x Group Hardware Manual Operation and Specifications for the M32C 8x MCU s 6 M
15. O_5 4 P11_3 5 PO 6 5 P07 5 P11_4 6 P1_0 6 P11 6 7 P12 7 P13 7 8 P14 8 P1_5 8 9 P16 9 P17 9 P12 0 10 P2_0 10 P2 1 10 P12 1 11 P2 2 11 P2 3 11 P12 2 12 P24 12 P2 5 12 P12 3 13 P26 13 P2_7 13 P12 4 14 P3_0 14 P3 1 14 P125 15 P3_2 15 P33 15 P12 6 16 P3 4 16 P3 5 16 P127 17 P3 6 17 P37 17 18 P4 0 18 P4 1 18 P130 19 P4 2 19 P43 19 P13_1 20 P4 4 20 P4 5 20 P13 2 21 P4 6 21 P47 21 P133 22 P50 22 P51 22 P13 4 23 P5 2 23 P5 3 23 P135 24 P54 24 P55 24 P13 6 25 P56 25 P57 25 P13 7 J4 Function 100 and 144 J5 Function 100 and 144 J6 Function 144 pin Pin pin versions Pin pin versions Pin versions only 1 Vcc 1 GND 1 P14 0 2 CNVss 2 RESET 2 P141 3 P100 3 P10_1 3 P14 2 4 P10 2 4 P103 4 P143 5 P10 A 5 P105 5 P14 A 6 P106 6 P107 6 P145 7 P90 7 P91 7 P14 6 8 P9 2 8 P93 8 9 P94 9 P95 9 10 P9 6 10 P97 10 P150 11 P8_0 11 P8 1 11 P151 12 P8_2 12 P8 3 12 P15 2 13 P8 4 13 P8 5 13 P153 14 P8_6 14 P8 7 14 P15 A 15 P7_0 15 P71 15 P15 5 16 P7 2 16 P73 16 P15 6 17 P74 17 P75 17 P157 18 P7_6 18 P77 18 19 P6_0 19 P6_1 19 20 P6_2 20 P 3 20 21 P6_4 21 P6 5 21 22 P6_6 22 P67 22 23 Vref 23 BYTE 23 24 Vcc 24 GND 24 25 Vcc 25 GND 25 SKP32C8x User s Manual Rev 1 1 19
16. ce Embedded Workshop HEW provides a Graphical User Interface GUI that integrates the software development tools and includes the C compiler assembler linker and editor 4 4 2 NC308WA Entry Version The NC308WA Entry version C compiler included in the SKP has no time expiration but has the following limits The software comes without warranty The compiler always compile with fansi option The compiler optimization settings is fixed and cannot be changed The finfo option for other software tools such as stack viewer etc is not supported PWN gt If your development needs exceed the above limitations please go to the following web site http www renesas com eng products mpumcu toolhp datsheet m16c80_e nc308wa htm and download the full version 4 calendar month trial 4 4 3 KD3083 Debugger KD3083 is a remote debugger that runs on the host PC While communicating with a kernel i e a ROM monitor program on the target MCU through the ICD KD3083 provides a highly efficient evaluation environment KD3083 features include Source line debug for assembly language structured assembly language C language Run command with up to 8 breakpoints for M32C 8x will depend on the M32C MCU RAM monitor function C variable watch window 4 4 4 FoUSB Flash over USB Programmer The Flash Over USB Programmer application provides In System Programming capability for the starter kit or any target board using an M
17. family and M32C 80 series of MCUs The hardware and software manuals for the M32C 8x group of microcontrollers can be found under C MTOOL SKP32C8x Docs folder of your PC or from the Start menu Start gt Programs gt RENESAS TOOLS gt SKP32C8x gt Document Descriptions after SKP software installation SKP32C8x User s Manual Rev 1 1 8 22 October 2004 RENESAS Applications Engineering 5 4 SKP32C8x Board Jumper Configuration 5 4 1 JP1 MCU U1 Power JP1 is used to connect the Vcc pins of the M32C 8x MCU to the Vcc MCU Power of the board It can be used to measure current power consumption of the MCU during various modes of operation For normal operations JP1 must be shorted JP1 is shorted by default 5 4 2 JP2 Xout JP2 is used to connect the output of the MCU s internal amplifier to the crystal for oscillation It can be used to disconnect Xout when an externally driven clock is connected to Xin For normal operations JP2 must be shorted JP2 is shorted by default 5 4 3 Default Jumper Settings Jumper JP1 JP2 MCU Power Xout Setting Shorted Shorted 5 5 LCD Liquid Crystal Display The LCD is a 2 line by 8 character display with a KSO066 controller IC SKP32C8x User s Manual Rev 1 1 9 22 October 2004 RENESAS Applications Engineering 6 0 System Operation amp Limitations The SKP32C8x provides sophisticated debugging features at a low cost but it does have some
18. he ICD only drives the pins after KD3083 or FoUSB Programmer is started After program debug and verification you can then create and download a binary Intel hex or Motorola mot file to the M32C 8x This operation erases the kernel and only leaves the user program 6 2 Pin and Peripheral Limitations SIO UART1 pins are used for communication between the SKP32C8x board kernel and KD3083 Debugger through the ICD Do not connect these pins to any other circuit as UART1 cannot be used in the user program For details please see ICD RTA FOUSB MON User Manual on Target MCU Resources or related ICD application notes SKP32C8x User s Manual Rev 1 1 10 22 October 2004 RENESAS Applications Engineering 6 3 Memory Map The amount of memory and locations of the kernel program used to communicate with the KD3083 and ICD are shown in Figure 6 2 OXXXX Kernel RAM 0ZZZZh 128 Bytes OXXXXh OFO00h 4kB virtual EEPROM Note User programs must block not use shaded areas 10000h YYYYYYh Program Special Page Area Fixed Vector Area FFFFFFh Figure 6 2 M32C 8x Memory Map with the Kernel Program Note The kernel occupies memory associated with special page vector numbers 18 19 and 184 255 The user reset vector is re mapped to address FFFFD8h by the kernel The following table provides specific memory map information for each kit MCU Kit MCU Address XXXXh Address YYYYYYh_ Address ZZZZh
19. munication 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 or not this behavior is acceptable 6 8 Performing Debug Using Symbols Normally when a new project is started using HEW debugging symbols are enabled If you are unable to debug your program using symbols in KD3083 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 M32C Standard Toolchain from Options pull down menu Click on Link tab Select Output under the Category list box Click on checkbox for g Outputs source debug information Click on OK button For more information see the HEW user s manual SKP32C8x User s Manual Rev 1 1 13 22 October 2004 RENESAS Applications Engineering 7 0 SKP32C8x Board Specifications 7 1 Hardware Specifications Table 7 1 lists the specifications of the SKP32C8x Board Table 7 1 SKP32C8x Board Specifications Item Specification MCU M30835FJGP M30853FHGP or M30855FHGP Clocks Main Clock 8MHz M32C 85 or 2OMHz M32C 83 crystal 832MHz max ceramic resonator ring oscillator or PLL Sub Clock 32 768KHz crystal Memory Internal RAM 24 M32C 85 or 31kB M32C 83 with KD
20. talling the software and drivers and while running the KD3083 or FoUSB Programmer applications This section also discusses the countermeasures and solutions to resolve these problems If for any reason you cannot resolve the problem please contact your Renesas representative for assistance A 1 USB Driver Problems This section discusses the usual problems with the driver installation and how to fix it The most common problem encountered is that Windows did not properly install the driver and so the ICD is not recognized This may also cause the device status to indicate that the device is not working properly An indication of this problem is the ICD status yellow LED it blinks about 2 3 times a second When the driver is installed properly the yellow LED should only blink every second Before trying the following steps try restarting your PC and see if this resolves the problem You can check the status using the Device Manager If the ICD 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 need Administrator privileges to install the drivers For cases where the Device Status states the device is not working properly please try the following e Double click on Renesas USB Monitor and a Renesas USB Monitor Properties dialog box appears e Click on Driver tab and click on Update Driver
21. uter supplied by user SKP32C8x Board RTA FoUSB MON ICD Mini USB Cable Target Cable Software Tools HEW IDE NC308 Compiler Linker KD3083 Debugger FoUSB Programmer Figure 4 1 shows the system connectivity for the SKP32C8x SKP32C8x PC with Windows Board 98 Me 2000 or XP Target Cable Figure 4 1 SKP32C8x System Connectivity 4 1 Host Computer Requirements The minimum requirement to be able to use the software that comes with the SKP32C8x is a PC with a USB port and Microsoft Windows 98 ME 2000 or XP 4 2 SKP32C8x Board The SKP32C8x board provides an evaluation and development environment for the M32C 8x group MCUs See section 5 0 Hardware for more details 4 3 In Circuit Debugger RTA FOoUSB MON The ICD provides a plug and play debugging and programming interface to the SKP32C8x board via the host computer s Universal Serial Bus USB The USB port also provides power to the SKP32C8x board and ICD thereby eliminating the need for an external power supply 4 4 Software Development Tools The SKP installer program installs all the development tools For details on installation see the Quick Start Guide or instructions in the Appendix of this manual A brief description of all the included tools follows Please refer to the individual Tool manuals for detailed information SKP32C8x User s Manual Rev 1 1 5 22 October 2004 RENESAS Applications Engineering 4 4 1 HEW High performan
22. v 1 1 2 22 October 2004 RENESAS Applications Engineering 2 0 Contents of Product Package This section describes the contents of the SKP32C83 SKP32C84 and SKP32C85 product packages When unpacking your SKP32C8x please check to see that all products listed below are included 2 1 SKP32C8x StarterKit Plus Product List Table 2 1 lists the products included in the SKP32C8x Table 2 1 SKP32C8x Product List Quantity __ Remark SKP32C8x Board 1 M32C 8x SKP Board RTA FoUSB MON ICD 1 KD3083 Debugger FoUSB Programmer Interface Device 6 10 Pin Target Cable 1 Connects SKP32C8x Board J5 and the ICD 6 Mini USB Cable 1 Connects ICD to the Host PC SKP CD ROM 1 Auto install program HEW IDE NC308WA C compiler assembler and linker KD3083 Debugger FoUSB Programmer Manuals Tutorials Sample programs 2 1 1 SKP CD ROM The CD ROM contains the electronic manuals and software necessary for developing programs Your computer must have Netscape Navigator or Microsoft s Internet Explorer to view the help files and Acrobat Reader to view the manuals Insert the enclosed CD into your computer and SKP installer will auto start The SKP installer program will create a C HEW3 and C MTOOL folder on your machine All development tools HEW NC308WA KD3083 Debugger and FoUSB Programmer can be found under C MTOOL Documentation sample code and other SKP related files are in the C MTOOL SKP
23. xist When a message KD3083 already exists is displayed the usual cause of this problem is that the KD3083 application was not properly closed Please check if KD3083 is already running by looking at your task bar If KD3083 cannot be found there bring up Task Manager press CTRL ALT DEL once and click on Task Manager button Select KD3083 exe on the Processes list and click on End Process to terminate KD3083 A 2 4 Issues that may come up During Debug Operations While using KD3083 to debug user code some issues may come up because the limitations discussed in section 6 were not satisfied These common issues are listed on table A 2 including the countermeasures Table A 2 Problems while using KD3083 Problem Possible Cause s and Solution After stepping a few e Changes made to UART1 SFR s instructions KD3083 hangs Breakpoints do not seem to e KD3083 is in FreeRun mode Change the RUN mode to work Sampling from the Init window Environment gt Init KD3083 locks up cannot e Changes made to UART1 SFR s stop program or e Ensure no limitations in Section 7 were violated Communication error e Re initialize the system without closing KD3083 See note message is displayed below e Do ahardware reset User program runaway may be corrupting kernel RAM or interrupt vectors flags etc Close KD3083 hit S1 on the SKP32C8x to reset the board and then restart KD3083 Download

Download Pdf Manuals

image

Related Search

Related Contents

HP Remote Graphics Software 5.3.0 User Guide  InLine 76111W networking cable  PDF Gebrauchsanweisung Inhalationsgerät Nebufirst 2 MB  Tecnologia della saldatura e taglio. Edilizia e industria.    

Copyright © All rights reserved.
Failed to retrieve file