Home

QuickStart Guide SKP16C26 StarterKit Plus

image

Contents

1. QuickStart Guide SKP16C26 tENESAS StarterKit Plus Everywhere you imagine 8 Characters x 2 Lines LCD LCD Contrast Analog if aT A djust R1 6 T a Thermistor mt s sE M16C 26 MCU M30262F8GP User LEDs Fet TPLFIEE x EELEE User Beas Switches a a N a a TARGET usa RENESAS sn Powar Modo I USB PC RTA FoUS B MON Flash Programmer amp in Circyit Debugger RTA FoUSB MON Target Bus ICD LED Status In Circuit Debugger Power Mode Red Target Stopped ICD Selector Green Target Running Status ICD Status Red ICD Power Figure 1 SKP16C26 SKP16C26 StarterKit Plus QuickStart Guide Page 1 of 5 Downloaded from Elcodis com electronic components distributor 1 SKP16C26 StarterKit Plus Software Install a Please insert the enclosed CD into your computer s CD ROM drive The CD should auto start displaying the SKP Picker Install Screen Follow the directions in the installation windows to install the Renesas tools i If the installation screen does not appear please browse the CD root folder and double click on SKP Installer exe Do not plug the In Circuit Debugger into your USB port until instructed to in Section 2 USB Driver Installation The installation process requires a valid SKP serial number Locate the label on the PC board or on the side of your box During the installation process you may be prompted to restart your computer Do
2. a few seconds RT1 xxxx ANO xxxx will be displayed on the LCD The LED s will blink sequentially back and forth The LED flash rate is controlled by the Analog Adjust R16 potentiometer which is connected to the ADC s ANO input The 10 bit ADC value is also shown on the LCD as ANO d Turn the Analog Adjust clockwise or counter clockwise This alters the flash rate of the LEDs and increases or decreases the ANO value shown on the LCD e Press the pushbutton switches S1 S2 or S3 This will stop the sequential blinking and the LEDs The LED associated with the pushbutton switch i e 1 Red LED 2 Yellow LED and 3 Green LED will light up when the switch is held down 4 HEW IDE Quick Start HEW integrates various tools such as the compiler assembler debugger and editor into a common Graphical User Interface To learn more on how to use HEW open the HEW manual navigator on your computer Start gt All Programs gt Renesas High performance Embedded Workshop gt Manual Navigator a Launch HEW from the Start menu Start gt All Programs gt Renesas High performance Embedded Workshop gt High performance Embedded Workshop New Project Workspace b In the Welcome dialog box Projects i Verify Create a new project workspace is selected Ki i Click lt OK gt Z Application Workspace Name ry Empty Application skptest26 c In the New Project Worksp
3. not restart until the SKP installer has completed installation of all of the software items During the SKP install dialog boxes will appear asking if you would like to install the development tools or not The development tools will allow you to evaluate the different features of the M16C 26 MCU and the software development environment debugger compiler linker etc 2 USB Driver Installation When you connect the RTA FoUSB MON In Circuit Debugger ICD to your computer for the first time Windows will recognize this new device and will request the drivers Follow the steps below to install the drivers Administrator privileges are required to install the driver on a Windows 2000 XP machine a Plug one end of the USB cable into the RTA FoUSB MON and the other into a USB socket on your PC the supplied USB cable is keyed for the mini USB connector on the FoUSB MON The Found New Hardware Wizard window will appear b If using Windows XP skip to step 2 c otherwise click lt Next gt c Verify the Recommended option is selected and click lt Next gt d Select Specify a location and leave all other options un checked click lt Next gt e Browse to the C MTOOL FOUSB USB Drivers folder f Select the file fousb inf and click lt Open gt g Click lt Ok gt to install the USB Driver For Windows XP a dialog box is displayed warning that the driver has not been tested for Windows XP compatibil
4. ERASE h Click lt Program gt to open the Program Flash window i Click lt Program gt to download the demo program j When the FoUSB dialog box Program completed Successfully appears click lt OK gt Figure 7 k Click lt Exit gt to close Flash over USB Programmer and the demo program should start For more information on how to use the Flash over USB Programmer click on the Help button 7 What s the next step FLASH OVER USB Monitor Firmware Ver 7 05 MAL Loaded M 30262F8 Serial Boot Code VER 0 10 L 4ibytes 2 4 00000000 000000 Figure 7 Flash over USB Programmer Main Menu after loading the Demo Code After you have completed this quick start procedure please review the tutorials that came with the kit The tutorials will help you understand and jumpstart the software development process using Renesas development tools You can access the tutorials from the Start Menu Start gt All Programs gt RENESAS TOOLS gt SKP16C26 gt Tutorial 1 Development Process or Tutorial 2 Creating a New Project or from Start gt All Programs gt RENESAS TOOLS gt SKP16C26 gt Document Description which also lists other documents that come with the SKP To check for any updates to the StarterKit Plus use the Start gt All Programs gt RENESAS TOOLS gt SKP16C26 gt Check for Kit Updates shortcut This will take you to a kit specific page on the Renesas website which provides l
5. LK DEFAULTS TO F8 lt DIU Figure 6 KD30 Program Window after download of skptest26 6 Downloading re loading the Demo Program using the Flash over USB Programmer When we ran KD30 the original demo program was erased and the SKP16C26 board was programmed with a different program You can use the Flash over USB Programmer to restore the original demo program a Connect the SKP16C26 to the PC Described in detail in steps 3a and 3b above b Start the Flash over USB Programmer Start gt All Programs gt RENESAS TOOLS gt Flash over USB Ver x xx gt FoUSB Programmer or double click on the FoUSB icon on your desktop c The first time the FoUSB Programmer is opened on your computer i Under Select MCU Family click on M16C 20 Series li Under Select MCU Part Number click on M30262F8 iii Click lt Ok gt iv Click lt OK gt as requested until you are returned to the Flash over USB main menu d Every other time the FoUSB Programmer is opened If the Unlocked window appears click lt OK gt e Click lt Open gt when the Flash over USB main menu appears SKP16C26 StarterKit Plus QuickStart Guide Page 4 of 5 Downloaded from Elcodis com electronic components distributor f Browse to the C MTOOL SKP16C26 Sample_Code SKP SKPDemo Release folder g Select SKPDemo mot and click lt Open gt READ i When the ID Code dialog box appears click lt OK gt
6. ace Dialog box alae Project Neme i Verify the CPU family is set to M16C PSIMIEC 26 Starter KitPhus all i Select M16C 26 StarterKit Plus Figure 3 roa lil Enter skptest26 for the Workspace Name CPU family the Project Name will auto fill to skptest26 wer iv Click lt OK gt d On the M16C 26 StarterKit Plus Step 1 Window i Click lt Next gt e On the M16C 26 StarterKit Plus Step 2 Window z ROMDATA 0000000 00000H Byte s CODE OOO08Ss OOS7TTH Bytes i Select Test Phase Ml6C Linker finished ii Click lt Finish gt f In the Project generator information Window i Click lt 0k gt g Click the Build icon j to compile assemble and link rigure ahd i a a compiled the project HEW will look similar to Figure 4 Phase Ml6C Stype Converter starting Phase M16C Stype Converter finished Build Finished O Errors O Warnings h After ensuring there are no errors proceed to section 5 KD30 Debugger Quick Start SKP16C26 StarterKit Plus QuickStart Guide Page 3 of 5 Downloaded from Elcodis com electronic components distributor 5 KD30 Debugger Quick Start a Connect the SKP16C26 to the PC as shown in Figure 2 described in detail in steps 3a and 3b above b Click on the debugger button t to launch the KD30 debugger from HEW The Init dialog box should open Figure 5 c The first time you run KD30 you will have t
7. e and reliable but in no event shall Renesas Technology America Inc be liable for any damages whatsoever arising out of the use or inability to use the information or any errors that may appear in this publication The information is provided as is without any warranties of any kind either express or implied Renesas Technology America Inc reserves the right without notice to make changes to the information or to the design and specifications of its hardware and or software products Products subject to availability Printed in U S A SKP16C26 StarterKit Plus QuickStart Guide Downloaded from Elcodis com electronic components distributor Renesas Technology America Inc 450 Holger Way San Jose CA 95134 1368 Phone 408 382 7500 Fax 408 382 7501 www renesas com CtENESAS Page 5 of 5
8. inks to any available update downloads 8 HEW3 C Compiler The High performance Embedded Workshop User Manual will show you how HEW3 integrates various tools such as the compiler assembler debugger and editor into a common Graphical User Interface To access the manual on your computer go to the HEW menu Start gt All Programs gt Renesas High performance Embedded Workshop gt Manual Navigator The NC30WA Entry version of the C compiler is included in the SKP and has no time expiration but has the following limits 1 Assembly optimization and debug options are not available 2 The tool to analyze the inspector or variable is not available 3 Some advanced tool functions such as the map viewer are not available 4 The software comes without support or warranty 5 See NC30WA v 5 20 User s Manual for further details lf your development needs exceed the above limitations please go to the following web site http www renesas com eng products mpumcu toolhp datsheet m16c_e nc30wa htm and download the full version 4 calendar month trial If you require additional information or assistance please send an email to techsupport rta renesas com 2004 Renesas Technology America Inc Renesas Technology America Inc is a wholly owned subsidiary of Renesas Technology Corporation All trademarks are the property of their respective owners The information supplied by Renesas Technology America Inc is believed to be accurat
9. ity Please disregard this warning and continue driver installation You can verify that the driver is installed properly by looking at how fast the Status yellow LED is blinking on the RTA FoUSB MON If the driver is loaded correctly the Status LED will be blinking once every second If not the Status LED will blink 2 3 times a second if you continue having driver installation problems see SKP16C26 User s Manual Appendix A Troubleshooting 4 SKP16C26 PC with Windows 98SE 2000 Me or XP ICD Target ee Fie Cable i E RTA FoUSB MON Flash Programmer amp In Circuit Debugger Figure 2 SKP16C26 System Connectivity SKP16C26 StarterKit Plus QuickStart Guide Page 2 of 5 Downloaded from Elcodis com electronic components distributor 3 Demo Program The kit ships with a demo program that runs on the board when connected to the ICD RTA FoUSB MON a If not already done in step 2a plug one end of the USB cable into the RIA FoUSB MON and the other into a USB socket on your PC b Connect the RTA FoUSB MON to the SKP16C26 Board using the supplied ribbon cable The power light of the board should come on If the power light on the SKP16C26 board does not come on check the Power Mode switch on the RTA FOUSB MON and verify that it is set to the USB position c Press the reset switch to run the demo program The LCD on the board will display a welcome message adjust LCD contrast as needed After
10. o define the target i Click lt Refer gt li Highlight M30262F8 mcu and click lt Open gt iii Select USB and click lt OK gt f you get an error check connectivity f the message We should download new firmware is displayed click lt OK gt d After initialization the KD30 Program Window will appear and our program skptest26 X30 is automatically downloaded The KD30 Program Window should look like Figure 6 e Click the Go icon A to start the program This program is similar to the Demo program but the LEDs do not blink The LED s are off unless any of the user switches are pressed f Click the Stop icon La to halt the program If you now click the Go icon the program will resume execution from the point it stopped g Exit KD30 by selecting File gt Exit from the pull down menu in KD30 h Exit HEW by selecting File gt Exit from the pull down menu in HEW MCU Compiler Run Mode Resume MCU Refer Pork Baud Fate 38400 7 Monitor Debug Start up for monitor debug Cancel Help Mest Hide Figure 5 KD30 Init Window Line BRK PASS Source 00033 00034 66635 66636 00037 66638 ldc H data_SE_top sh set sb re 66639 ldinth VECTOR_ADR 66646 46642 3 seeHHHHHHHHHHHEeEEE NOTE CHANGING BCLK SPEEI 00043 SETTING CLOCK SPEED TO Fi lt DIV BY 1 gt 0 N 00034 BECAUSE AFTER RESET BC

Download Pdf Manuals

image

Related Search

Related Contents

ELPDC Cat Sht c13367  Tel Line Tester User Manual  NI Combustion Analysis System Software for LabVIEW User Manual  51. Comprar máquinas seguras.  König & Meyer 19772  Guide  SL2-PL - AVSL Group  RCA RCR804BR User's Manual  Elica Space Eds Digital R BL/A/78  Anticipation et accompagnement des restructurations  

Copyright © All rights reserved.
Failed to retrieve file