Home

PADAUK FPPA

image

Contents

1. 22 4 5 PROGRAM TM FT 23 5 APPENDD sce RW Y TH ER RR A 26 co B ua Eu a G 26 PB CH H I I Q 27 5 3 ICE EXTENSION BOARD AND EXTENSION CABLE ecececcececececcccececcccccecececueuunenscecunenensceuauaenecsuaucenenerscausunenetsreuaenenenes 28 Copyright 2005 PADAUK Technology Co Ltd 3 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Revision History Revision Dae Remak O Preliminary 1 edition V0 20 2006 9 19 Tom Tang Preliminary 2nd edition 0 40 2006 12 12 Tang Copyright 2005 PADAUK Technology Co Ltd 4 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE 1 INTRODUCTION The PDK8S FPPA Integrated Development Environment IDE which provides an environment for designer to develop and debug the system It includes an PDK8S I In Circu
2. 6 2 1 CHARACTERISTIC OF FPPA M ICE seite tt trate erase De Rave a eL end nea s a oA Da LUD ENYD CN evade 6 2 2 FPPA IDE AAA AAA AAA AAA AGA AU LU 6 2 3 SYSTEM AND HARDWARE REQUIREMENT esecccececececcccecececaunecececuuaenecscauuaenecsceuuaenenensceeuuaenenstsuaunenecsesuaenenensnauenenenes 9 3 IDE SOFTWARE AND USB DEVICE DRIVER INSTALLATION errem nen nnn nene n unns 9 3 1 IDE SOFTWARE INSTALLATION ccccecececcececececcccecececucecececcuauuenscaeceuenensuauauaenenenscauauaunenseaeunenstsuauaunenststsuaenensrenauaenensenens 9 3 2 FILE DESCRIPTION YY GIG GG eene eene ec GL FUR EUR LL LU LU FUR UR LD EDR DR LD EU EDR sese e esee serere ens 11 3 3 USB DEVICE DRIVER INSTALLATION LG GOR rn avus uS UAN WAG OU uma tg e a DUE E e ORG Dre Ea Den proa 11 4 HOW TO USE FPPA IDE sseeseeeerrrenennenenn nennen tnssena tesa LIU 16 A 1 FILES 16 4 2 START FPPA 17 4 3 DEBUG PROJECT 18 4 4 DESCRIPTION OF
3. x v DD Voltage 0 0 Write Read Tool Progress Fig 4 7 Window of Programmer Tools Step 3 Use Browser to select the file which you want to program then gt the The Programmer Tool will load the machine code in the selected HEX file into the temporary buffer automatically If the path of HEX file had been set correctly click Load to load the machine code into the temporary buffer directly e Temporary buffer is used for user s inspection and data to be written into the real target device OUO MEMU UCM OU Copyright 2005 PADAUK Technology Co Ltd 24 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step 4 Select the part number from Target Chip otep 5 Select Auto to write HEX machine code into the target real chip The function of Auto combines BlankCheck Write and Verify into one icon If all the steps in the above sequence are successful there will be SUCCESS message otherwise FAIL message is shown User can click Read to read back the HEX machine code to temporary buffer from the un protected target chip please notice that the data in the temporary buffer is not the expected one if using Read command to read HEX machine code from the protected target chip you can not use this temporary buffer to program the new chip You
4. goto program EOSCR 38 nFlag IHRCRL 39 SR lt lt lt lt lt lt lt lt lt lt lt lt nsP IHRCRH 40 romadr 0 010 FPPA z FPP2 PA 41 0010 1 06 mov ram6 store A Window nPC PAC 42 0011 0805 tOsn B nacc PAPH 43 DD12 3821 goto intO PAOD 44 0013 0825 45 0014 3823 46 0015 0845 47 0016 3825 48 0017 0865 PBC PBPH PBOD tOsn intrg 1 nSP goto intl a FPP tOsn intrg 2 3 goto inte nace tOsn intra nFlaq 49 0018 3827 goto int3 nSP 50 0019 0885 t sn intrg 4 1 51 001a 3829 goto int4 52 0018 08a5 tOsn 1ntrq 53 001 382bh goto int5 s nFlaq 54 0014 08 5 tOsn intrg 6 nSP 55 001 3824 56 001 08 5 57 0020 382f goto int6 FPPS tUsn intra 7 goto int nACC 58 nFlaq 59 1110 nsP nn 1 masr A rama J FPP6 yd x o Check the USB Device Hardware ID Watch x Address oo 01 04 os os o7 oe oo Add SFR zi rami Output Window Qro Qm Qr 0 81 128 0x01 0X74 116 Watch Window Ln 35 Col 1 Read 16 14 58 fw ASM ASIC VERIFY 2 Padauk FPPA V0 5 gt 4 14PM Fig 4 4 Window for Debug Mode Cop
5. 6 PAD 7 8 9 10 P DO PB 11 12 PB PB 13 14 PBI 15 16 PBO P 17 18 PCE PCS 19 20 PC4 21 22 PC2 23 24 PTO PD7 25 26 PD6 PDS 27 28 PD4 PD 29 30 PD PD 31 32 PDO 33 34 PEG PES 35 36 PE4 37 38 PET 39 40 PEO PE 41 42 PF6 PF5 43 44 PEZ 45 46 47 48 PFO 49 50 HEADER 25X2 HEADER25X2 Fig 5 2 CN2 Pin Definition SW2 BUTTON PUSH BTN Copyright 2005 PADAUK Technology Co Ltd 27 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE 5 3 ICE Extension Board and Extension Cable In order to meet the requirement of different device ICE extension board and extension cable are provided to connect from to different chips The PDK8S D 002 is used to connect devices with 28 40 44 pins and The PDK8S D 003 is used to connect devices with 14 16 18 20 pins Fig 6 3 as an example shows the connection from ICE to PDK80C28 gt similar connection can be done for different devices with different extension board and extension cable FPPA ICE PDKS8S D 002 Extension Board Fig 5 3 Connect CN2 to PDK80C28 socket Copyright 2005 PADAUK Technology Co Ltd 28 V0 4 Dec 12 2006
6. PADAUK PADAUK FPPA IDE User s Manual Preliminary Version 0 40 Dec 28 2006 Copyright 2005 by PADAUK Technology Co Ltd all right reserved 10F 2 No 1 Sec 2 Dong Da Road Hsin Chu 300 Taiwan R O C TEL 886 3 532 7598 ay www padauk com tw PA DAU K User s Manual of FPPA Integrated Development Environment IDE Important Notice PADAUK Technology Co Ltd PADAUK Technology reserves the right to change this documentation without prior notice Information provided by PADAUK Technology is believed to be accurate and reliable However PADAUK Technology makes no warranty for any errors which may appear in this document Please contact PADAUK Technology to obtain the latest version of device specifications before placing your order No responsibility is assumed by PADAUK Technology for any infringement of patent or other rights of third parties which may result from its use In addition PADAUK Technology products are not authorized for use as critical components in life support systems or aviation systems where a malfunction or failure of the product may reasonably be expected to result in significant injury to the user without the express written approval of PADAUK Technology Warranty Policy Thanks for choosing products from PADAUK Technology to be the solution in your system About this system developing kit PADAUK Technology offers warranty for this product for one year service from the date of sale
7. Open the window for program writer 4 5 Program Writer If it is successful to emulate your program in the ICE board gt a real chip with your program is required to build the real system e The PDK8S P Program Writer is used to write the user s program into PDK8OC real devices its interface is USB port and capable of bus power operation The following procedure shows how to write the user s program into PDK80C real devices otep 1 Before writing your program code into the real device please make sure that your program is verified okay in the ICE board and PDK8S P Program Writer is connected to your PC Click TE to connect board to USB port and download tool software to the Program Writer board or select command Programmer gt Connect and Programmer gt Download Tools OS from menu OUMEUMMMMMHHUMHH UD Ooe EEUDEEMM Copyright 2005 PADAUK Technology Co Ltd 23 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step 2 Click to open the window of FPPA Programmer Tool or select command Programmer gt Programmer Tools Fig 4 7 shows the window of Programmer Tools FFPA Programmer Tool ersion 1 00 Target File Path CAPAD AUR IMCUidemokit hex Browser 9 Taal Target Chip PADAUK Fie checksum OX64EDAFD i E Blank Check Verity VPP Voltage 0 0
8. System Microsoft Windows Professional N Version 2002 Service Pack 2 Registered to Computer Intel R Celeron R CPU 2 40GHz 2 38 GHz 224 MB of RAM Apply Fig 3 6 System Properties of My Computer Step 2 Click Hardware then click Device Manager The Device Manager in Hardware of System properties will be shown as Fig 3 7 System Properties System Restore Automatic Updates Remote General Computer Name Hardware Advanced Device Manager File Action View Help 2 a The Device Manager lists all the hardware devices installed on your computer Use the Device Manager to change the properties of any device x Drivers Driver Signing lets you make sure that installed drivers are compatible with Windows Windows Update lets you set up how Windows connects to Windows Update for drivers Hardware Profiles g Hardware profiles provide a way for you to set up and store different hardware configurations Hardware Profiles y Computer Disk drives 5 DVD CD ROM drives Floppy disk controllers Floppy disk drives Human Interface Devices IDE ATA ATAPI controllers Keyboards 7 Mice and other pointing devices 188 Network adapters amp Other devices Ports COM amp LPT Processors Sound video and game controllers Se Storage volumes d System devices amp amp 9 Universal
9. video and game controllers Se Storage volumes System devices amp amp 9 Universal Serial Bus controllers gt ADAUK PD685x USB Sis 7001 PCI to USB ope Update Driver amp SiS 7001 PCI to USB Ope Disable amp SiS PCI to USB Enhanced Uninstall USB Composite Device e USB Mass Storage Device Use Printing suport amp USB Root Hub USB Root Hub amp USB Root Hub Hardware profiles provide a way for you to set up and store 4 20 different hardware configurations Hardware Profiles LIS m Scan for hardware changes Opens property sheet for the current selection Fig 3 8 Select Properties of PADAUK PD685X USB Tools Controller otep 4 Click Driver then click Update Driver in the window of PADAUK PD685X USB Tools Controller The window of Hardware Update Wizard will be shown as Fig 3 9 then select Install from a list or specific location amp Universal Serial Bus controllers amp 9 PADAUK PD685x USB Tools Controller SiS 7001 PCI to USB Open Host Controller amp SiS 7001 PCI to USB Open Host Controller amp amp SiS PCI to USB Enhanced Host Controller USB Composite Device e USB Mass Storage Device Driver Provide Technologies Co Hardware Upd ate Wizard Driver Date 4 15 2005 1 10 0 1010 Not digitally signed PADAUK PD685x USB Tools Control mc me Ge
10. Development Environment IDE including FRPA assembler FPPA product datasheet e This User manual Copyright 2005 PADAUK Technology Co Ltd 6 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Fig 2 1 FPPA ICE Kit 2 2 2 FPPA M Program Writer Kit The components of FPPA M Program Writer kit include the following hardware and accessories as shown in Fig 2 2 1 FPPA ICE PDK8S P one 2 _ USB cablefor PDK8S P one 9 Install CD one Copyright 2005 PADAUK Technology Co Ltd 7 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE on oe ELE FPA oo FF IDE Tools Fig 2 2 FPPA Program Writer Kit 2 3 System and Hardware Requirement USB1 1 or USB2 0 Windows 98 ME NT 2000 XP 4MB free Hard Disk space 32MB system RAM or above 8 V0 4 Dec 12 2006 Copyright 2005 PADAUK Technology Co Ltd PA DAU K User s Manual of FPPA Integrated Development Environment IDE 3 IDE Software and USB Device Driver Installation 3 1 IDE Software Installation Before connecting the hardware accessories please install the IDE software and USB device driver follow the steps to install the IDE software Step 1 If your PC has been set to CD ROM auto load mode the IDE software will be installed automatically If please execute setup
11. FPPA M IDE software there are some files in the directory C Program Files PADAUK AFPPAIDE TOOL XCODE exe It s the FPPA IDE execution file FPPAIDE TOOL FPPAIDE INI Initial setting file for IDE and will be updated for every executing FPPAIDE TOOL PDIDEOS usb File for USB system management in operating system gt please don t remove or rename it FPPAIDE TOOL def Registers definition of FPPA M products please don t remove or rename it 3 3 USB Device Driver Installation After installing the IDE successfully gt the files for USB device driver of FRPA products will be copied to the directory which is specified by the operating system The USB device driver for FPPA M products can support Win98 SE Windows NT Windows 2000 Windows XP operating system If the USB device driver can not be installed automatically you can install the USB device driver manually the following steps are shown to install it in the Windows XP Copyright 2005 PADAUK Technology Co Ltd 11 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step 1 Click My Computer by using mouse right button then select Properties the window of System Properties will be shown as Fig 3 6 Computer t Recycle Bin System Properties Remote Advanced Sustem Restore Automatic Updates General Computer Name Hardware
12. PA DAU K User s Manual of FPPA Integrated Development Environment IDE 4 3 Debug Project Step 1 After finishing the program source code executing the assembler by click in the toolbar or pressing hot key F7 or select the command Build gt Build from menu The Fig 4 2 shows the information after executing assembler gt including the error message warning message program memory usage and data memory usage FPPA 0 510 Preliminary Version demo asm TM File Edit View Build Programmer Window Help CPU test 1 test instructions only chip leOx int ramD int rami Int ram2 int ram3 int ram4 int 5 Int ramb int ram int rams int ram9 int rama int ramb word 19 0 word ptrl NR NS word ptr2 word ntrJ ramadr word ramadr 0x25 int simenv On Build Target Compiler Version 0 500 Message Total 784 program words have been coded Message after assembler Message Total 22 data SRAM bytes have been declared PASS Check and Compile Pass Update IDE Parameters and Environment Generated debug file D project PALOOSEV ASM aSIC Verify demo lst Ln1 Coll 13 59 43 Fig 4 2 Message after Executing Assembler Copyright 2005 PADAUK Technology Co Ltd 18 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development En
13. Tu Fa TE TE BE k to Tool Breakpoint Fig 4 6 IDE Toolbar 4 4 1 File Management Open new The default extension name of new is asm t Open old file e The default extension name of old file is asm lg Save file e The default extension name of save file is 4 4 2 File Edit Cut the selected region into buffer Copy the selected region into buffer Paste the data from buffer Undo the previous operation Redo the previous undo operation Find the string Repeat to find the string forward Repeat to find the string backward SE HEV EB up amp Find the string and replace by other string Copyright 2005 PADAUK Technology Co Ltd 22 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE 4 4 3 Emulation and Debug Connecting ICE and downloading program machine code to ICE board Enable the debug mode and open the list file Ist Run command e otop the program execution Ef Reset command to initialize the device and program 1 Setor clear breakpoint set or clear is a toggle operation dm Clear all the breakpoints tp Step over command to do single step operation for subroutine Step into command to do single step operation for all instructions 4 4 4 Program Writer detect USB device and download tool software to Program Writer board
14. disabled FPP units e The default FPP unit for trapping is 0 Cancel Fig 4 5 Dialog of ICE Trap Setting Please notice that those unselected FPP units are still active and executing according to the hardware specified timing sequences Those unselected FPP units are only not for the trapping after program counter comparison If there is warning message like Fig 4 6 it means that the trap setting condition can not meet the hardware real situation e For example If the clock resource is shared to all FPP units however only FPP 0 and 1 are enabled in your program those disabled FPP units still occupy some of the clock timing slot although nothing is executed e When you stop the program execution this timing point may halt at those disabled FPP units you just ignore this message Copyright 2005 PADAUK Technology Co Ltd 21 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Warning Message Eg Break at imhibit Processor Fig 4 6 Warning Message of inhibit processor 4 4 Description of Toolbar The functional buttons on the Toolbar are shown in Fig 4 6 According to the different function these buttons can be classified into four groups file management file edit gt emulation debug program writer e The following describes the function of each button Clear LinkICE x X y Lade t
15. engineer can enjoy the power of multiple processors after learning the instruction command sets The FPPA is designed for system engineer to develop their system products including program editor assembler and debugger By using the Program Writer from PADAUK Technology a multiple processors product can be finished in this FPPA M IDE environment The features of FPPA IDE is listed as below Windows based user interface It is more easier for system engineer to use USB interface It can be used for most popular PC both desktop and notebook USB bus power No power adaptor provides neat and convenient environment for user Built in assembler All developing activity can be finished in the same windows Debugging can be finished by using single step breakpoint and tracking Provides tracking of multiple processors to develop program easily Built in OTP Program Writer to program the chip in the same windows 2 2 FPPA IDE Components 2 2 1 FPPA ICE Kit The components of FPPA ICE kit include the following hardware and accessories as shown in Fig 2 1 please check it after opening this packed kit and contact us if any shortage we shall send you the parts as soon as possible 1 FPPA ICE PDK8S I one USB cablefor PDK8S one Install CD one The contents in CD include e Software Driver of USB interface for Windows 98SE ME NT 2000 XP e Windows based Integrated
16. FTWARE FFFA TM IDE LICENSE This License Agreement Agreement is a contract between You whether as an individual as a representative of your employer and PADALIK Technology Co Ltd Company accept the terms of the license agreement t da nat accept the terms of the license agreement lt Back Cancel Fig 3 3 License Agreement Step 4 Choose accept then click Next the window is shown as Fig 3 4 PADAUK FPPA IDE Tool Install wizard Start Copying Files Review settings before copying files Setup has enough information to start copying the program files IF vou want to review or change any settings click Back f you are satisfied with the settings click ta begin copying files Curent Settings Add USB Driver POBS5s POSS 515 Add FFFA IDE TOOL application ta Program Files PADALIKSFPPA IDE TOOL WINDOWS MODE Execute file Fig 3 4 Installation Setting Copyright 2005 PADAUK Technology Co Ltd 10 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step 5 Click Next gt the window is shown as Fig 3 5 and the IDE installation is successful PADAUK FPPA IDE Tool Install wizard InstallShield Wizard Complete The InstallShield wizard has successfully installed IDE TOOL Chek Finish to exit the wizard Finish Fig 3 5 Install Complete 3 2 File Description After installing the
17. OUEUO EGBHMMMMHMHUHUMMMH OU UC R E EEUU Copyright 2005 PADAUK Technology Co Ltd 16 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE 4 2 Start FPPA IDE After installing the software successfully there will be a short cut FPPA IDE in the Desktop gt double click n to execute this program You can start a new project from the menu File gt New gt or you can EPPA IDE continue an old project from the menu File gt Open Fig 4 1 shows the window screen from opening an old project named demo e The programmer can use Edit Window to write the program source code most functions for editing are included Padauk FPPA 0 510 Preliminary Version demo asm File Edit View Build Programmer Window Help A 8 CPU test 1 MCUD only chi dk61leOx int P a nU H Toolbar int rami Int ram2 int ram3 int ram4 int ram5 Edit Window int int ram int rams int ram9 int rama int ramb NR word idxD word ptri word ptr word ptrJ Se ramadr word ramadr 0x25 int simenv FPPA IDE Ver 0 40 System be initialized Now IDE System be initialized OK Qutput Window Ln 1 Col 1 13 57 43 Fig 4 1 Select File for Project Copyright 2005 PADAUK Technology Co Ltd 17 V0 4 Dec 12 2006
18. Serial Bus controllers Fe Fig 3 7 Device Manager in Hardware of System Properties Copyright 2005 PADAUK Technology Co Ltd 12 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step 3 Click the folder of Universal Serial Bus Controllers then use mouse right button to select Properties of PADAUK PD685X USB Tools Controller The window will be shown as Fig 3 8 _ _ m System Properties ad Device Manager 1 System Restore Automatic Updates i Remote z General Computer Name Hardware Advanced File Action View lt Device Manager g TOM The Device Manager lists all the hardware devices installed i F 4 Bonnie 3 on your computer Use the Device Manager to change the p properties of any device Disk drives 4 DVD CD ROM drives zz Floppy disk controllers Floppy disk drives Human Interface Devices 4 IDE ATA ATAPI controllers Device Manager Drivers EN Driver Signing lets you make sure that installed drivers are compatible with windows Windows Update lets you set up how Windows connects to Windows Llpdate for drivers Hardware Profiles gt Keyboards 1 Mice and other pointing devices E9 Network adapters 4L Other devices Ports COM amp LPT WR Processors Sound
19. de and open the list file DEMO Ist Besides Output Window FPPA Window Registers Window Memory Window and Watch Window can be selected from View menu in order to debug the program easily the screen will be like Fig 4 4 if all the windows are opened The FPPA Window shows the status for each FPP unit the Registers Window shows the status of registers inside the chip the Memory Window shows the value of internal data memory and the Watch Window is used to monitor the value of selected names which are specified by user In the Watch Window you can monitor that the current breakpoint belongs to which FPP unit e The program halts at the reset vector after entering the debug mode a green line with yellow arrow indicates where the program counter is Padauk FPPA 510 Preliminary Version demo lst File Edit View Build Programmer Window Help x d d i FPP Window X Registers FPP Window NN x METTI TEE 27 DD7f int test 26 i Fees Vale A Registers vate 29 Program Begin FPPA tm FPPen gt BEDE gato orogram CLKMD 31 0001 3aa4 goto programl nPC INTEn 32 0002 3aa6 goto program2 INTRQ 33 0003 3aa8 goto program3 16 34 0004 goto program4 nsP GDIO 35 0005 goto program5 z FPP1 MULOP 36 0006 goto programb npc MULRH 37 0007
20. exe in the root directory of CD ROM gt the window for IDE setup will be the Fig 3 1 PADAUK FPPA IDE TOOLS FPPA IDE Version 0 510 Preliminary Version FPPA All New Microprocessor Technology Field Programmable Processor Array Contact Us View Our Website a m 7 _ H M gt PADAUK PADAUK Technology Co Ltd Fig 3 1 FPPA IDE Setup Screen Step 2 Click Install Products the window of Installation Utility is shown as Fig 3 2 PADAUK FPPA IDE Tool Install wizard PADAUK FPPA IDE Installation Utility The InstallShield Wizard will install FFFA IDE TOOL on your computer To continue click Next Fig 3 2 Installation Utility Copyright 2005 PADAUK Technology Co Ltd 9 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step Click Next the window of License Agreement is shown as Fig 3 3 PADAUK IDE Tool Install wizard License Agreement Please read the following license agreement carefully IMPORTANT TOU MUST ACCEPT THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENTTO RECEIVE A LICENSE FOR THE ACCOMPANYING SOFTWARE ACCEPT THE TERMS OF THIS LICENSE CLICK I ACCEPT OPEN THIS PACKAGE AND PROCEED WITH THE DOWNLOAD OR INSTALL IF YOU DO ACCEPT THESE LICENSE TERMS CLICK 1 ACCEPT DD OPEN THIS PACKAGE DOWNLOAD OF INSTALL THIS SO
21. it Emulator ICE gt PDK8S P Program Writer and integrated development software The PDK80S I is an ICE which is designed to emulate PADAUK FPPA Field Programming Processor Array PDK80C series devices e The PDK80S I performs basic functions such as run gt single step run gt breakpoints and halt advanced features such as processor array monitor and data monitor The PDK8S P is used to write the program code to the PDK80C series devices The PDK8S FPPA IDE is a window based software gt including editor gt assembler gt debugger and program writer The USB port is used to connect the PC for both ICE PDK8S l and program writer PDK8S P gt be easier for user to connect to the PC no matter desktop PC or notebook computer Especially both ICE PDK8S I and program writer PDK8S P can be operated normally by using power from USB bus it means that no more power adaptor is required when using PDK8S FPPA IDE i u Copyright 2005 PADAUK Technology Co Ltd 5 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE 2 Getting Started 2 1 gt Characteristic of ICE The FPPA products are implemented by an epoch making architecture multiple processors are built in one silicon die being capable of running each own program in parallel However the experience of system and program development can be inherited from that of traditional MCU System
22. ll be installed Search removable media floppy CO ROM Include this location in the search river Ww Don t search will choose the driver to install Choose this option to select the device driver from list Windows does not guarantee that the driver you choose will be the best match for your hardware Fig 3 10 The location of USB Device Driver Step 6 Click Next gt the wizard will install the software and have warning of Windows Logo as Fig 3 11 Found New Hardware Wizard Please wait while the wizard installs the software A PADAUE POSS USB Tools Controller Hardware Installation EN The software are installing for this hardware PADALIK USB Tools Controller has not passed Windows Logo testing ta verify its compatibility with Windows P Tell me why this testing iz important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway STOP Installation Fig 3 11 The warning of Windows Logo Copyright 2005 PADAUK Technology Co Ltd 14 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step 7 Click Continue Anyway to continue i
23. neral Driver Details PADAUK PD685x USB Tools Controller Driver Version Digital Signer This wizard helps you install software for Driver Details To view details about the driver files To update the driver for this device Roll Back Dri If the device fails after updating the driver roll pisc Diver back to the previously installed driver PADAUK PDE85 USB Tools Controller If your hardware came with an installation CD or floppy disk insert it now What do you want the wizard to do Uninstall To uninstall the driver Advanced Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue Fig 3 9 Hardware Update Wizard from PADAUK PD685X USB Tools Controller Copyright 2005 PADAUK Technology Co Ltd 13 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE otep 5 Click Next the Hardware Update Wizard will search the device driver the window will be shown as Fig 3 10 You must specify the location of USB device driver located Hardware Update Wizard Please choose your search and installation options 9 Search for the best driver in these locations Use the check boxes below ta limit or expand the default search which includes local paths and removable media The best driver found wi
24. nstalling After finishing installing the window will be shown as Fig 3 12 Then the USB device driver is installed successfully Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software Far FADALIK PDESF USB Tools Controller Click Finish to close the wizard Back Cancel Fig 3 12 The window of finishing installing Copyright 2005 PADAUK Technology Co Ltd 15 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE 4 How to Use FPPA IDE The functions of program edit assembler compiler debug and program writer are included in the FPPA M IDE software In the windows based developing environment user can develop and debug the system easily 4 1 Files Description For the FPPA M IDE operation there are four files must be put on the same directory The source file is DEMO asm DEMO asm as example and all the files are generated after executing assembler e The HEX format does not be compatible to any format in the current market it is proprietary format defined by PADAUK Technology DEMO asm Program source code it is a text file DEMO hex It is the machine code to be programmed into the chip DEMO hey It is the machine code to download to ICE board for emulation DEMO Ist List file for debugging
25. should load the HEX machine code from file again Loading HEX machine code into temporary buffer from file or target chip the CheckSum is always calculated for reference The supply voltage to the target chip is measured whenever there is any operation to the target chip from the Program Writer Copyright 2005 PADAUK Technology Co Ltd 25 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE 5 Appendix 5 1 ICE Board The CN2 in the PDK8S I ICE board includes all the general purpose I O pins of PDK80C series as shown in Fig 5 1 e The system designer can use Port A Port to handshake with external devices the Rdy Busy LED indicates that ICE is busy or ready button is used to trigger the system manually PA 1 LED can be used to show the status external crystal is option to choose the clock source MINI USB External Crystal Pin 1 CN Port A F connector Fig 5 1 GPIO pins of ICE Board Copyright 2005 PADAUK Technology Co Ltd 26 V0 4 Dec 12 2006 PADAUK 5 2 CN2 Definition User s Manual of FPPA Integrated Development Environment IDE Fig 5 2 shows the pin definition of CN2 and the PA 1 PA 0 circuit in the ICE board D 5V O R24 330 R0603 D2 For users 3W GREEN LED free use LED o R25 ed 100K Q3 R0603 2N3904 Nj 1 SOT 23 CN D45V CN2 PA7 1 2 PA6 3 4 PAF
26. to the customer Should the product malfunction or exhibit any defect within the warranty period PADAUK Technology shall either repair or replace the defective product free of charge in accordance with the warranty policy however that a certain repair or service fee will be charged to the customer if l The product failure or damage has been made by its misuse unauthorized modification or repair ll The product failure or damage is due to the act of buyers such as transporting moving or dropping the product after its purchase Il The product failure or damage has been caused by an external or environmental factor such as fire an earthquake lightening wind and flood gt or abnormally high voltage IV The failure of damage is due to connection to another device During this one year warranty period the customer shall return all package contents and accessories along the main unit describing the failure phenomenon sending this kit to PADAUK technology The company address is 10 F No 1 Sec 2 Dong Da Road Hsin Chu 300 Taiwan R O C and company web site is www padauk com tw Copyright 2005 PADAUK Technology Co Ltd 2 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Table of Content 1 INTRODUCTION 5 2 CE IP an2o
27. vironment IDE Step 2 Before going to step 2 you must make sure there is no error message in executing assembler and ICE board is connected to the USB port and then click connect ICE board to USB port and download program machine code to ICE board or select command Programmer gt Connect from menu If ICE connection is okay and program code is downloaded successfully the message in the IDE window will be shown as Fog 4 3 FPPA V0 510 Preliminary Version demo 2 File Edit View Build Programmer Window Help 5 CPU test 1 test instructions MCUO only ship 0 0 int int raml int ram2 int ram3 int ram4 int ramb int ramb int ram int rams int ram9 int rama int ramb word Lux 5 word word Pete word 5 ramadr word ramadr 0x25 int simenv ramadr 127 int test o Check the USB Device Hardware ID Load target file to internal buffer Nov o Program File CheckSUM Ox3bf919 ICE Connection Message o Update ICE Code Now DownLoad target file to ICE Now o Update ICE Code Ready Program File Download Success Ln 13 Col 12 Fig 4 3 Message after ICE Connection and Download Copyright 2005 PADAUK Technology Co Ltd 19 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step 3 Click 4 to start the debug mo
28. yright 2005 PADAUK Technology Co Ltd 20 V0 4 Dec 12 2006 PA DAU K User s Manual of FPPA Integrated Development Environment IDE Step 4 In debug mode Single Step and Step Over are supported to trace program status line by line Single Step is used to trace all the instruction in one step by clicking 44 or pressing hot key F11 the program will halt at the next program counter after executing the Single Step Step Over is used to trace subroutine in one step by clicking 4 or pressing hot key F10 the program will halt at the next program step after executing the Step Over Step 5 In debug mode gt using 4 to set a break by moving the cursor to the line where you want the program to be stopped gt a blue dot indicates breakpoint had been set successfully there are maximum five breakpoints can be set Click again to clear single breakpoint by moving the cursor to the line where you want Click 4m to clean all the breakpoints at the same time In the FPPA architecture there are more than one program counter in one chip gt each program counter belongs to its own FPPA correspondingly FPP unit may be the condition to trap the program counter Selecting the FPP unit to trap program counter in the debug mode enabling this dialog from Build gt ICE Trap Setting the window is shown as Fig 4 5 The comparison would not be taken place whenever the active program counter belongs to those

Download Pdf Manuals

image

Related Search

Related Contents

Mode d`emploi. Stores Demi coffre: Manuel et Éléctrique  THB Display-adapter with DialogPlus voice control and touchscreen  SPT SF-3314MD Use and Care Manual  Istruzioni d`uso VEGAFLEX 86  FORMULAIRE D`ABONNEMENT MODE D`EMPLOI 1  PIC programmeerkaart  Mode d`emploi pour la plantation de semis  

Copyright © All rights reserved.
Failed to retrieve file