Home
Renesas SKP8CMINI datasheet: pdf
Contents
1. Open gt Be FLASH OveR USB i When the ID Code dialog box appears click lt OK gt i e i gt PEN y MCU h Click lt Program gt to open the Program Flash window READ i Click lt Program gt to download the demo program ERASE l M j When the FoUSB dialog box Program completed C UNLOCK FILE Successfully appears click lt 0K gt Figure 6 PROGRAM stal Size 829 bytes 5 1 For more information on how to use the Flash over USB Programmer click on the Help button oa ahmad mm e o a Figure 6 Flash over USB Programmer Main Menu after loading the Demo Code SKP8CMINI StarterKit Plus QuickStart Guide Page 4 of 5 7 What s the next step THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 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 SKP8CMINI gt Tutorial 1 Development Process or Tutorial 2 Creating a New Project or from Start gt All Programs gt RENESAS TOOLS gt SKP8CMINI 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 SKP8CMINI gt Check for Kit Updates shortcut This will take
2. selecting File gt Exit from the naois 5 N_BZERO bes SE top bss SE pull down menu resent Exit HEW by selecting File gt Exit from the Figure 5 KD30 Program Window after download of pull down menu in HEW skptestR8C 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 R8C was programmed with a different program You can use the Flash over USB Programmer to restore the original demo program a Connect the R8CMini SKP 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 R8C Tiny Series ii Under Select MCU Part Number click on R5F21114 iii Click lt Ok gt iv Click lt OK gt as requested until you are returned to the Flash over USB main menu d e f Every other time If the Unlocked window appears click lt OK gt Click lt Open gt when the Flash Over USB main menu appears Browse to the C MTOOL SKP8CMINI Sample_Code Demo Demo1 Release folder q k Click lt Exit gt to close Flash over USB Programmer and the demo program should start g Select Demo1 mot and click lt
3. you to a kit specific page on the Renesas website which provides links 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 R8C version C compiler included in the SKP has no time expiration but has the following limits 1 The compiler cannot generate load modules that exceed 64 Kbytes 2 The software comes without support or warranty 3 See M3T NC30WA v 5 20 Release 1 Release Note R8C Tiny only version for further details 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 accurate 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
4. 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 compatibility 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 SKP8CMINI User s Manual Appendix A Troubleshooting 3 Demo Program The kit ships with a demo program that runs on the board when connected to the ICD RTA FoUSB MON As there is no connector polarity on the Mini R8C board please verify the position of the Mini R8C and RTA FoUSB MON as shown in Figure 1 a If not already done in step 2 plug one end of the USB cable into the RIA FoUSB MON and the other into a USB socket on your PC b Plug the mini R8C board into the TARGET connector of the RTA FoUSB MON as shown in Figure 1 The demo should run c The demo has two modes of operation light and temperature Switch S1 is used to determine which demo is running i Light If S1 s actuator is towards pushbutton 2 the light demo is running The LED s sequential blink speed varies depending on the light level detected using the CdS Cell the brighter it is the faster the blink speed
5. THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS i SKP8CMINI QuickStart Guide SKP8CMINI tENESAS Everywhere you imagine Target Bus Thermistor Power Mode R8C 11 Selector R5F21114FP CdS Cell JP2 e Bie e 6 6 ETE OL a t NS oe eee amp ein l p rarcet uss RENESAS Eyal i e Side Power Mode og 14 Nt a I ro Switch S1 ie S aN Lb Shabu J Ret K Pushbutton iE rti Switch S2 T RTA FoUSB MON Renesag 02 jm Se Flash Programmer amp In Circult Debugger VPL 19 CONS 4 Fe FE Ten ELENE EN IP t ee RTA FoUSB MON ICD LED Status MCU Clock Stop 3 User In Circuit Debugger ICD Red Target Stopped Power Detect LEDs Green Target Running Status ICD Status Red ICD Power Figure 1 SKP8CMINI 1 Mini R8C StarterKit Plus Software Install a Please insert the enclosed CD into your computer s CD ROM drive The CD should auto start displaying the SKP8CMini 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 pro
6. becomes and vice versa Pressing S2 changes the blinking sequence of the LEDs li Temperature If S1 s actuator is away from S2 the temperature demo is running Temperature is sampled and the LEDs are lit based on rising or falling temperature When the temperature of the Thermistor stays constant the yellow LED is lit When the temperature increases the Red LED is lit and when the temperature decreases the Green LED is lit SKP8CMINI StarterKit Plus QuickStart Guide Page 2 of 5 4 HEW IDE Quick Start THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 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 b In the Welcome dialog box i Verify Create a new project workspace is selected li Click lt OK gt c In the New Project Workspace Dialog box i Verify the CPU family is set to M160 li Select R amp C StarterKit Plus Figure 2 iii Enter skptestR8C for the Workspace Name the Project Name will auto fill to skptestR8C iv Click lt OK gt d On the R8C StarterKit Plus St
7. cess you may be prompted to restart your computer Do 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 R8C 11 MCU and the software development environment debugger compiler linker etc SKP8CMINI StarterKit Plus QuickStart Guide Page 1 of 5 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 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
8. e Converter starting Phase M1i6C Stype Converter finished Build Finished 0 Errors 10 Warnings B A a Sa Cf Ca Figure 3 HEW with the skptestR8C project compiled faomea Fiam MCU Compiler Run Mode Resume MCU ROF21114FP meu Start up for moniter debug Figure 4 KD30 Init Window Page 3 of 5 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS CHER Tle DOWN at EAE MOGUIEN 2 KD30 C Hew3 skptestR8C skptestR8C Debug skptestR8C x30 g Surf to our output directory File Edit View Environment Debug Option BasicWindows OptionalWindows C Hew3 skptestR8C skptestR8C debug j P 2 ajajaj 212 h Select the file skptestR8C X30 and Go Step Over Return i eak Reset _5 click lt Open gt After the module is downloaded E Program Window nert0_r8c_demo a30 the Program Window should look like Figure 5 Bve Ey Mix Line BRE PASS Source i Click the lt Go gt icon to start the program This program is similar to the Demo program TITER Eee en eget cee seceded EEE but the LEDs blink in a different sequence angaa and a lot slower gaa35 lde tdata_SE_top Sa Oo BOG36 ldinth VECTOR_ADR j Click the Stop icon isl to halt the program ponar mE aaa If you now click the lt Go gt icon the program will AAn39 NEAN area initialize resume execution from the point it stopped BaH e E a a oe tnt ments nko wee et ain ELER n Be eero 2s oe k Exit KD30 by
9. ep 1 Window i Click lt Next gt e On the R8C StarterKit Plus Step 2 Window i Select Demo2 li Click lt Finish gt f In the Project generator information Window i Click lt Ok gt the project HEW will look similar to Figure 3 h After ensuring there are no errors proceed to section 5 KD30 Debugger Quick Start 5 KD30 Debugger Quick Start a Connect the R8CMini SKP to the PC described in detail in steps 3a and 3b above b Click on the debugger icon to launch the KD30 debugger from HEW The Init dialog box should open Figure 4 c Click lt Refer gt d Highlight R5F21114 mcu and click lt Open gt e 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 After initialization the KD30 Program Window will appear SKP8CMINI StarterKit Plus QuickStart Guide New Project Workspace Projects T Application Workspace Name TY Empty Application skptestH 8C t Import Maketile Baen tame Library iskptesth aC REC Starter Kit Plus Directory CMH ews yskptestRec CPU family MIEC Figure 2 New Project Workspace in HEW z Phase Ml6C Assembler finished Phase Ml6C Linker starting DATA 0000523 0020BH Byte s ROMDATR oOo00000 00000H Byte s CODE OOOOBET OOS7TTH Byte 3 Phase M16C Linker finished Phase Ml C Styp
10. 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 SKP8CMINI StarterKit Plus QuickStart Guide Renesas Technology America Inc 450 Holger Way San Jose CA 95134 1368 Phone 408 382 7500 Fax 408 382 7501 www renesas com CENESAS Page 5 of 5
Download Pdf Manuals
Related Search
Related Contents
Technoline WS 6810 - Sacramento IMPORTANT INSTRUCTIONS - OPERATING MANUAL MANUAL DE INSTRUCCIONES ECX ECX03016 Téléchargez le mémoire en PDF - Cefedem Rhône PDF Copyright © All rights reserved.
Failed to retrieve file