Home

RENESAS RU-Stick debugger user manual

image

Contents

1. R8C 1B ROM UARTI9 i O Free Run R8C 1B PC ee li tal ea gn ee gs eine UART1 Free Run 2 5 R8C 1B RCC11J00130100MA Rev 1 00 2008 01 Page 18 of 32 ztENESAS RU Stick Run Run Run
2. LED b Go with break CPU 2 24 2 24 THOALI Reset go 2 24
3. Debug 1 17 Only step in when debug information is avai Use Disassembly source mode as primary debug view 1 17 1 18 Debug Debug Settings I GD KRU_Stack High performance Embedded Workshop KU_Stack cl a x D File Edit View Project Burd stup Tools Test andor Help 2 3 Debug Sessions KA SBSH dey gt DetautSession A RU _Stiek Se Astesbly tource fi 1B wer tO es YC source file F wi Stick e GB Dependencies sect30 ine B s ria progran file the demostrtion of RD Stick R3C 1B B srs puah D ver_aeth Clonr I Flag Diable interrupt AI Systen Clock Initiallize WU Port Instaallaze WU Timer Initinllize 1 UART Unit Initialize Set 1 Flag Enable interrupt LA Enable TiaexX Enable Timexi Enable TiserC Store amataallaze value for UART transmit register Enable Transmit Close Red LED Close Blue LED J j lt 1 F h buid Debug FrdnFies J Macro Test Version Control J Edit debug settings FE ES Ey Di desktop Bead write W344 1 is Be USILI 1 18 Debug Settings RCC11J00130100MA Rev 1 00 2008 01 Page 10 of 32 ztENESAS RU Stick
4. pe ne CPU RCC11J00130100MA Rev 1 00 2008 01 Page 31 of 32 ztENESAS RU Stick 3 RU Stick HEW RU Stick RCC11J00130100MA Rev 1 00 2008 01 Page 32 of 32 ztENESAS 16 RU Stick Publication Date Rev 1 00 Jan 16 2008 Published by Renesas System Solutions Beijing Co Ltd 2008 Renesas Technology Corp All rights reserved Printed in Japan RU Stick lt ENESAS Renesas Technology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
5. 1 3 No I will restart my computer later OK HEW Restarting Windows Setup has finished copying files to your computer Before you can use the program you must restart your computer Select one of the following options and click OK to finish setup C Yes want to restart my computer now No will restart my computer later 1 3 M3T NC30WA RCC11J00130100MA Rev 1 00 2008 01 Page 2 of 32 ENESAS RU Stick 1 1 2 HEW RU Stick FoUSB UART debugger T HEW HEW RU Stick CD a CD M16cFousbDebuggerV102R00 exe b c 1 4 English Next
6. C C Compiler M3T NC30WA HEW HEW 1 1 HEW 1 1 1 M3T NC30WA HEW C M3T NC30WA M3T NC30WA C C CD M3T NC30WA Ver 5 40 M3T NC30WA O z 60 60 64K a CD cnc30Wwav540r00a ev exe b c 1 1 C Compil
7. Ge Intel R B2801FB FBM USB Universal Host Controller 2658 gt Intel R 82801FB FBM USB Universal Host Controller 2659 Intel R 82601FB FBM USB Universal Host Controller 265A GS Intel R 82801FB FEM USB Universal Host Controller 2655 S gt Intel R 82801FB FBM USB2 Enhanced Host Controller 265C USB Root Hub Ce USB Root Hub 2 14 RU Stick RU Stick COE14 an Drees B v 8 1 RAH ac Ee 8 RCC11J00130100MA Rev 1 00 2 15 2008 01 lt ENESAS Page 24 of 32 RU Stick c 2 16 COM P 10 2 16 COM2 FIFO come 50 VART W co COM22 SAATH M R Con23 J maa ww fe D comz J mas as OM wS E contd 2 16 COM RU Stick RU Stick RU Stic
8. Choose Setup Language Select the language for the installation from the choices below 3H Tlp 1 4 HERRY d 1 1 3 AutoUpdate M3T NC30WA HEW 1 5 OK Configure AutoUpdate Scheduling Once a week Se Download location Renesas Tools Website Zonfigure Proxy Local or network drive 1 5 RCC11J00130100MA Rev 1 00 2008 01 Page 3 of 32 ztENESAS RU Stick a Next A Renesas AutoUpdate Wizard Welcome to the AutoUpdate Wizard The wizard quides you through the update process to ensure you have the latest software updates For your Renesas tools Note This utility uses your internet connection to receive data No data is transmitted to Renesas stENESAS Everywhere you imagine To continue click Next gt To edit the automatic update settings click Configure Zonfigure
9. Options 1 19 Debug Settings DefaultSession at Tarkki Options gt a RU_Stick Command batch file load At target connection v Command line batch R Donat vV Download modules after build r Remove breakpoints on download Disable memory access until after target connection command fi Limit disassembly memory acces 1 19 Options 1 4 R8C 1B 16K a HEW gt gt Renesas gt High performance Embedded Workspace gt High performance Embedded Workspace b HEW 1 20 Creat a new project woekspace OK Felcome geag Cancel ministration 2 f C Browse to another project work 1 20 ill FRE RCC11J00130100MA Rev 1 00 2008 01 Page 11 of 32 ztENESAS RU Stick c 1 21 Pras M16C We Project Application
10. RCC11J00130100MA Rev 1 00 2008 01 Page 26 of 32 aeENESAS RU Stick g 2 18 FoUSB UART lt File Edit View Project Build Debug Setup Tools Test Window Help x D bg G Gig s_Command 2 amp h x 5 ick aT DECOR OOO COCO OOOO OO ROSCOE AOE OOO SO OER OO OSE OG AOE AIK amp Assembly source fi 2 y ini ns P RU_Stick c _ E acerto a30 4 DATE Thu Sep 14 2006 QC source file 5 DESCRIPTION main program file 2 RU Stick c 6 CPU GROUP 1B i Ei ects 8 This file is for the demostrtion of RU Stick R amp C 1B sect30 inc 9 fj 2 sfr_r8ib h 10 ferrrrtttttiriririttttrr itt tttiriri itt ttrtrr rr trt iri rir t ttt eterrr rere 2 sys_parah 11 include sfr_r81b h F 12 include sys_para h B va uih 13 include var_def h 14 15 oid main void 16 17 asm FCLR I Clear I Flag Diable interrupt 18 elk_init Hf System Clock Initiallize 19 port_init MCU Port Initiallize 20 timer_init MCU Timer Initiallize 21 uart_init UART Unit Initiallize 22 asm FSET I Set I Flag Enable interrupt 23 24 txs 1 Enable TimerX 25 tzs 1 Enable TimerZ 26 tcc00 1 Enable TimerC 27 28 utb 0x00 i Store initiallize value for UART transmit register 29 te_u0cl 1 Enable Tra
11. f Next Hew Project 3 6 Setting the Contents of Files AR What kind of initialization routine Generate main Ic source file Yee thas n gt patie ee 1 24 g Next Hew Project 4 6 Setting the Stack Area What are the stack settings User Stack Pointer Stack Size Interrupt Stack Pointer Stack Size joaox 1 25 RCC11J00130100MA Rev 1 00 2008 01 Page 14 of 32 ztENESAS RU Stick h M16C R8C FoUSB UART M16C R8C Simulator M16C R8C FoUSB UART FoUSB M16C R8C Simulator Next Hew Project 5 6 Setting the Target System for PIR YIW16C REC FoUSBAUART ABC RSC Simulator Da Lome Ro 9 External Debugger Target RAC Tiny v lt Back r gt ERER email 1 26 o i Finish
12. RCC11J00130100MA Rev 1 00 2008 01 Page 15 of 32 ztENESAS RU Stick 2 2 1 RU Stick RU Stick Renesas USB Stick C 4 R8C 1B RU Stick RU Stick WS USB UART 16K R8C 1B RU Stick USB On Chip R8C 1B 2 1 1 RU Stick 2 1 RU Stick RU Stick USB CD 2
13. RCC11J00130100MA Rev 1 00 2008 01 Page 30 of 32 ztENESAS RU Stick R8C 1B 4 BRK BRK HEW 255 FLASH R8C 1B gt File Edit View Project Build Debug Setup Tools Test Window Help D ehg S SEEN JA BS ES BS Debug gt SessionM16C_R8C_FoUS v At w JOG ie Oe 2 TTOTTE re e BF AHA Be atx GQ RU_Stick GW RU_Stick Assembly source fi ner tO a30 BROCE IEE IIE TAT TO IR TTT TT IT TT TT TIT TTT TT ITT TTT TIT TTT TIT TTT include sfr_ r81b h include sys_para h include var_def h C s
14. Run C C hEW ER EFRR R8C 1B ka 2 6 AM 2 5 R8C 1B 2 6 2 1 3 RU Stick R8C 1B RU Stick RU Stick R8C 1B RU Stick R8C 1B R 2 1 RU Stick R8C 1B 2 7 Ht CUART 2 1 RU Stick RU Stick R8C 1B 1 MODE MODE 8 2 RXD1 1 9 3 SV Vcc 5V 4 TXD1 1 2 5 Vss
15. RU Stick RU Stick Windows PRM FAMIEE Windows XP GRATAR ilies icrosoft Yindows CC H PEREG 2 12 IHI RCC11J00130100MA Rev 1 00 2008 01 Page 22 of 32 ztENESAS RU Stick 2 13 e i ne RU Stick Kee 2 13 2 2 1 2 COM RU Stick Renesas RU Stick RU Stick USB COM O 2 2 1 1 USB RU Stick 2 2 2
16. Find in fies a gt El i x tt t 1 10 HEW 1 3 1 a gt gt Renesas gt High performance Embedded Workspace gt High performance Embedded Workspace HEW 1 15 Cancel RCC11J00130100MA Rev 1 00 2008 01 Page 6 of 32 ztENESAS RU Stick b 1 11 HEW Tool Administration YHigh perfpraance Fabedded Workshop Change Toolchain Version File Edit View Project Build Debug Setup D oe ee 6 e e n gt Version Control At Launch External Debugger YF Launch Slave HEH Macros Record Macro D Play Macro D Stop Macro Findin Files A Macro A Test A Version Control Hi eh per formance 1 11 Administration c 1 12 Toolchains Renesas M16C Stardard Toolchain 5 40 00 Tools Administration Registered cs ear Toolchains amp Renesas MI6C Standard Toolchain 5 40 00 Regi System Tools _ Beeister 2B Utility P
17. 1 6 b Next Renesas Aut oUpdate Wizard Select Applications Please select the registered Renesas tools that you want to check for updates Registered tools 1 01 00 C Program Files Renesas Hew Tools Renesas DebugComp Platfc Debugger I autoUpde e 100 02 C Program Files Renesas Hew AutoUpdate 7 Hew 4 00 03 001 C Program Files Renesas Hew lt stENESAS Everywhere you imagine To continue click Next gt 1 7 RCC11J00130100MA Rev 1 00 2008 01 Page 4 of 32 ztENESAS RU Stick c 1 8 gt Next Al iss is Renesas AutoUpdate Wizard Welcome to the AutoUpdate Wizard Please select the updates that you require Detected updates a High performance Embedded Workshop 4 02 00 Update Destination C Program Files Renesas Hew Download size 53 843 KB The High performance Embedded Workshop has been revised From 4 01 01 to 4 02 00 Read more v AutoUpdate Utility 1 02 00 Update Destination C Pr
18. RCC11J00130100MA Rev 1 00 2008 01 Page 8 of 32 ztENESAS RU Stick a 1 15 Setup Option 3 High performance Embedded Workshop Edit View Project Build Dev bls Test Window Help jos ao 6 xe ale Customize pes a llewea 3 alia i f JE ix Format Views Radix 3 of or at at 2 2 7 1 E lt gt Build Debug FindinFiles Macro Test _ Version Control Change HEY options Es oR 1 15 Option b 1 16 Workspace Build Editor Debug Dongirmation Network J Open last workspace at star Restore files on opening works Display workspace information dialog on opening wor T Save workspace before executing any t Prompt before saving workspac Prompt before saying sess I Save Auto Recovery info 10 H minute Default directory for n Eee gt RR 1 16 RCC11J00130100MA Rev 1 00 2008 01 Page 9 of 32 ztENESAS RU Stick
19. RU Stick 2 2 LED 19 CMP1_0 P3_3 TCIN INT3 SSI00 C 14 TZOUT P1_3 KI3 AN11 Z 13 TXDO P1_4 0 2 3 2 RU Stick RU Stick a RU Stick b RU Stick USB c 2 2 RU Stick d CD e HEW OK 2 17 Felcone Options Create a new project works Cancel Open a recent project worksp ministration 2 17 f HEW
20. 5 XIN 6 Xour 4 RESET CEFL 3 4 7 5 1V 300mA RCC11J00130100MA Rev 1 00 2008 01 ztENESAS Page 19 of 32 RU Stick R8C 1B USB O 2 7 RU Stick 2 2 RU Stick RU Stick 2 2 1 RU Stick RU Stick RU Stick CD RU Stick USB Renesas RU Stick RU Stick USB COM O 2 2 1 1USB RU Stick USB 2 8 Renesas RU Stick D x Renesas RU Stick um 15 45 2 8 RU Stic
21. RU Stick gt gt gt RU Stick HEW a USB COM LPT RU Stick b COM 2 15 a COM10 9 RU Stick COMx 2 14 A 2 Page 23 of 32 RCC11J00130100MA Rev 1 00 2008 01 ztENESAS RU Stick aa f REES Bony BaF EA MER fog Sete cela a bs RE Windows Update TERN T paor Windows Update ware ms E Windows Update W Sa Ea Rte ee N SEAN er Am HETH E EE REO SEV Fea na Rl Sti ck COM COMO ewan COM 4 Se APRA GRE 29 D 1
22. M16C 10 Series miec 24 Group BNec 26 Group I RBC Tiny Series Mec 26A Group BNCc 28 Group 160 29 Group QM16C 62A Group BMec 62P Group TA w TERM T MCU Files mcu fx meu 38400 Monitor Debug ow Baud Rate Start up for monitor Do not show this dialog box again Select ECU File PR DB BBC Tiny Series 8 my El Init E16C R8C FoUSB UART WCU Debugging Information Run Mode Script cucu B5F21144 WCV R5F21174 NCY Ba RSF21144VART MCU E RSP21174VART NCU ncu Rei RSFTIUT TH E RSF21154 MCU E RSF21184VART NCU R5F21114 MCY E RSF21154UART MCU E R5F21194UART MCU E R5F21164 MCU E RSF21 164UART MCU E R5F21124 NCU E R5F21134 NCU Di Serial C i Port conz z Baud Rate 38400 v SERS R5F211B4UART Monitor Debug WEH M MCU Files k mcu ka J Start up for monitor FER Do not show this dialog box again 2 20 2 21 k Init H16C R8C FoUSB UART MCU Debugging Information Run Mode Script SHEU RSF2Z11B4VART MC 3 c Port lt gt O Baud Rate lt 38400 Monitor Debug J Start up for monitor C _ D mi 885 Do not show this dia
23. 1 RU Stick RCC11J00130100MA Rev 1 00 2008 01 Page 16 of 32 ztENESAS RU Stick 2 2 5 Mode LED 20 R8C 1B R8C 1B 1 20 Mode LED 2 2 RU Stick 2 3 2 4 RU Stick 2 3 RU Stick RCC11J00130100MA Rev 1 00 2008 01 Page 17 of 32 ztENESAS RU Stick 2 4 RU Stick 2 1 2 R8C 1B On Chip
24. CD RU Stick 8 Cel ne RU Stick G CD ROM GD RU Stick 0 x 2 DARBY OTERZ RES CHE RAAF D o APH Sa eH a Windows WH lt x F gt 2 11 d 2 12 C AS HB tt eS ASEARRRE TAR A
25. 1 Page 29 of 32 ztENESAS RU Stick Oona Stick High performance Embedded Yorkshop RU_Stick c wi Fil roje k a o E GF as Command Jh Debug sessionm16c_Rec Fous At 3 OMe 08 2 wR tH FH OP Ss ww AA td we A ee x RU Stick aaa RU_Stick Gy Assembly source fi Be ner tO a30 zy Primary Duty Output H Level 0 Must be 0 in PWG Mode 320 0E468 inoseg 0 Must be 0 in PWG Mode 321 OE46C tzpr 0 Default Value tzpr 20 322 OE46F tzsc 0 Default Value tzsc 60 QVC source file RU Stick e SM DoynLosd module 324 Timer C 325 OE472 tcc00 0 326 OE476 Oi Loading program 331 0OE48A Loading the program data 339 OE4AC i raid timerx_irq void Connected Build A Debug Find in Files J Macro J Test h Version Control 7 Ready E Defaultl desktop Read write 327 344 12 INS T Ch TA 2007 RU Stick High Qiu Build All Download Module 2 23 es 0 4 me eee a
26. 6C ES ja WorkSpace Test Browse ei tel mie CPU family roe 7 Debugger only ciec zh Tool chain Renesas NIBC Standard roperties 1 21 RCC11J00130100MA Rev 1 00 2008 01 Page 12 of 32 ztENESAS RU Stick d 1 22 NC30Ver5 40 00 C R8C Tiny A R8C 1B ROM16K Next Hew Project 1 6 Select Target CPU Toolchain ve X Which CPU do you want to use for this project CPU Series If there is no CPU group to be gt selected select the CPU Group o that a similar to hardware lt Back wext gt ee Dl 1 22 e Next New Project 2 6 Select RTOS Target type DOEI RTOS none Startup file Default z Startup files ies Project SAC source file Add S Assembly source file ner tO a30 x a a S Assembly include fil sect30 inc Remove Show file path lt Back wext gt Ren Cancel 1 23 RCC11J00130100MA Rev 1 00 2008 01 Page 13 of 32 ztENESAS RU Stick
27. RCC11J00130100MA il RENESAS 16 RU Stick 16 Rev 1 00 RenesasTechnology Revision Date Jan 16 2008 www renesas com 10 11 12 13 Notes regarding these materials This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document including but not limited to product data diagrams charts programs algorithms and application circuit examples You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use When exporting the products or technology described herein you should follow the applicable export control laws and regulations and procedures required by such laws and regulations All information included in this document s
28. Set A main C C source startup Application C C Application Empty Application Import Makefile Library Xw Project Workspace Projects 5 grr Proie Tome i zt Application rest t Import Makefile Library Directory P Debugger only MI
29. e or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems or equipment or systems for transportation and traffic healthcare combustion control aerospace and aeronautics nuclear power or undersea communication transmission If you are considering the use of our products for such purposes please contact a Renesas sales office beforehand Renesas shall have no liability for damages arising out of the uses set forth above Notwithstanding the preceding paragraph you should not use Renesas products for the purposes listed below 1 artificial life support devices or systems 2 surgical implantations 3 healthcare intervention e g excision administration of medication etc 4 any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp its affiliated companies and their officers directors and employees against any and all damages arising out of such applications You should use the products described herein within the range specified by Renesas especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installa
30. er Package AutoUpdate Install C Compiler Package C M3T NC30WA AutoUpdate Renesas Tools Installation CD RENESAS Thank you for purchasing Renesas Tools You can use this CD to install development tools on your Windows PC For support please contact Respective Renesas Sale Office Please choose from the list it will installed one by one by this order r z z Details w C Compiler Package for M16C 60 30 Tiny 20 10 R8C Tiny Se v AutoUpdate 1 1 M3T NC30WA Ver 5 40 00 RCC11J00130100MA Rev 1 00 2008 01 Page 1 of 32 ENESAS RU Stick d 1 2 Europe or United State of America Next C Other region Japan Asia etc C Region Selection Select the region Other region Japan Asia etc 1 2 e
31. hases Unregister Debugger Components Extension Components Properties Communication Tools Help System Tools LSet Search disk ol information Uninstaller J Show all components Current HEW tools database E Program Files Renesas Hew Modi fy 1 12 RCC11J00130100MA Rev 1 00 2008 01 Page 7 of 32 ztENESAS RU Stick d 1 13 Environment NCKIN NCKOUT Modify Renesas 16C Standard Toolchain 5 40 00 Pro X General Informati Environment variables BIN30 C Renesas HC3OWA YS40R00 bin INC30 C Renesas HC3OWA YS40R00 ine30 i TE CSOUTXTTSTD rh38 1 13 NCKIN NCKOUT e 1 14 Prax NCKIN NCKOUT EUC Environment Variable 1 14 f OK HEW 1 3 2 HEW Workspace C Workspace
32. k 2 3 2 3 1 LED 3 LED LED 2 2 AAR PWM Z PWM 0 PWM X O PWM n 0x00 0 0xOF 0x33 0x3C 0x55 0xAA 0xC3 0xXCC 50 0xFF 00 RCC11J00130100MA Rev 1 00 2008 01 Page 25 of 32 ENESAS
33. k RCC11J00130100MA Rev 1 00 2008 01 Page 20 of 32 aeENESAS RU Stick a 2 9 T SEA Sr EE Dol Windows cD Windows Update Pini Windows Windows Update OR N RO OF BALD b 2 10 2 9 Windows S EE Renesas RU Stick C CD gt AA 2 10 RCC11J00130100MA Rev 1 00 2008 01 Page 21 of 32 ztENESAS RU Stick c 2 11 0 RO
34. le interrupt Enable TimerX Enable TimerZ Enable TimerC Disconnected A Connected Disconnected Connected 4 gt Build ADebug A FindinFiles A Macro A Test Wersion Control amp G snes 2007 RU Stick High 2 22 2 3 3 RU Stick R8C 1B R8C 1B HEW 2 23 HEW LED HEW Debug RCC11J00130100MA Rev 1 00 2008 0
35. log box again TFA AAT TAA ste 2 21 RCC11J00130100MA Rev 1 00 2008 01 Page 28 of 32 ztENESAS RU Stick D HEW R8C 1B 2 22 RU Stick RU Stick High performance Embedded Workshop RU Stick c gt File Edit View Project Build Debug Setup Tools Test Window Help Deeg amp E y s Command AJA g fs i EH HS 25 Debug ESE Mie 08 2 Pw 67 E Et E PSs ARH AER AA ix GW RU_Stick Sy Assembly source fi ner t0 a30 JDododbdonejeioioieiioiickeiioiecciciioiioiiciociokiokictaciasiasiaciotoiciaet ak rok ci ik 2 2 7 f a Prey ie i RU_Stick c _ S BU Stick e DATE Thu Sep 14 2006 Download modules DESCRIPTION main program file DD BU Stick x30 4 CPU GROUP 1B Dependenci a ee a This file is for the demostrtion of RU Stick R8C 1B 2 sect30 inc 4 E sfr_r8lb h feccirri SESS SE OSES ISOS IK il sys_para h include POTEA LECETA var_def h include include woid main Now downloading new Monitor firmware asm Flag Diable interrupt elk_i 100 Clock Initiallize port_ t Initiallize timer er Initiallize uart it Initiallize asm lag Enab
36. nsmit 30 led_red_control ON 15 Close Red LED ad led_blue_control OFF 0 Close Blue LED ee RUStick e a 2 2 i m lt 4 ph Build Debug A Find in Files J Macro A Test A Version Control rf Ready HAE pera desktop Read write 17 344 21 INS D amp 4 Et BE Renesas Dh ck j ec ju 2 18 FoUSB UART h FoUSB UART 2 19 Serial Port RU Stick COM2 Init Nl6C R8C FoUSB UART MCU Debugging Information Run Mode Script Refer Port Baud Rate I Start up for monitor Do not show this dialog box again 2 19 i RCC11J00130100MA Rev 1 00 2008 01 Page 27 of 32 ztENESAS RU Stick i Refer R5F211B4UART MCU 2 20 R8C Tiny Series Ud Select ECU File Init M16C R8C FoUSB UART MCU MCU c Port Debugging Information Run Mode Script Serial C e comz be 0 O WeaFiles aa BMNec 2D Group S M16C 6N Group M16C 6S Group EQ 16C 6Y Group
37. ogram Files Renesas Hew AutoUpdate Download size 7 658 KB We have revised the AutoUpdate Utility from 1 01 00 to 1 02 00 Read more lt NESAS D Everywhere you imagine To continue click Next gt 1 8 d High performance Embedded Workshop Upgrade 4 02 00 Welcome to the InstallShield Wizard for High performance Embedded Workshop Upgrade The InstallShield Wizard will install High performance Embedded Workshop Upgrade on your computer To continue click Next Ri 1 9 RCC11J00130100MA Rev 1 00 2008 01 Page 5 of 32 ztENESAS RU Stick e f 1 2 HEW 1 10 HEW Tools Test Window Help oO File Edit View Project Build Debug Setup Deka 8 e o Debug SessionM16C_R8C_Fous v At Mie Os zT T EL ax ek Programmer oa static unsigned int s_TargetStatus GG Assenbly source file 30 jtpragna PARAMETER CopyToRAM AQ A1 R3 nerto 230 31 jwoid CopyToRAM unsigned char near s_S
38. ource file RU Stick c Gq Download modules 0 SES rp d main void sect30 inc sfr_ralb h E sys_para h E var_def h S W Breakpoints O System Clock Initiallize i ZA WCU Port Initiallize timer_init MCU Timer Initiallize uart_init UART Unit Initiallize asn FSET I ff Set I Flag Enable interrupt txs 1 Enable TimerX tzs 15 Enable TimerZ tcc00 1 Enable TimerC ultb 0x00 Store initiallize value for UART transmit register te_ulcl 1 Enable Transmit led_red_control ON 15 ff Close Red LED led_blue_control OFF 0 Close Blue LED led_green_control OFF 0 Set Green LED to Level 15 while 1 Main Loop t E ot al at 21 2 wi Connected Disconnected Connected Cause of break S W break v Find in Files A Macro A Test A Version Control E Tefaultl desktop Read write 17 344 1 THS OE 35 TA 2007 3 RU Stick High Debug RU Stick 0 i Debug LAAT AY Reset go 2 24 c Step
39. rcAddr unsigned near char s_DestAddr unsigned int s 9 C source file 32 33 Htpragma as 34 PUSH W R1 35 MOV W 0F00H R1 36 SMOVF W 37 POP W Rl 38 porama endasm 39 T t aa 41 Wwoid main void Timer 42 UART c 43 unsigned int s_Counter0 44 unsigned int s_Counterl 45 unsigned int s_RecvData 46 InitPort Initiate I O ports 47 InitClock Initiate CPU clock to 16MHz 48 InitTimer Initiate timers 49 Init UART2 0 Initiate UART2 to 500k bps to communicate with PC 50 InitLED fInitiate LEDs S1 InitFlashI0 52 V CopyToRAM unsigned char near WriteFlash OxOA amp g ProgBuffer 0 40 53 V CopyToRAM unsigned char near EraseBlock 0x20 amp g_ProgBuffer 80 50 54 V CopyToRAM unsigned char near EraseSector 0x24 amp g_ProgBuffer 180 55 55 4 EraseData ro SA FnahleTnt Fnalhe maskahle interrint zl sect30 inc of Jot i A test gt Programm Flash c 2 B E a Phase M16C Load Module Converter finished Build Finished 0 Errors 0 Warnings ry Ffi Build Debug A Find in Files A Macro Test A Version Control if Defaulti desktop Read write 33 179 12 INS E Zit IA nmi 4 NC30 Install Q Debug Debug run nie Build
40. s Please contact a Renesas sales office if you have any questions regarding the information contained in this document Renesas semiconductor products or if you have any other inquiries Renesas USB Stick faj RU Stick Stick UART Monitor M16C 28 M16C 29 M16C 62P M16C 62A M16C 62M M16C 80 M32C 83 R8C Tiny 1 1 UART RU Stick ENESAS ED 1 1 1 a AEE 1 1 2 AAA 6 1 3 En 6 1 4 Tf ETN 11 DAI EE 16 2 4 PIS OI nen h thin ented Adib thd nbd Gace 16 2 2 RU StiCK PHI PEAS ELSE eccccscsscssssssescsscsscessessessssssscesesssescessessessescsssessssseaseaseasenees 20 PE P L E a T A 25 0 02 32 ENESAS RU Stick 1 HEW HEW fe ra LEBER A CHEZE High performance Embedded Workspace Assembler Editer Debugger
41. tion and other product characteristics Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges Although Renesas endeavors to improve the quality and reliability of its products IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Please be sure to implement safety measures to guard against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other applicable measures Among others since the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed the risk of accident such as swallowing by infants and small children is very high You should implement safety measures so that Renesas products may not be easily detached from your products Renesas shall have no liability for damages arising out of such detachment This document may not be reproduced or duplicated in any form in whole or in part without prior written approval from Renesa
42. uch as product data diagrams charts programs algorithms and application circuit examples is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas products listed in this document please confirm the latest product information with a Renesas sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website http www renesas com Renesas has used reasonable care in compiling the information included in this document but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document When using or otherwise relying on the information in this document you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application Renesas makes no representations warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products With the exception of products specified by Renesas as suitable for automobile applications Renesas products are not designed manufactured or tested for applications or otherwise in systems the failur

Download Pdf Manuals

image

Related Search

RENESAS RU Stick debugger user manual renesas e1 debugger pinout renesas e2 debugger price renesas e2 debugger pinout e3000105 in renesas e1 debugger renesas e2 lite debugger

Related Contents

                DIODES BZT52C5V1LP - BZT52C24LP handbook    

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.