Home

Getting Started on EasyKit & Toolkits \(V1.0\)

image

Contents

1. Infineon XC866 EasyKit Getting Started V1 0 Page 18 En DAvE Ai Using DAVE BLINKY E xcnle J ea d B Step6 1 Configure Port Module Click Port on DAVE main menu tink On the GPIO menu that appears click on Carta Configure Port 3 tab B Step6 2 Configure Port Module On the Configure Port 3 menu that appears Tick the checkbox for P3 0 to P3 7 Lem cs Select Port Direction radio buttons as Out ca S T for cen Hg M Doer chen p re Infineon En DAvE Ai Using DAVE BLINKY E cnle im a t B Step6 3 Configure Port Module Click PullDevice tap eem f Ensure all fields are set to Tristate Mores E Close the interface by clicking PiS pidin Fip pisi O PRF p Iu W Step6 4 Configure Port Module On the GPIO menu click on Functions tab ia Tick following checkboxes IO vinit XC866 EasyKit IO VWritePort Getting Started lO VTogglePin V1 0 Close the interface by clicking 28 Page 19 Infineon iert nolog P XC866 EasyKit Getting Started V1 0 Page 20 Ai Using DAvE BLINKY Ban ple otep7 Generate Code amp Save Click 4 tab to generate the code based on the settings for the XC866 you have just created Navigate to a directory of your choice to save the generated code Enter File Name as blinky to save your project as a DaVE project file dav S
2. Infineon XC866 EasyKit Getting Started V1 0 Page 38 6 Debugging Using HTOP eq HiTOP Please download your latest free debugger from Hil OP from the following link From Infineon Easy Kit EK866 CDV1 0 CD EK866 CDV1 OW oolsMHitexNsetup exe From Hitex Internet website http www hitex com xc800 Note If you are using monitor XC800 from Hi TOP to debug your program you will NOT be able to debug programs that uses the UART feature of the XC866 For example BLINKY program that is included with the CD Kindly use another example program from Hitex folder e g CLOCK IW TE Infineon 7 System Requirement B PC Requirement Intel Pentium M Processor 1400MHz 522 456 KB RAM Microsoft Windows 2000 Operating System B Other Software Requirement Terral erm Mtty Hyper Terminal XC866 EasyKit Getting Started V1 0 Page 39 _ Infineon technologies Never stop thinking
3. DAvE project DAVE Generated pM blinky asm blinky rtf AANA IO C IO H Select an item to view ts description ASTARI ALASI MAIN C MAIN H sed i UART C UART H My Documents j ih A blinky dav blinky dpt My Network Places Sd START XC A51 Ji TT SUN You can compare the files you have just created with the sample codes supplied with the Starter Kit in this location EK866 CDV1 OWGettingStarted BLINKY _ Example DAVE Generated Files En DAvE Site Type Wb C Source AKE CCP Header Bb C Source 1448 CICER Header AKE ASL Fi Bb C Source JKE CI Header JOKE Assembler Source ZB DAVE Project Data OKE Rich Text Format 3B DAN Fie XC866 Easykit Getting Started V1 0 Page 23 Step1 Run Keil Run Keil by clicking on the icon You will see this interface with Keil environment Step2 Start a new project Select Project tab and click Open Project Change File of Type field to Dave Project Files dpt Navigate to the directory where your generated DAVE files are saved refer to page 20 step 7 select blinky dpt and open the file lL Ee dese a Na CoepHeds pem RT a le Bala Pe eee ee Cr sr to ci 2x Look in E Blinky amp 5 ey Ee Filename binky dp oen Files of type Dave Project Files dot zD fi arhunmlilmmr Ce ningim XC866 EasyKit Getting Started V1 0 Page 24 Aii Using Keil BLINKY Exemnle B Step3 1 Configure Target Device In Keil main windo
4. 66 EasyKit Getting Started V1 0 Page 26 4i Using Keil BLINKY Exenrple WV KEIL B Step3 2 Configure Components Rene Da InEroject Targets tab double click on Target 1 ae and change it to blinky m In Groups tab double click on Dave Files and change it to Source Ensure that START XC A51 MAIN C UART C and IO C are included inEilestab In Groups tab double click on User Files and change it to Header Click on Addfiles to include IO H MAIN H and UART H Note You may find the files you need in the directory where your generated DAVE files are saved refer to page 20 step 7 Infineon 4 ii Using Keil BUNKY Exanple W KEIL B Step3 3 Configure Target Options In Keil main window click on Project tab E tm Foo m and select Options for Target blinky SE oor ce j Sie 1 Click on tet tab fontes ER manii Select the following Create Hex File In Name of Executable field change it to T Pur tee Pregae i Hram blinky abs l Deke Tage Caf glon an CE a Click on L51 Locate tab FP poe belean Layana bars Tange Caig Insert the following code CODE C 0x0 C 0x2FFF C 0xA000 C 0xAFFF XDATA X 0xF000 X 0xF1FF in User Class field XC866 EasyKit Getting Started V1 0 Page 27 Infineon 4 ii Using Keil BLINKY Example KEIL B Step4 Update Startup File Double click on START_XC A51 in Project Workspace window and expand P
5. DAVE Ge DAYE Startup Dialog B Step3 1 Updating DIP File DAvE Tutorial Click Close this dialog on the menu EL ee PTT TTG og and do not show it again View Options Add Ins T Generated Files E Register Explorer Navigate to View tab click on Setup Wizard menu XC866 Easykit Getting Started V1 0 Page 9 Infineon XC866 Easykit Getting Started V1 0 Page 10 2 1 DAVE Installation B Step3 2 Updating DIP File Select Installation radio button on DAvE Setup Wizard pop out window and click Forward to continue Note Select I want to install products from DAvE s web site radio button and click and click Forward to continue Hai LE 3 E 9 Fia ident d poni vairi to icd al prodat Bor thie Div CD HOM of if you mant Vo install products iin hom fe Dv Infineon os ee lation f DAVE 7 DAVE Sebun Berard B Step3 3 Updating DIP File Under Directories drop down option navigate to EK866 CDV1 O Tools DAVE and click Forward Select the XC866 check box and click Forward Click Install and your dip file will be XC866 EasyKit installed Getting Started V1 0 Page 11 Infineon Zii Keil Installation KEIL B installing Keil for the First Time Navigate to Keil setup folder EK866 CDV1 OYTools Keil Brochure VC51 Click on C51 XC800 EX
6. E and follow instruction until installation is completed You will see a new icon added to your desktop XC866 EasyKit Getting Started V1 0 Page 12 Infineon 2 1 HiTOP Installation B installing HITOP for the First Time Navigate to Hitex setup folder EK866 CDV1_0 Tools Hitex Click on setup exe and follow the instruction In the middle of the installation it will also install the DAS server for you Click OK to continue and when the installation is done it will restart the computer The following icon will be shown on the desktop upon a successful installation Er 5 Note During installation of Hi TOP please select both monitor XC800 and Tantino XC866 EasyKit XC800 Getting Started V1 0 Page 13 nfineor 3 EasyKit Setup B Step1 Power up EasyKit Power Red LED must light up B Step2 Connect PC s UART cable to EasyKit To PC Serial Port XC866 EasyKit Getting Started V1 0 Page 14 Infineon technologies XC866 Easykit Getting Started V1 0 Page 15 4 i Using DAVE BLINKY Exerrple B Step1 Run DAvE Run DAVE by clicking on the icon B Step2 Start a New Project Click Create a new project on the main menu B Step3 Select Controller Select 8 Bit Microcontroller tab and click Create DAVE ey DAYE Startup Dialog DAVE Tutorial See E Denia ea a m mST gt wk CREE ome Ro emne nnam drm Rm i ELE TT oeil TET T TH NI sate
7. Page 32 Si Using Flash Loader to Download Code LOAD B Step3 Set Jumper on EasyKit Short Jumper J6 to enter Boot Strap Loader Press Reset button on the mini X Board refer to page 6 UOSUTPUT o EE li 2982X 82L B Step4 Download Hex File into Click to download the hex file Select Yes to erase Bank 0 Sector O and Bank 3 Sector O You should see a Green COM status to show the EasyKit is connected to PC Click pretesa when completed You should see a Red COM status Infineon XC866 EasyKit Getting Started V1 0 Page 33 51 Using Hash Loader to Download Code ipea B Step5 Open COM Port You may use Mtty HyperTerminal or Terra Term to open COM 1 refer to EK866 CDV1 BTools rs332 Configure these settings to COM1 Port COM1 Baud rate 9600 Data 8 Bit Parity None Stop 1 Bit Flow Control None Note amm Ensure that COMI is not in use x 3 EFI B Step6 Remove Jumper on 03 Sa EasyKit Remove Jumper J6 to enter User mode Infineon XC866 EasyKit Getting Started V1 0 Page 34 51 Using Hash Loader to Download Code XC800 FLOAD Ot Tera Term COMI VT E zl x Step7 Run Downloaded Code x1 ti Setup Control Window Help Press Reset button on the mini X Board refer to page 6 Observe output on COM1 via chosen UART program Microcontroller Infineon 36866 Date Crea
8. XCS66 Getting Started on EasyKit amp Toolkits V1 0 March 2005 O Q Tu i nfineon tachnologias Never stop thinking Infineon Overview DAVE B This Getting Started will get you started in using the XC866 B You will be introduced to the following tools Code Generator DAVE v2 1 r22 XC800_ Compiler KEIL C51 FLOAD Debugger i HiTOP Flash Downloader Hil OP or XC800 Flash Loader XC866 EasyKit Getting Started V1 0 Page 2 XC800 FLOAD XC866 EasyKit Getting Started V1 0 Page 3 1 Introduction to EasyKit Tools Installation DAVE Installation l Keil Installation l HiTOP Installation EasyKit Setup Writing Codes for XC866 l Using DAvE l Using Keil B The following topics will be covered in sequence code generator compiler debugger downloader code generation writing user code XC800 FLOAD XC866 EasyKit Getting Started V1 0 Page 4 5 Download Compiled code to EasyKit l XC800 Flash Loader Il HiTOP 6 Debugging the Code using HITOP 7 System Requirement Infineon Overviev B There will be an example to guide you through the process of EasyKit setup code generation compilation and debugging using BLINKY example B If you wish to run BLINKY example using the sample codes provided with the CD proceed to Section 4 and Section 5 Note 1 Please ensure that the necessary software ar
9. e installed first before connecting the hardware setup 2 References to EK866 CDV1 0O refers to the CD drive of your PC 3 For more information on jumper J3 and J6 settings please refer to the mini XC866 EasyKit x board User Manual on the CD Getting Started V1 0 Page 5 fi nrineon teronolagie XC866 EasyKit Getting Started V1 0 Page 6 Overvie vv B Documentation References 1 XC866 User Manual v0 2 January 2005 2 mini x board User Manual v0 1 March 2005 B Website Updates http www infineon com XC866 B Support amp Assistance Register for XC866 Product Support httos www intineon com cgi ecrm dll ecrm scripts contact contact sp Infineon Serial Port to PC XC866 MicroController Jumper Settings J6 BSL mode MBC o o RA BSL XC866 Easykit Getting Started V1 0 Page 7 1 Introduction to EasyKit Tfal heba Usi LO M T 1 5 ETT OCDS to Tantino ULINK Power Plug Port 3 GPIOs Reset Power Up LED Infineon XC866 EasyKit Getting Started V1 0 Page 8 24 DAVE Installation En DAvE Step1 Installing DAvE for the First Time Navigate to DAvE setup folder EK866 CDV1 OYToolS DAvEN Click on setup exe and follow the instruction until installation is completed You will see 2 new icons added on your desktop DoE Step2 Run DAVE SS D vE Run DAVE by clicking on the icon Infineon technolog BE 24 DAVE Installation E
10. ed BLINKY_E eee xample SourceCode MAIN C B E hd Infineon XC866 Easykit Getting Started V1 0 Page 30 Step7 Insert Other User Code Click on MAIN C and locate USER CODE BEGIN MAIN General 10 Copy the utility functions like delay and message function code from the sample code supplied in EK866 CDV1 OWGettingStarted BLINK Y Example SourceCode MAIN C Step8 Save Compile the Code Save the files by clicking on If there is no error you should be able to see the generated file blinky hex in the working directory 4 ii Using Keil BLINKY Example KEIL adis 4s the oo wees las Has ma a cE earn oe ee M ry ai jm ph pa pas pna ph mee eee ies a am ho aba jam PER PEERS SERPS YRS EEE d PEN TII Eb Lue CEPETE Program Size dataz12 0 xdata 0 const 0 code 1040 creating hex file from blinky blinky 0 Error s 0 Warning s i d Conmand 4 Findin Fies Infineon XC866 Easykit Getting Started V1 0 Page 31 B Step1 Run Flash Loader 5i Using Hash Loader to Download Code aim FLOAD Navigate to program folder EK866 CDV1 _0 Tools FLOAD XC800 FLOAD V3E Click on XC800 FLOAD EXE to run Step2 Select Hex File to Download Click on 4 1 to open hex file Navigate to blinky hex and click Open to select Fit ol yo as hes ae o0 toes P Open m incl carl Infineon XC866 EasyKit Getting Started V1 0
11. m Neri CE d Close ee ee os at Pees his d Close dialog and do not show itagain fe Chae Sew Projeti Infineon XC866 EasyKit Getting Started V1 0 Page 16 Ai Using DAVE BLINKY E cnle B Step4 Inspect General Settings Inspect general settings Close the interface by clicking Es Em ires Lick cattura tam om sce a a ps ee ce Em a CEFE hamr lie m Eu H T c B isi rnm mu E Step5 1 Configure UART Module en Pemanas Click UART on DAvE main menu 1 CI ij On the UART Serial Interface menu that eT appears Select the following radio buttons view Use pin P1 1 BLEU AI SIMONEN f Erbia eng ES Use pin P1 0 T HeiI 3 iie LAIT vaii haad a e EP Bier ST ol unk be Damasi acm pops ar xen fy Enable Receiver Il lle disgu rae DOT F Lpi mpm ti aM XII hk p a ETE IE FTT Infineon XC866 EasyKit Getting Started V1 0 Page 17 Ai Using DAVE BLINKY Ban pile Step5 2 Configure UART Module Click BRG tab In Reload Value field enter OxAD Step5 3 Configure UART Module Click Functions tab Tick UART vinit checkbox Close the interface by clicking n W iehi ee ial LIP r E PT LI Im am 7 APIS Pun Cini Fe Esaa BR ECU E Famaeibmxlum ok Actual bad Lis Bet uar ni Gan ET Heres
12. ower On Initialization of Memory option Make the following changes XDATA memory start address 0xF000 XDATA memory length 0x0200 kf binky prision 200866 betting Started BLT Sourcetede START LA ioe om en Bot Ge Ph Peta A wn w mug tee co ltena bee a e 5 ec ms r9 AR dr i of Meng IDATA reeanon erect SUE ener start siias XC866 Easykit Getting Started V1 0 Page 28 UE start Iain PIATA maray lene i Remin Shack mbishi FA Sat Pee Page For z Motel wath ia Bsta siata AM 7 Infineon lerhnulag m XC866 EasyKit Getting Started V1 0 Page 29 4ii Using Keil BLINKY Exerrple KEIL Lh di MEL a a E A a E Bre ie m rm ma at omm jee PR mmm TO XE D WEFasu1A8RWME ET E E i inm o LN am B Step5 Insert Function Prototype _ Click on MAIN C and locate Prototypes UE of Local Functions x Copy the local function prototype declarations from the sample code supplied In EK866 CDV1 0 GettingStarted BLINKY E xample SourceCode MAIN C SAFER TREE REREE di E Ea z af T J T t r g f a H i ud F 1 i Ed ee GEE b per hrei Dia Aah tet et BD re eh E Step6 Insert User Code orn a LLLA a obi aU cere Click on MAIN C and locate USER CODE BEGIN MAIN Main 3 Ae i TA EPLET E i813 a 5 PRIN um p i a Copy the user application code from the Sample code supplied in Pees ca m EK866_CDV1_0 GettingStart
13. ted 31 Jan 2005 Created Dy Infineon Technologies Welcome to example BLINKY Press any key to START BLINKY BLINKY started Please check LED Press any key for NEAT example Please check LED and make sure it is all lighted Press any key to STARI toggling LED Observe the LED Press any key to STOP toggling LED End of example BLINKY Thank you for using AGADO Infineon Su Using HTOP to Download Code B Option 1 Connecting with UART To use the UART monXC800 connection Jumper J3 will have to be shorted XC866 EasyKit Getting Started V1 0 Page 35 HiTOP Infineon 5 ii Using HTOP to Download Code uiroP B Option 1 Connecting with UART Connect the UART port on the mini X board to PC COM1 With UART connected you may access the full debugging options from HiT OP Note If the UART port on the Mini X Board is used for debugging purposes the UART features of the XC866 may not be used since it will interfere with the debug operations XC866 EasyKit Getting Started V1 0 Page 36 Infineon Sii Using HTOP to Download Code B Option 2 Connecting with Tantino box Connect the Tantino USB port to PC USB Connect the OCDS connector to the OCDS ports on the mini X Board Note Make sure the Arrow on the OCDS connector of the Tantino is connected to Pin 1 of the OCDS port of the mini X Board HELLE I XC866 EasyKit Getting Started V1 0 Page 37
14. teps Successful Generation Upon successful generation DAVE will E Tomes rote Donemtaon present a summary of the code generated 5 pe 0 099 T1 MM crei te raum a BTSs 133313 PRI Is mas eee ds ee see eed rou tea ed er Infineon I rhbnolagies Ai Using DAvE BLINKY E xenle B Step9 Check Generated Code You may click on the files on the left panel to expand or collapse the functions generated by DAVE Jm Dos gn uns Mi apro Mises T LL BHEENHNINEEEGENENHENHSEENBNHSETEBSNHESE wWEHHHHETESUNHZENBEHBBEEHENEEBENETSTEBENHBENETESEHHNHEUHEEHNHHNHNENHEEENHEHETYXE FIT UI FILI XC866 EasyKit Getting Started V1 0 Page 21 En DAvE P TIT ET Tamer aie Pins gar aso GET TRES S AE EET DEALER RC JR pee Sere Att ioe 0 1 ja Dgu i oi pbd a RRRRRRRRRRRRRRRRRRRRERRRRRRARRRRLRRRRRRRRR RARE AR RR RRRRRRR RR RR ARR BRE RR RR iy Wala ae Mule MA JM Prpjaze nrringi FLINT dv U Eireils Tuilimu 323i m ir epee lai i z ij gajageerat d m e Eeer Tii LLE denlalns Ue PIEJ dmiblall shhom Fuel ben rz IF BPigte Hiliki jp TTETETETETTTTTTTTETETTTETITTTTTTTTTTTETTTETETTTETTTTTTTTTTTTTETTTTTTTTTETTTI dinziuda AREH A Infineon XC866 EasyKit Getting Started V1 0 Page 22 Ai Using DAVE BLINKY E xenle B Step10 View Saved Files You will be able to see these 11 files generated by DAVE in the chosen directory where you have saved your
15. w click on Project tab and select Select Device for Target Target 1 In CPU tab select the following Use Extended Linker Use Extended Assembler In Database window ensure XC866 device is selected KEIL New Project Import visioni Project Open Project Close Project d Components Environment Books Select Device For Target Target gt Remove Item Options For Target Target 1 ges Translate Tieg Product Launch Starkter Kith ppHir Stop build Mab firewire in Laeger eget z I x eet XN AF Lia Lanes Lindsir ICT reda uf LST lames Ci E iire mre mmm L1 mmm mi C pa wm tute a spa nmm E DU AJ hehe a LO ru qd PENGE O unes Infineon 4 ii Using Keil BLINKY Example V KEIL New Project Import visioni Project B Step3 2 Configure Components nen Project Close Project In Keil main window click on Praject tab and select Components Environment df Components Environment Books Boo ks Select Device For Target Target 1 Remove Item Options For Target Target 1 ges Translate Ci sC866 Product Launch Skarkter Kith ppHir Stop build You will see the following in Project Components SE V Eas al tab beata OE Fb inn Project Target Target 1 rs T Groups Dave Files amp User Files Files START XC a51 MAIN C IO C amp UART C XC866 EasyKit Getting Started Page 25 m 5e 5 Infineon XC8

Download Pdf Manuals

image

Related Search

Related Contents

Vita-Mix 120 VAC Models Blender User Manual  PDFファイル  Manual del Usuario - Epson America, Inc.  émettre des appels - Migros  FRE-22408N-GL16  P3031 & P3032  K-9350  KOHLER 1974-47 Installation Guide  御設備の使用方法ー二ついて (2) 夫 〝ー  SmartPool Inc PE13 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file