Home
R8C Tinyマイコンシリーズ スタートアップガイド E8
Contents
1. y P
2. 3
3. Py y 0 FF OFF
4. http www sunhayato cojp R90C TinY E8 HEVW High Performance Embedded Workshop E8 HEW R8C Tiny SR8C15CP MB R8CS R5F21154SP MB RS8 MB R8C SET CT 208
5. 3 E8 R8C Tiny E8 61 2005 05 01 2006 04 10 HEW3 HEW4 R8C Tiny E8 2006 4 10 Rev2 00 170 0005 3 40 1 2006 Sunhayato Corp All rights reserved SG043101
6. Pe
7. ke LUSB Deyice LCD 2 OoO MT DA yg RD CE th Windows 0 EE1I USB adapter 1 Windows XP Windows amp
8. 3 tps 3 2 R8C Tiny E8 17 3 NC30WA 3 2 ncrt0 a30 heap
9. HEW R8C Tiny E8 1 4 Select RTOS OS Target type R8C Tiny RTOS OS none Siartup fle type User Default M16C NC30WA ncrt0 a30 sect30imc
10. S W 255 S W S W BRK Download modules RE LED_PICOPICO x30 29 init led_blink_aut Dependencies 30 sect30 inc a In yold oid mainkyol sfrr815h 33 cnnn 34 e003 unsigned int timer _count_500ms 0 500ms 5 36 cnn6 init SFR 9 38 e009 SR 5 39 cnna 40 41 cH13 42 43 cn16 mer _ count _500ms gt 25 W 500ms
11. R8C TTmy HS8 TTmy m 16bif R8C 15 2 54mm 20 DTHE Web CC 3 1 R8C Tiny R8C Tiny E8 16 3 3 2 LED_PICOPICO LED_PICOPICO 2 LED 0 1 LED
12. void init void asm FCLR Drc0 1 CMO0 CM1 0CD cm13 1 Xin Xout cm15 1 Xin Xout HIGH cm05 0 cm16 0 CM16 CM7 00 cm17 0 cm06 0 CM16 CM17 asmCnop asmCnop asmCnop asmCnop ocd2 0 prc0 0 CM1 CM2 OCD asmCFSET LED1 p1_2 LED2 p1_1 drr2 1 p1 drr2 LED5or1 1 drr1 1 p1 drr1 LED4or2 1 1 1 15mA pl ObO0000010 p1 LED p1_2 LED5or1 0 p1_1 LED4or2 1
13. ME sunhayato ie ET No E8 High performance Embedded Workshop 6 1 No LTE IROE0O0080KCEn0 RE CT vu High performance Embedded Workshop 3 k sunhayata he RUEUHH8UKCE 3 Emulator Dehugger rp 2n4 Release 00 RE CR tu R8C T
14. 1 1 KC LED PICOPICO High performance Embedded Workshop led picopico c E P SM G T 00 yy _mbase B lass U jp 1 8 Z FT CPUDJ CU LED_PICOPICO LED_PICOPICO EN Assembly source file F5 CE Shift F5 TL PFG1 ncrtda3n C source file pcopcoe Danload maodules 1 LED PICOPICO x30 Pc PG GtrFShifttY F 15 i 4 D denci H MP FT1 sfrr815h Fin ooo LED tp 2 Shift F11 FE 1 A 3 32 HEW
15. LED_PICOPICO Debug_M16C_R8C_EFoUSB_UART BEB8 DefaultSession E8 PC SessionR8C_E8_SYSTEM E8 E8 PC E8 SessionM16C_R8C_FoUSB_UART
16. 1 ms few E8 OK bb OS Rg hNp cyhimsf ER 06 0 5 RB 0 2 6 5 6 High performance Embedded Workshop 6
17. 3 the i R8C Tiny E8 38 3 1
18. R8C Tiny E8 28 3 Wnnectine Flash memary erasineg Flash memorsy erasing UK Linwrnlnadimg Flash memorsy write program 3 15 HEW E8 PC OHEW PC 6 LED PICOPICO High performance Embedded Workshop ILED_ PICOPICO_c 3 FE CE P PE B D GS TD
19. pd1_2 1 p1 p1_2 LED5or1 pd1_1 1 p1 p1_1 LED4or2 X txic Ob00000000 X X txmr 0b00000000 tcss 0b00000001 X f8 20MHz 8 2 5MH2Z Drex 250 1 X tx 200 1 0 4 sec 50000 20msec 5000 250 200 txs 1 X 3 2 LED_PICOPICO R8C Tiny E8 20 3 led_blink_out D1_1 p1_2 LED NN void led_blinK_out Void p1_2 p1_1 3 3 LED_PICOPICO LED R8C Tiny
20. E8 LED_PICOPICO High performance Embedded Workshop LED_ PICOPICO c sz FE CE P B D G T x 1 Debug SeosorH8C_EB_SYSTEM gt s mz lt m t 0 0 x WE LED PICOPICO LED_PICOPICO 1 a esembly source ile 2 FILE LED PICOPIE0 c nert0 a30 3 DATE 2006 3 20 NC source file 4 DESCRIPTION Main Program LED_PICOPICOc 5 CPU TYPE R8E Tiny 15Group 20MHz Download module 8 Thls fle he konerated by Reneses Proleck henesatert tene4a00o09 0017 LED PICOPIC 8 Dependencies 9 7 sect30 inc 10 Sa Sh 11 wSR8C15CP
21. R8C Tiny E8 24 3 3 5 EB8B PC E8 E8 es PC ES8 MB RS8 CT 208 MB R8C SET 3 8 PC E8 ES PC E8 HEW HEW 6 PC E8 E8
22. PcYelrilldl iecltel Renesas AutoUpdate Utility 7 4 Outlaok AutoUpdate oe II CC Renesas utoUpdate Utility InstallShield Wizard 0 Renesas autoUpdate Utility 7 Windows7T1 qp iE OER 3 MSN Windaws Media Player lt Windows Messenger 35 Windows XP P Nehesas OD High performance Embedded Workshop OK O Or NBT NC30WA V530 Release 02 Renesas AutoUpdate HomePage Windows AutoUpdate USB E8
23. Page Down 1 1 Fu 2 1 38 1 27 E8 Emulator Debugger lt CC
24. R8C Tiny E8 46 3 321 E8 E8 CT 208 TP1 USB USB PC SC MB RS8 MB R8C SET USB 2 a DJ USB CT208 3 47 HEW R8C Tiny E8 47 3 3 20
25. LED PIGQPG LED PICO PICO hs T HEW Workspaces hwws 3 4 HEW LED_ PICOPICO C R8C_PROGRAM C WorkSpace HEh pnertormance Embedded Workshop A G RBG_ PROGRAMWLED PIGOFTGO CO MMnrkSnace LED PIGOPIGOA ge L 3 5 HEW R8C Tiny E8 22 3 KC LED_ PICOPICO Hieh performance Embedded Workshop Dabua DefaultSessinn
26. IH nd rerifiratinn Please innut ID Gode HEEEEEEEEEETT Cancel 3 44 HEW ID ID E8 E8 Download emulator firmware Does not download emulator firmware ID FFh E8 Writing Flash memory ID Writing Flash memory LED_PICOPICO LED_PICOPICO2 FFh R8C Tiny E8 45 3 LED _PICOPICOmot ILED_PICOPICOmot KC LED PICOPICO High performance Embedded Workshop led
27. P AC100V AC100V R8C Tiny Microsoft Windows Microsoft
28. R8C Tiny E8 42 3 S S mot S LED_PICOPICOmot HEW 0 0 SessionR8C_E8_SYSTEM R8C_E8_SYSTEM S Recordl LED PICGOPICO2 High performance Embedded Workshop sect30 mc CE
29. RESET E8 PC HEW High performance Embedded Workshop E8 E8 NPC 0 7 HEW E8 E8 R8C 14 R8C 15 R8C 16 R8C 17 rjj10 0726_e8_spdf E8 MCU R8C Tiny
30. p Py y N Py
31. 6 N Debug LED_PICOPICO Debug Helease LMC30 2 1 HMD LED_PICOPICO Release Debug_R8C_E8_SYSTEM LED_PICOPICO Debug_R8C_E8_SYSTEM Debug_M16C_R8C_FoUSB_UART
32. 16 3 2 17 3 3 Q 22 3 4 23h0roeeaees 24 3 5 E8 25 3 6 30 3 7 31 3 8 33 3 9 33 3 10 oh 34 3 11 I O te 35 3 12 PC lt oo a9 2 36 3 13 S W 37 3 14 to 37 3 15 lt lt lt lt lt 3 5 38 3 16 eeeeeeeeeeeeeeaeesesseseesssesessesseseeeseeseseeeeeeeeeseeseseeececeseseeseesesee
33. PC ES8 1 12 HEW E8 R8C Tiny E8 10 2 2 2 1 ES E8 09 EW CO00WA ES E8 CD http japanrenesas com homepagejsD gt gt R8C Tiny gt gt gt E8 gt E8 E8 USB IE8 USB
34. section30 inc Iword 4 1 00h ID 00h OFFDCh 0 OffdcH UDI lword dummy_int dummy_int UDI wOFd dummy_1nt pa r org OfffcH NMI RESET lword start 0ffO00000h R8C Tiny E8 43 3 0000000000 9 S Record 2 2 mot CONFIGDIR PROJECTNAME mot OK 2
35. SA KC LED_PICOPICO Hieh performance Embedded Workshop lled picopico c CE CE A P ZI G fs Ln _mbase jp 10 8 2 O sx Tf CPUTU s OD LED_PIGOPIGO LED_PICOPICO Assembly source file ncrtna3 surce file Download modules LU LED_PICOPICO x30 EN Dependercies sect3Jinc 1 sfr r815h F10 3 G Shift F11 M F5 Shift F5 TL PC P RI ac PC f GtrFShift Y Mune fun FE E A P B DD m 3 fon 1 _ mbase jp 10 8 2 2 3 33 HEW R8C Tiny E8 39 3
36. E8 15 3 3 3 1 Y Web R8C Tiny LED_PICOPICOlzh Lzh Ihttp www sunhayato cojp tny HEPW LED_PICOPICO zh C WorkSpace Microsoft Imternet Explorer FE CE MM Ln 5mcA0 A http ww sunhayato co jp tiny 2 gt A Sunhayato EL
37. MG KC LED_PICOPICO High performance Embedded Workshop ed picopicn_c E E B T fs Cy _ mhase Yo p10 82 0 7 sx CPU Ut s UD rr 3 23 HEW CPU 3 9 LED Pl LP1 3 KC LED_PICOPICO High performance Embedded Workshop led picopico c F E P 5B S2 G PX 1 _mbase B j5 IM 8 2 x Tf CPU U En LED PICOPICO LED_PICOPICO 2 ssembly saurce file 3 24 HEW R8C Tiny
38. cm17 0 cm06 0 CM16 CM17 asmCnop asmCnop7 asmCnop7 asmCnop7 ocd2 0 brc0 0 CM1 CM2 OCD asmCFSET LED1 p1_2 LED2 p1_1 drr2 1 p1 drr2 LED1 1 drr1 1 p1 drr1 LED2 1 1 1 15mA pl ODO0000010 p1 LED p01_2 LED1 0 p1_ 1 LED2 1 pd1 2 1 p1 p1_2 LED1 pd1_1 1 p1 p1_1 LED2 X txic 0D00000001 X 1 txmr 0b00000000
39. SelectRTOS Startup fle type IDefault a Vs HewiProject 4 r Settine the stack hrea What are the stack settings ser stack Foirter tack Iize en H IitErrunt Stack FnintET 1 Size en H F inish Fahcel 4 6 HEW Setting the Stack Area R8C Tiny E8 3 4 Target System for Debugging Targets R8C E8 SYSTEM Target Type R8C Tiny INext NEWm PrnjErt Ettirg thE TargEt ystEm fnr LiEHugEging MGCE REC Simulator RG EB ST TE Exxternal ighugggr Tareget tpe RBC Tiny lt lt Back Next gt Fmish Cancel 4 7 HEW Target System for Debugging Setting the Debugger Options Next lt Em PrnjEE Etting the EhuggEr ntinns Target ae RBG EB SYSTEM Cpt guration haIT
40. HEW HEW PC E8 USB Windows E8 PC HEW CPU R8C Tiny E8 25 3 MB RS8 RUN Nue Nl sec rot OPe er P123 a EE TEE
41. 6 Hieh performance Embedded Wo gz E C E RO 4 1 HEW R8C Tiny E8 0 4 C WorkSpace LED_PICOPICO02 HEW LED PICOPICO2 CPU IM16C CPU M16C Renesas M16C Standard Application OK WW ED_PIGOPIGO2 y ion Import Makefile P Library LED_PICOPICO2 D C W
42. ES PC USB E8 CD 2 2 E8 CD CD setup exe TE8 e8fullv206r02 exe 7 BfullyghErHG gxxa junk RENESAS EC IX Dt 1 lo 2 1
43. mainc X 1 LED EILE LED_PICOPICO C DATE 2006 3 20 DESCRIPTION Main Program CPU TYPE R8C Tiny 15Group 20MHz This file is generated by Renesas Project Generator Ver 4 00 03 001 SR8C15CP 0 5 LED X DTD T ef Include sfr_r815 h SR8C15CP SFR C void Init void SFRCSpecial Function Register Void led_blink_out void 1D main 2 LED MB RS8 p1_1 LED4 p1_2 LED5 CT 208 p1_1 LED2 p1_2 LED1 initO led_blink_outO Vold main void unsigned int timerX_count_500ms 0 500ms InttO
44. E8 33 3 3 10 STOP PC 6 LED_PICOPICO Hieh performance Embedded Workshop Incrt0 a30 FE CE P B SM G T gg fn __mbase SF ip 7 xi LED_PICGOPIGO LED_PICOPICO Assembly saurce file ncrtnan C source file Dawnload modules HN LED PlcOPlCox3n Dependencies sect30 inc sfrr815h sm H FE CE FP PL B DD mbase gt mm rl 3 25 HEW LED_PICUPIC0 c 2006 3 21 DESERIPTIUN Main Program CPU TYPE R8C Tiny 15Group 20MHz kThis file is generated by Renesas Project Generator ver 4 00 WS
45. E000h C000h sfr r815 h R8C 15 SFR ncrt0 a30 SR8C15CP ISP 80h 0 00 0 80h USP 80h SB 400h 0000FEDCh near far near far main R8C Tiny E8 18 3
46. 1 lpebug gt SessionR8C_E8_SYSTEM gt LED_PIGOPIGO LED_PICOPICO Assembly source file ncrtna30 EC source file ED PCoPCoc EM Download madules LED_PICOPICO x30 FILE LED_PIEUPIEU c TE 2006 3 20 DESCRIPTION Main Frogram CPU TYPE R8C Tiny 15Group 20MHz This file is generated by Renesas Project Generator ver 4 00 03 001 NY Dependencies sect3H inc a a sfrra15h SR6C15o 0 5 LED include sfr_r815 1 W SR8C15CP SFR void init yaid W SFR Special Function Register yaid led blink_nut wnidj W main LED1 2 in
47. KRY ce PC Y Ctrlr Shift Y sect30 inc 3 F11 sfrr815h 1 0 F10 3 O Shift F11 22280 M 2 25 seconds 3 34 HEW R8C Tiny E8 40 3 3 17 E8 PC 6 LED_PICOPICO High performance Embedded Workshop ed picopico c FE GE P B G T i yy _mbase B SU 15 ID 8 2 1 1 CPUD U LED PICOPICO LED_PICOPICO ED Assembly source file
48. P B G T 1s _ mhase B I EU SessinnRBC_EB SYSTEMN T RBCEBSYSTENM 000 00 06t pH File Name ffset Address CONFIGDIRI EPR HH IEEE5HE RENESAS LED PICOPICO ryt 3 38 HEW DD ID ID LMC30 ID 3 ID
49. debug 0 3 20 HEW 2 PC R8C Tiny E8 1 3 MILED_ PICOPICO Hieh performance Embedded Workshop LED_PICOPICO c G A P B y D GS H 1 iE peps gt SessnnRac_Ea_sYsTEM gt 4 Im MM B 2 Bl LED_PICOPICO LED_PICOPICO tssembly source file LED_PICOPICO c ncrt0a30 2006 3 20 GC source file DESCRIPTION Main Program LED_PICOPICOc CPU TYPE R8E Tiny 15Group 20MHz Download madules This file is generated by Renesas Proje
50. 3 16 3 05 N OK 3 LED_PICOPICO High performance Embedded Workshop led picopico c FE GE P B 9 GG nbs 2 B SU 15 1 8 2 x CPUOD U LED_PICOPIGO LED_PICOPICO EN Assembly saurce file nertD a30 C saurce file Download madules LED_PIGOPIGO x3n Dependencies F5 CE Shift F5 TL PC PF
51. HEW HEW High Performance Embedded Workshop R8C Tiny E8 1 E8 oettt 8 1 1 E8 oo 8 1 2 EE RE EE EE EEE EE EE EE EET ER ERE EE EE SEES EE EE EE EEE EE EE REE Ei 10 21E8 oo 11 2 2 SEE EEE EE EE EE EE EE EE EE EE ENE CE NE EE EAE EE CEE ETE EE EE EE 11 3 ee 1G6 3 1
52. 1 Windows Microsoft R8 CD USB OS KO IKAU SWM Windows XP CD ROM drivers usb xp elusb sys USB EE10 USB Adapter E E10 USB Adepter 1200 Peresss Techroloey _d driverstusbtptelusb ni EE10 USB Adapter 1 20 0 Renesas Technalogy d drivers usb me elusb in EE10 USB Adapter 1 200 Renesas Technology d drivers usb 98 elusb ini F7 F1I IISH Adanter 12nn Renmsas Tearhnnlngy dd rr eu 3 RD ser 2
53. SFR while 1 If ir_txic 1 X 20msec timerX_count_500ms IfCtimerX_count_500ms gt 25 500ms 20msecx25 0 5sec led_blink_outO LED timerX_count_500ms 0 500ms txic txic amp 0b00000111 x Qr_txic 3 MOV 3 1 LED_PICOPICO R8C Tiny E8 19 3 ID Init 20MHz SFR 5
54. 1_1 D1_1 1 2 Dp1 2 3 1 LED R8C Tiny MB RS8 LED4 1 1 _ CT 208 _2 _ LED_PICOPICO HEW 1 2 1 1 LED_PICOPICO 1 Dieug Debug MTEC RBAC FaLISB UART Dehug_ RBC EB SYSTEN
55. E8 8 1 E8 SR8C15CP E8 C000h C7FFh 2400h 2BFfFh 8 8 00000h SFR 002FFh 00400h RAM 007 FFh B8 02400h ROM 02400h E8 _ _ 02Z2BFFh OFFDCh i i i i BRK E8 i ret mWROM i i ET 02BFFh 0COOOh 0C FFh 16KB 0FFFFh _ _ 0FFFFh
56. SR8C15CP R5F21154 Data Flash Areal 2400h 2BFFh User Flash Area COOO0h C7FFh 2 CO00h Data Flash Areal Does not download emulator firmware Data Flash Areal User Flash Areal Fir marE Lnratinr Please select tir mmare location Data Flash tirea User Flash irea 3 14 HEW Firmware Location 2 DE8 Does not download emulator ffmware Writing Flash memory
57. R8C Tiny E8 49 4 4 4 1 HEW ILED_PICOPICO LED_PTCOPICO2 4 2
58. LSB Deyice ezer EE10 USB Adapter USB EE10 USB Adapter PC E8 Windows CC TT GITLS ELELIOUSB Adapter E8 92 CN ec BS E7 E10 USB Adapter R8C Tiny
59. LED_PICOPICO FE ssembly sourc ncrtna30 FC saurce file led picopicc Dependencies sect3U inc sfr r815h Wersion Control IDefault1 desktop ms 3 6 HEW 6 LED_PICOPICO High performance Embedded Workshop LED PICOPICO_c LED_PICOPICO 200878720 ssembly saurce file DESERIPTIHN Main Program nerth a30 CPU TYPE R8C Tiny 15Group 20MHz LC source file LED PICOPICO c Dependencies sect30 inc a sfr r815h SR8E15EP 0 5 LED EE 7 include sfr_r W yaid init vaid yaid led blink_aut ynid main LED1 2 jinit led blink_aut yaid main yaid unsigned Int timer _count_500ms 0 500ms 7 init SFR while 1 t ifCir_txic 1
60. 5 L Le y LiB ip lh 8 2 2D 0 CPUDY s A LED PIGOPICO LED_PlCOPlGO F5 smmhly snurce file ss hift F5 nerma80 5a Gy a A 7 FC 3 a i mT a FR Rr LED PIEOPIED High perifiormance Embedded orkshop CE W EP EE wD fh mbase 9 MM 8 2 3 29 HEW PC R8C Tiny E8 36 3 3 13 S W F9
61. P B DD GS T 2 Di Ly mbase Debug r WDefaultSession 8L E98 M 3 37 HEW D ID 7 R8C Tiny FFDFh FFE3h FFEBh FFEFh FFF3h FFF7h FFFBh ID ID D ID FFh ID FFh
62. E8 3 3 3 HEW Windows Renesas High performance Embedded Workshop High performance Embedded Workshop Renesas gt High performance Embedded Workshop 3 High performance Embedded Workshop PP MaT NGC3HW V53U Ralease 02 High performance Embedded Workshop Help Ranesas AutolUpdate High perfarmance Embedded Workshop Read Me 0 4 HomePage Manual Nayigatar 3 3 HEW IOK LED_PICOPICO LED_PICOPICOhws lt
63. E8 eri 7 E P B loesues yan mb ee mm oe tion_test4 Hieh performance Embedded Workshop B CPUD U 5 l ShifttF5 PC P Gi ec PO GtrhShift Y 3 2 F11 D F10 Shift F11 M a E8 6 20 E7 E10 USB Adapter n 2 OK 0 3 49 EB
64. RS gt High perfaormance Emhedded Workshop C Program Files Renesas Hew NGO3HWWa CTRENESAS NCS30WWA V53HRI2 RBC Tiny E8 Ta C Program Files Renesas Hew Tools Renesas RE CE Cv TA VIE ET High performance Embedded Workshop HEW 7 4 C Program Files Renesas Hew wcb re200l dll TI High perfor mance Embedded Workshop InstalIShield Wizard A Fragram FiesgRenesacton SunpertS Wi RIEUIUH8HKCEIHSRtxt se Cr R8C Tiny
65. 20msec timer _count_500mst PE MRR RN gt 25 500ms 20msecX25 0 5sec led_blink_out LED timer _caunt_500ms 0 5n0ms 3 7 HEW 34 R8C Tiny E8 23 3 3 4 EL
66. E8 13 2 AutoUpdate AutpUpdate AutoUpdate Renesas RutoUpdate wi 7 6 AutoUpdate HEW Windows autoLndate OK tS ENESAS AutoUpdate yw 2 O a 0 2 0 240020 2KGNG 1 Windows Renesas
67. main LED REIT EE InItO VOId main void InItO SFR while 1 4 1 LED_PICOPICO2 c R8C Tiny E8 4 1D Init 20MHz SFR EE 0 void init void asmCFCLR Drc0 1 CMO CM1 0CD cm13 1 Xin Xout cm15 1 Xin Xout HIGH cm05 0 cm16 0 CM16 CM7 00
68. vector 3 X sect30inc Vector 1ncrt0 a30 C LED_PICOPICO2c VeC0F 2 glb vector 21 vector 19 _timer_x _timer_x vector 22 dummy _int vector 23 dummy _int vector 24 4 4 sect30 inc X R8C Tiny E8 4 4 4 Renesas M16C Standard Toolcham Renesas M16C Standard Toolcham
69. 320 6 LED PICOPICO High performance Embedded Workshop ILED_ PICOPICO_c F E A P B G 90 8 i pom somecFasrsTEM lt l Q mr 0 8 2 L BE f yg D rfidll CPUD U LED_PICOPIGO LED_PICOPICO F5 Assembly source file CE Shift F5 PICO_c EE ER EE nertna30 3 20 NC source file 4 I Er rogram LED_PICOPICOc 5 EP Ey y 15Group 20MHz Download modules 5 RI Ed by Renesas Project Generator Ver 4 00 03 001 LED PICOPICO x30 ec PG CtrhShifttY a D denheies Fe 8 nn m sfr r815h 1 F10 1 0 5 LED
70. 7 9s 36 e006 init SFR 37 38 e009 W 39 cnna 4 41 3 42 a 43 e016 IT timerX_count_ 50ms gt 25 W 500ms 20msecX25 I 44 cn1dg 45 cn1a led_blink_out 46 cn2n 1 timerX_count_500ms 0 500ms 49 cn23 txicstxic amp b00000111 x 5n cn2e 51 e030 52 e030 FE 3 31 HEW R8C Tiny E8 3 3 3 15 1 1 C 1 1
71. Setting the Contents of Files to be Generated 1 O i SelectRTOS Startup file type Default Generate main Function None main C source fle C c None C C LED_PICOPICO None Next NEwm PrnjErt 3 ttimg the EnntEnts nf Files tn he Generated What kind of initialization routine mould wou ke to create sa tandard ADibrary se Hseap hemorsy Heap Size 30nH eneratg ma Furnction lt Back _hex gt Finish Oancel 4 5 HEW Setting the Contents of Files to be Generated Ne the Stack Areal
72. User Add 0 00 0 User LED_PICOPICO Next Em PrnjEE1 5 ElErt RDS i ssembly saurce file ssembly include file Showm file path dd source file 2 LO LED PcoPco gt _ Dehug Dehug RBC EB SYSTEM 1 p Si Ra x efr B15h LED PICOPICOD e nerth a30 sact3 Q Project Files c hadH incr f a 4 4 HEW Select RTOS R8C Tiny E8 4 4
73. HI SsR8E15EP EB 1 4 11 HEW R8C Tiny E8 56 4 LED_PICOPICO2 c sect30inc X 0 1 LED LED_PICOPICO FILE LED_PICOPICO2 c DATE 2006 3 20 DESCRIPTION Main Program CPU TYPE R8C Tiny 15Group 20MH2 This file is generated by Renesas Project Generator Ver 4 00 03 001 SR8C15CP X 0 5 LED SR init Iinclude sfr_r815 h SRBC15CP SFR x or pragma interrupt
74. 9 H Sg pg x Ep Pcopio DefaultSessinn SessiannM1BE HE FalSB UI 9 YE ic 3 11 HEW SessionR8C_E8_SYSTEM E8 Select Emulator Mode E8 Select Emulator Mode 3 Download emulator frmware Does not download emulator firmware A Writing Flash memory PA E8
75. Download emulator firmware Device R5F21154 Mode Download emulator frmware 5ElErt Emulatnr mnde Dewice REF21154 bd hnde Lnes nnt dnwnlnad emulator fir mare Writing Flash memary yk 3 12 HEW Select Emulator Mode R8C Tiny E8 2 3 R8C Tiny 5V E8 Power supply is carried out MAX 300mA 50V OK E8 Power supply is carried out MAX 300mA OK PnmEr nnly ly Famer supply is carried nut HHm Wntagg select fb 3 13 HEW Power Supply
76. FE GE P B D mm lb 082 9 x LED_PICOPICO EI LED_PICOPICO Assembly source file ncrt0a30 C saurce file led picopico c Daownload modules LED PICOPICO mot LED_PICOPICOx30 NDependencies sect30 inc sfrr815h FE RE adm debug 0 0 9 3 45 HEW LED_PICOPICO mot OK debueeer wx debueeer 1 Flash me mory riting OE Sum data HD4Gada2 3 46 HEW E8 Writing Flash memory HEKW N PC
77. 20msecX25 I 44 cn1Qa 45 cn1a led_blink_aut 46 e020 timer _count_500ms 0 SOOms 47 49 cn 23 txicstxic amp b00000111 W x 5n c02e 51 e030 52 CH3 3 30 HEW SW 3 14 SR8C15CP 4 34 CUU3S Unsigned Int timers_count_buUums U 7 DUUMS
78. FFFFFh SFR Special Function Register ROM Flash ROM 10 000 ROM Flash ROM 100 1 1 E8 SR8C15CP E8 R8C Tiny J 1 E8 1 2 I TN E8 HEW HEW LMC30 S GEES 7 a GG a a EE rs lt
79. Sar1 up filg ee is cower 4 9 HEW Changing the File Names to be Created Summary Generate Readme txt as a summary file in the project directory Summary Readme txt OK GMTm mary Frnject SummaT PRGJECT EMERATOR PRGJEGT ME LED PICOFIGOE MMnFKGnace LE PTCPFIOO2 LED RBG Tiny ther Renesas MG Standard Toolchain RaH IIE MMGTKGiaCg L ED PICOFIGOENLED PICOPIUOEmcrtHaa C MMnrEGpace LED_ PICOPICODS LED PIDOPIOUENLED PICOFICTOE CWork Space LED PICOPICO2 LED PICOPICO2 str rB15h MMnFEGpace LED PICOPICODS LED PIDGDPTOOIENsectdHLinc SELEGT TARGET RBG EB STG TE BTE TIME 1 1EEH1S 4 Click OF tn generate the project or ancel tn abort Iw ehnerate Readme txt as summary file im the project directorsy Camcl 4 10 HEW Summary R8C Tiny E8 4
80. X 0 5 LED 12 13 HG 15 16 17 include sfr_r815 h W SR8BC15CP SFR C 18 19 W 20 void init void SFR Special Function Register Pe yoid led_blink_nut yaoid 22 23 24 ID 25 main 26 LED1 2 27 28 29 init led_blink_out 30 31 42 void main void 33 E000 7CF202 main ENTER 02H 34 unsigned int timer _count_500ms 0 500ms W E008 D30BFE MnV W OH 2H FB 35 36 init SFR E006 F52B00 J
81. 4 3 ILED_PICOPICO2c Ctrl S NLED PIGOPICGO HigEh nErfnr marcE Embhedded Workshop ILED_ PIGEOPIGE EE E WP mL FT Wmbase E 1 LED PICOPICODS Tf ELED_PICGOPICGOZ 3 W FILE LED_PICOPICO Lc sgmbly snurce file 4 i D1 2hhg E th a3H Li Main Prngram a I rt CPUTYPE RB8EZTiny 15Braup er _ LED_PICOFICOEE 8 m This file is generated by Ren Dependencies sect3ll inc str rB15h
82. EB Detail R High performance Embedded Workshop InstallShield Wizard 1 2 Ce Ct E8 Emulator Debugger G PTT TT E8 Emulator Debueeer 7 7 4 amp E8 Emulator Debugger WindowsJ CE Cw R8C Tiny E8 12 High performance Embedded Workshop
83. OK SRecord wu NR i 1 lt 0 D HEW 3 39 HEW SessionRBC_EB SYSTEM IRC EB GTS TE md RiEEnFH LED_PIGOPIGG SE i TD Offset Address CONFIGDIRIECP RO JECTNAME 30 N 1h TH HI 1 Lh tR Frio 2 1 sk ey 3 40 HEW R8C Tiny E8 44 3 S DefaultSession ISessionR8C_E8_SYSTEM KC L
84. tcss 05b00000001 X f8 20MHz 8 2 5MH2 Drex 250 1 X tx 200 1 0 4u sec 50000 20msec 5000 250 200 txs 1 X 4 2 LED_PICOPICO2 c R8C Tiny E8 28 4 timer_x 2 LED MB RS8 p1_1 LED4 p1 2 LED5 CT 208 p1_1 LED2 p1_2 LED1 25 LED void timer_x void static unsigned char tImerX_count_500ms 500ms timerX_count_500ms IfC tiImerX_count_500ms gt 25 20msec x 25 500msec p12 pl 2 p_2 pl1_1 pl_ p1_1 timerX_count_500ms 0 500ms 4 3 LED_PICOPICO2 c X section vector ROMDATA variable vector table 0rg VECTOR_ADR vector 0 vector 1 vector 2
85. ncrtna30 C saurce file 755 Download madules LED_PICOPICO x30 Dependencies F5 CE Shift F5 1 PC P KR Pc PC GtrtShifttY sect3H inc F11 sfrr815h F10 7 0 Shift F11 M 3 35 HEW 3 18 LED_PICOPICO High performance Embedded Workshop led picopico_c s FE E A P G MM G T i 1 _mbase 15 Mg 9 D x CPU U LED PICOPICO LED_PICOPICO EN Assembly saurce file ncrt0a3n C saurce file cpcoo Dependen
86. 4 7 0 4 C Program Files Renesas Hew lt AN th 2 High performance Embedded Workshop 7 NOC30WA 2 C Renesas NC3UWA V530RH2 High performance Embedded Workshop DE 7 DX TE
87. HEW x OK KC LED_PICOPICO High performance Embedded Workshop led picopico c CP B y 0D X cwtN Lmbse Ipebug 5essionRaC_EB_SYSTEM lt CtrhO GtrhF4 1 ED BRO 3 48 HEW DefaultSession DefaultSession Ses
88. Sunhayato R8C Tiny E8 2006 4 10 REV 2 00 SGO043101 170 0005 3 40 1 03 3984 7791 FAX 03 3971 0535 http www sunhayato cO jDp p
89. mm 8 2 ChL P LED PICOPICO ey TCL 0 CtrirShiftr K X Ipebug SessonR8C_E8_sYsTEM gt 2 FI PC PC Name Value ED EO nnn1 FILE LED_PICOPICO c nnnn nertd DATE 2006 3 20 nnn C saurce DESERIPTIIN Pragram 0000 LED CPU TYPE R8C Tiny 15Group 20MHz i Domes EPA OR RR RR NR FRR EO EN ED CPUG ChR 0400 44B sect3 MD CtrlrM a a ee lt X 0 5 LED 2 UFEDC p CHT 0449 G M 520 Ot D4A0 F TT 400 ffinclude sfr_r815 h W SR8C15CP SFR C 7 yaid init waid void led blink_out yaid SF
90. E8 PC Pentium 600MHz IBM PC AT os Windows XP Windows Me Windows 98SE Windows 2000 Windows XP 128MB 100MB CD ROM USB USB 1 1 USB2 0 R8C Tiny 0S PC OS Windows XP Professional QO HOTS Ke TF TT 1 07 02 000 0 HEW V 4 00 03 001 C NC30WA V 540 Release 00A E8 HEW E8 CD Te8rm txt
91. O ShiftF11 rl WE ER En ir M W SR8C15CP SFR To SFR Special Function Register W CT W 2 0 2 DU F W C WorkSnace LED_PIGOPICOWLED_ PICOPIGO Debug LED_ PIGOPIGO x3H HOOOOOO000 2 All Download ModulestA CH cn 3 unsigned int timerX_count_500ms 0 W 500ms cnn6 init SFR co0n9 while 1 t W cnnd if ir_txic 1 0msec 7 c 13 timerW_ count 500mst t pmi m LED PICOPL sect30inc 3 19 HEW 1 3 LED PICOPICO High performance Embedded Workshop le s CE 0 P B D eM 8 2 LED_PICOFPICO x30 Dependenc lies sect30 inc sfrr815h
92. PC USB USB Renesas AutolUpdate Wizard gl ES8 V 3 F AutoUpdate ES8 amp USB E8 CD PC 1 ER OS Windows XP Administrators RENESA AS Everywhere you imaqine gt AutoUpdate C rR Dn R8C Tiny E8 14 E8 PC
93. R8C Tiny E8 1 1 2 E8 S W a E8 Emulator Software InstallShield izard Location to Sawe Files Where would you like to save your Files Please enter the Folder where you want these Files sayed IF the Folder does not exist it will be created Far you To continue click Next Save Files in Folder k DOCUME 1 ADMINI 1 LOCALS 1 Temp ESSOFTWAREVZDGROZ Change 7 INIEO WM 7 I Renesas Tools Installation CD s NE CD Windows PC
94. 3 LMC30 Load Module Converter ID ID FFh Release Release Release All loaded Project LED_PICOPICO2 Lmc Load Module Converter Category Code ID ID code check ID code on ID FFh Options Lmc LED_PICOPICO2 Hiegh periprmanee Embedded Sarkshap ED PICOPICO2 c REnesas tandard TnnlEhain Configuration fssembly Link Librarian Lmc Cfg MEMRTBL Cateeoy Im a EDITD GGde sheek 1D Geds ssting LED PIGGPIGOg TC snurce file hl fi Re EDM code protect function Protect walues gfsre
95. ED_ PICOPICO High performance Embedded Workshop ILED_ PICOPICO_ c 5 GE 2 P B DD GS TU DA 1 Ch S Debug DefaultSessinn SessinnM1EC_HGC FnLSB SessinnHBE EB SYSTEM Pa a IFh PICOPICO 3 41 HEW Release hafaultSassinn E8 Select Emulator Mode Writing Flash memory SElErt Emulatnr mnde Dewice RSF21154 Mi ng Linwnlnad mulatar firmwwarg Lnes hot dnwnlnad emulator fir mare L_ OK iek 3 42 HEW Pomwer Supply ly Panmer supply is carried nut hi SDNm A Woltaee select fy 3 43 HEW ID Code verifcation ID FF FF FF FF FF FF FF
96. EH Si Forcf 0f LE 2 SR8C15C PT c 4 P4 Sunhayato He SN Ri 1 34 CK is SR8C1SCP 1 W 5 YB R8C READY Ria9 3 9 MB RS8 E8 CT 208 RUN TP1 ES8 JP1 MODEL CT 298 sms RB8C Tiny MINI Evaluation Card Sunhayato TB1 TBZ 2e9 19 18 17 16 15 14 13 12 1114 5 6 1 9 6 3 ea U1 Es CNe 1 3 10 CT 208 E8 MB RS8 SET R8C Tiny E8 26 3 DefaultSession Session_R8C_E8 System KC LED_PICOPICO High performance Embedded Workshop ILED PICOPICO_c sr FE CE P B D GG D
97. GO LED PIGOPIGO 3 17 HEW The value of option function select reqister is FFH Fhase N16C Linker finished Ehase M16C Load Module Converter starting Load Module Converter Lmc30 for RSC Tiny Ml6C GOD Series Version 4 01 00 000 Copyright ic 2004 Renesas Technology Corp and Renesas Solutions Corp aAll Rights Reserved Phase M16C Load Module Converter finished Euild Finished DD Errors Warnings Build A Debug Find in Files Yersion Control IDefault1 desktop Read write 1 86 3 18 R8C Tiny E8 20 3 3 7 C Hew Program LED_PICOPICO led_picopico x30 316 LED MOMOOSO
98. IB Debug RRC EB STS TE Detail options Setting gif Finish Fahcel 4 8 HEW Setting the Debugger Options R8C Tiny E8 4 4 Changing the File Names to be Created LED_PICOPICO C ILED_PICOPICO LED_PICOPICO2 Next C C HEm PrnjEEt harmginE thE FilE Hames tn he rEat The fnllnming source files mil GE sfr rd15 h Start up TE hcrth a ll Start sctdH IIC LED PICOPICO2
99. R Special Function Reg 3 27 HEW 3 28 R8C Tiny E8 35 3 3 12 PC P PC PC PC LED FOPFIED High perfiormance Embedded OEE edpicopico rl CE 0 Fi FE
100. R8E15EP 0 5 LED include sfr_r yaid init void SFR Special Function Register yoid led_blink_aut yaid main LED1 2 init led_blink_outt Wald main void unsigned int timerX_count_500ms 0 5n0ms init SFR while 1 t W if ir_txic 1 20msec timer _count_500mst 3 26 HEW PC R8C Tiny E8 34 3 11 I O 3 CPU I O LED PICOPICO High performance Embedded Workshop LED_PICOPICO c FE P B UD lt
101. SR MW _init 37 38 while 1jt W E009 Dg10 MnV W 1H RU 4 KT a LED PICOPT Phase M16C Load Module Converter starting Load Module Converter lmc30 for RBC T1nmy M16C 5H Series Version 4 01 00 000 Covvricdht Cc 2004 Renesas Technolocv Cornv 3 22 HEW R8C Tiny E8 22 3 3 8 CPU CPU O PC 9 HEW
102. cesecesees 40 37 NNN 41 348 6 i 41 3 19 eeeeeeeeeeeeeeeeeeeeeeeseeeeeeseeeeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 42 3 20 eoseeeeeeeeeeeseeeeeeeeeeeeseeeeeeeeeeeeeeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 48 3 21 E8 no 49 4 iii 4 1 lt lt 50 4 2 eeeeeeeeeeeeeeeeeeeeesseeeeeseeeeeeeeeseeeeseeeeeeeees 50 4 3 emoeeeeeeeeeeeseeesseeeseesseeesseesseeeeeeeseeeseeeseeeseeeeseeeseeeseeeeeeeeeeeee 56 4 4 eeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 60 4 5 oo 3 61 R8C Tiny E8 6 E8 ememeeeeeeeeeeeeeeeeeeeeeeeeeee
103. cies sect30 inc sfrr815h G F5 E Shift F5 E M 2 PeO 3 36 HEW R8C Tiny E8 41 3 3 19 Release SessionR8C_E8_SYSTEM DefaultSession Release LED_PICOPICO Release LMC30 ID ID FEFh LED PICGOPICO High perfor mance Embedded Workshop led picopico c FE CE
104. ct Generator ver 4 00 03 001 MLED PICOPIGOx3n Dependencies sect30Linc ee wSR8C15CP X 0 5 LED 7 tb finclude sfr_r81 W void init yoid 3 SFR Spec unk IN Register yoid led_blink_out waoid z 7R SR8C15CP SFR C W main LED1 2 init led_blink_out yaid main vaid unsigned int timer _count_500ms l 500ms Init SFR while 1 1 Rl ifCir_txic 1 20msec 7 timer _count_500mst a LED PICOPL Ehase M16C Load Module Converter starting Load Module Converter Lmc30 for RA8C Tiny M16C 60 Series Version 4 01 00 000 Copyright Cc 2004 Renesas Technology Corp 3 21 HEW C C
105. eeeeeeeeeeeeeeeeeeeeeeeeeeeeee 25 2 E6 OU SE 28 ID 42 D DOC NSIMSMBOUSSada3veoiedsssesgedysdzessea 43 ID E8 45 HEW 51 R8C Tiny E8 1 E8 1 E8 1 1 E8 DS SN NINES TT GLE RIC TNE PC PC USB USB1 1 USB20 PC E8 E8 3 3V 5 0V 300mA MODE
106. gx Option function select register F 5ets the fill data in the free area ata ntinns Lmc 0 O GONF DIR2 RG JECTN ME mnt ID RBG fo k 4 12 HEW ID R8C Tiny E8 60 4 4 5 SessionR8C_E8 SYSTEM 9LED_PICOPICO2 High performance Embedded Workshop LED_ PICOPICO2 c 2 F CE P GB GS lm road 25 Dj SessionRBC EB SYSTE LED FIGGPTCOE ht target cnn
107. it led_blink_out 1 maintyaid unsigned int timer _count_500ms 0 W 500ms init SFR while 1 t W W If ir_txic 1 20msec timer _count_ 500mst 3 16 HEW E8 R8C Tiny E8 2 3 3 6 Tir LED_ PICOPIG High perfnr mance Embedded Workshop edipniropico rl FE CE P DD G Fenesas MIGG Standard Tanlchain FE i I 2 Cr F7 HE Fr LED PICOPI
108. ny performance Embededd Workshop M16C 60 30 Tiny 20 10R8C Tiny CR High performance Embedded Workshop High perfarmance Embedded Workshop ER M16C 60 30 Tny 2010 M32C 90 80 M16G B070 R8C Tiny hh GL ni10 RS E8 9 E8 7 Istall5hieln a lt GB w mm fk HEW NCSUWA 39 1 High performance Embedded Workshop 7 High performance Embedded Workshop CO
109. orkSpace LED PICOPICO2 B a Renesas M16G Standard 4 2 HEW Select CPU Toolchain version CPU Sereis R8C Tiny CPU Group 15 ROM16K Next HewiProject 176 S5electiiareet GPUoolchain rersion Toolchain wersion 4 OD Which EPL do ou Want to use fnr this project CPU Series TT there hn FL group tn he selected select the CPU Group that a similar tn hardware specificatinn or select Other lt Back hex gt Fnsh caneel 4 3 HEW Select CPU Toolchain version HEW HEW
110. rectinhn im ly nt PL ly 8 CPUHUEy wo 4 13 HEW 0 SessionR8C_E8 SYSTEM SessionR8C_E8_SYSTEM EE8 E8 E8 CPU 9
111. sionR8C_E8_SYSTEM SessionR8C_E8_SYSTEM R8C Tiny E8 48 3 3 21 E8 E8 HEW HEW HKW Disconnected Windows E7 E10 Adapter E7 E10 Adapter OK ES8 3 E8 E8 PC USB
Download Pdf Manuals
Related Search
Related Contents
電源の工事は電気工事店におまか 掘 ぎ 器具のワッ StarTech.com 6ft. Cat5e RJ-45 m/m Manuel application locale enrichie CE1 v2011 Indicazioni importanti Aerobell 33 (AER5000/AER5001) (Serv. Manual LN 厚生労働省医薬食品局安全対策課長 (公 印 省 ) TEMPPO Designer (IDATG) User Manual - Transmitter Solutions GYM WEIGHT EVOLUTION Copyright © All rights reserved.
Failed to retrieve file