Home
FTU2 User manual
Contents
1. e Force software Can be used with any action Forces EPP emulation the FTU2 to ignore the results of ECP or EPP tests on the parallel port and use software emulation instead The default behaviour is to use software emulation but this switch may be useful if you wish to test ECP or ECP using the t switch but still use emulation for the actual communication 1 2 2 RC200 command line FTU2 FTU2 commands for the RC200 are of the form RC200CmdFTU lt action gt lt switch gt parameter lt filename gt Some of the actions have required and optional switches some of which take a further parameter If a file name is used it is always the last parameter If you are targeting SmartMedia you are recommended to use logical addressing rather than physical addressing Logical addressing recognises and avoids reserved and bad blocks in the SmartMedia such that visible block addresses are always good blocks To use logical addressing you need to format the card to a Celoxica specification by using the f action described below When using a SmartMedia card with the RC200 it is possible to write data to it such that it will no longer work in a digital camera or other similar device This is more likely to occur where physical addressing has been used to access the card To return a SmartMedia card to a state where a digital camera can format it use the s action as described below Actions The following actions may be
2. following switches can be used with the RC100 A www celoxica com Page 9 FTU2 User manual Command Meaning 1 FlashAddress Start location n Bytes File size q PortAddress Parallel port base location t Mode Use EPP or ECP mode Celoxica Description Required for r d and b actions Has no effect on other actions FlashAddress can be specified in decimal or hexadecimal notation and specifies the location in Flash at which a read or write operation should start For example 1 0x10000 or 1 65536 Required for the r action Has no effect on other actions Bytes specifies the number of bytes to read from the Flash memory in decimal or hexadecimal notation For example n OxEA60 or n 60000 Can be used with any action Allows you to specify a parallel port address in hexadecimal other than the default of 0x378 Ensure that the specified address is correct or your system may become unstable Can be used with any action Mode can be epp ecp Or ecp epp Causes the FTU2 to check for ECP and or EPP capabilities in the parallel port and use them if possible For example to test and use EPP only use t epp To test for ECP and EPP and use them use t ecp epp If this switch is not used the default behaviour is to test for ECP and EPP but then use software emulation Using this switch can result in higher performance A e www celoxica com Page 10 FTU2 User manual Celoxica
3. performed for the RC200 Required switches are indicated where appropriate a i www celoxica com Page 11 FTU2 User manual Command Action C Configure FPGA x Clear FPGA r Read data from SmartMedia d Write data to SmartMedia b Write BIT file to SmartMedia sS Test and restore physical format of SmartMedia Celoxica Description Configures the RC200 with the specified BIT file You must supply the name and path of the file For example if you were running the command line in the same directory as your BIT file RC200CmdFTU lt c gt lt MyFile bit gt Erases the RC200 FPGA Requires no other parameters Reads data from SmartMedia card into a file You must specify the name and path of a file to store data in a start location in the SmartMedia card and the number of bytes to read For example RC200CmdFTU lt r gt lt 1 0x32 gt lt n OxEA60 gt lt FlashData txt gt Writes a data file to the SmartMedia card You must specify the name and path of the file to read and a start location in SmartMedia card If you want to write a BIT file use the b command Writes an FPGA configuration BIT file to the SmartMedia card You must specify the name and path of the file to read and a start location in SmartMedia card Returns a SmartMedia card to a state where most digital cameras can format it for normal use This is achieved by testing every block on the SmartMedia card and marking any that
4. wrong kind of bit file 1 1 3 Writing files to Flash memory To use the graphical version of the FTU2 program to write a file to Flash memory on the RC100 board 1 Press the Write Flash icon at the top of the screen This allows you to access the relevant settings 2 Press the Query Device button This will detect which Flash device is installed on your board You do not need to do this if the device is already displayed in the Flash Device box 3 Press the Add button to browse for a file An Enter Start Location box will appear Enter the Flash location you want to start writing the material to You can specify this in bytes or as a vector The FTU2 program will calculate and display the End Location 5 Press the Configure button Progress will be displayed in a dialog The dialog disappears once the download is complete and OK will be displayed in the Status field in the Flash Writing Schedule box if the download was successful You can write files of any name By default files with a bit extension are treated as FPGA configuration files and others are treated as binary files You can change this by right clicking on a file and toggling the Write as an FPGA file setting To change the Start Location of a file right click it in the file list and choose Set Start Location If you want to write to SmartMedia on the RC200 use the command line version of the FTU2 Using lists of files You can create a list o
5. 200cmdftu d 2 mydatafile Read 0x1000 bytes from SmartMedia starting at logical block 4 to mediacopy bin rc200cmdftu r 1 0x04 n 0x1000 mediacopy bin For further information see also RC200 command line FTU2 see page 11 S www celoxica com Page 16 FTU2 User manual 2 Index B BIT files 4 5 8 downloading to FPGA 5 F File Transfer Utility 4 5 6 7 8 9 11 M s ni 4 downloading to FPGA 4 reading from Flash 4 writing to Flash 4 Flash RAM ccccceacceeeceseeeeeeeneeenenas 4 reading data to a file 4 writing files to 4 15 FTU2 program suset hornene 4 8 15 boards supported 4 command line for RC100 8 9 command line for RC200 4 8 11 GUI 4 log files 8 overview 4 8 port settings 4 reading from Flash 7 reading from SmartMedia 4 11 15 specifying port settings 4 writing to Flash 6 writing to SmartMedia 4 11 15 writing to the FPGA 5 8 R RCLOO A Matas 4 configuring the FPGA 5 File Transfer Utility 4 8 reading from Flash 7 writing to Flash 6 RC200 board sssr 4 15 configuring the FPGA 5 Celoxica downloading BIT files to SmartMedia 8 File Transfer Utility 4 8 reading from SmartMedia 8 15 writing to SmartMedia 8 15 reading form Flash memory 7 8 S SmartMedia 4 8 11 15 downloading BIT files on RC200 4 11 reading from on RC200 4 11 15 writing to on RC200 4 11 15 Ww writing to an FPGA 5 writing to Flash memory 6 8 A
6. Celoxica Platform Developer s Kit IA FTU2 User manual FTU2 User manual Celoxica Celoxica the Celoxica logo and Handel C are trademarks of Celoxica Limited All other products or services mentioned herein may be trademarks of their respective owners Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder The product described in this document is subject to continuous development and improvement All particulars of the product and its use contained in this document are given by Celoxica Limited in good faith However all warranties implied or express including but not limited to implied warranties of merchantability or fitness for purpose are excluded This document is intended only to assist the reader in the use of the product Celoxica Limited shall not be liable for any loss or damage arising from the use of any information in this document or any incorrect use of the product The information contained herein is subject to change without notice and is for general guidance only Copyright 2005 Celoxica Limited All rights reserved Authors RG Document number 1 Customer Support at http www celoxica com support Celoxica in Europe Celoxica in Japan Celoxica in the Americas T 44 0 1235 863 656 T 81 0 45 331 0218 T 1 800 570 7004
7. E sales emea celoxica com E sales japan celoxica com E sales america celoxica com A www celoxica com FTU2 User manual Celoxica Contents 1 CELOXICA FTU2 PROGRAM uuuununnnunnnunnnnunnnunnnunnnunnnnunnnunnnunnnunnnnnnnnunnnn amp 1 1 USING THE FTU2 FROM THE GUT 220nnuunnunnnunnnunnnnnunnunnnunnnunnnnnn amp 1 Ll FTU port Settings na A 4 1 1 2 Configuring the FPGA oooocccccccnccnccnccnncnnnnnnncnnccnncnncnnnnnnn cnn cennrrnnnannnnnnannnnnns 5 1 1 3 Writing files to Flash Memory 0ooococccccncccccnncnnnnnnnnnnnnnnannnnnnnannrnnnnnrnnnnnanninnes 6 1 1 4 Reading data from Flash memory c oooccccccccncnncnnnonconncnnnnnnnannnnnnnnnnancrnnnnnnnnnn 7 1 1 5 FTUZ log les iio a o DE Re eee 8 1 2 USING THE FTU2 FROM THE COMMAND LINEcccccccrnnnnnnnr 8 1 2 1 RC100 command line FTU2 2 0 ccc cc cce cece ccc ee eee eeeeeeeeeeesueeeeeeeeeugunenen sues 9 1 2 2 RC200 command line FTU2 2 0 Ed cece cece cee ee ee a a aaia 11 1 3 WORKING WITH SMARTMEDIA zuusssunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn LD LSA EXamplesar 22u 20 a ai Ai e 15 2 INDEX coincida ais LZ A www celoxica com Page 1 FTU2 User manual Celoxica Conventions A number of conventions are used in this document These conventions are detailed below x Warning Message These messages warn you that actions may damage your hardware Handy Note These messages draw your attention to crucial pieces of information Hexa
8. any action Mode can be ECP mode epp ecp or ecp epp Causes the FTU2 to check for ECP and or EPP capabilities in the parallel port and use them if possible For example to test and use EPP only use t epp To test for ECP and EPP and use them use t ecp epp If this switch is not used the default behaviour is to test for ECP and EPP but then use software emulation Using this switch can result in higher performance e Force Can be used with any action Forces the software EPP FTU2 to ignore the results of ECP or EPP emulation tests on the parallel port and use software emulation instead The default behaviour is to use software emulation but this switch may be useful if you wish to test ECP or ECP using the t switch but still use emulation for the actual communication 1 3 Working with SmartMedia You must use FTU2 from the command line not the GUI to access SmartMedia devices on RC200 and RC203 boards The FTU2 utility supports both physical addressing and Celoxica formatted logical addressing Logical addressing accommodates bad blocks on otherwise useable media 1 3 1 Examples Write bitfile mybitfile bit to SmartMedia at logical block 4 rc200cmdftu b I 0x04 mybitfile bit Write bitfile mybitfile bit to SmartMedia at physical block 2 rc200cmdftu b p 0x02 mybitfile bit A www celoxica com Page 15 FTU2 User manual Celoxica Write binary file mydatafile to SmartMedia at logical block 2 rc
9. are found bad erasing all good blocks so they are ready to be written to and writing a valid CIS Card Information Structure and MBS Master Boot Sector to the card Performing this action may take some time as it involves writing and erasing every block in the SmartMedia card several times A www celoxica com Page 12 FTU2 User manual Celoxica f Perform logical Performs a logical format of a SmartMedia format of card on the RC200 to the Celoxica SmartMedia specification This is required before the card can be accessed from the FTU2 or the FPGA using logical addressing It is recommended that a logical format is performed on all SmartMedia cards before further use with the FTU2 or RC200 Switches The following switches can be used with the RC200 D www celoxica com Page 13 FTU2 User manual Command p BlockAddress 1 LogicalAddress n Bytes Meaning Physical address location Skip bad blocks when using physical addressing Logical address location File size Celox ca Description Required for r d and b actions unless the 1 switch is used Has no effect on other actions BlockAddress specifies the SmartMedia block address to start a read or write operation at in decimal or hexadecimal notation For example p 0x32 Or p 50 Physical addressing does not take account of bad or reserved blocks so there is a risk of overwriting data and reserved blocks Logical ad
10. decimal numbers will appear throughout this document The convention used is that of prefixing the number with 0x in common with standard C syntax Sections of code or commands that you must type are given in typewriter font like this void main Information about a type of object you must specify is given in italics like this copy SourceFileName DestinationFileName Optional elements are enclosed in square brackets like this struct type_Name Curly brackets around an element show that it is optional but it may be repeated any number of times string character at ia www celoxica com FTU2 User manual Celoxica Assumptions amp Omissions This manual assumes that you e have used Handel C or have the Handel C Language Reference Manual e are familiar with common programming terms e g functions e are familiar with MS Windows This manual does not include e instruction in VHDL or Verilog e instruction in the use of place and route tools e tutorial example programs These are provided in the Handel C User Manual A www celoxica com FTU2 User manual Celoxica 1 Celoxica FTU2 program The Celoxica File Transfer Utility FTU2 allows you to configure the FPGA on a RC100 or RC200 board via a parallel port cable The FTU2 also allows you to interact with Flash memory SmartMedia on the RC100 and RC200 You can download a BIT file write data from a file or read data from the memory The FTU2 can b
11. dressing avoids these risks When using physical addressing bad blocks will be read and written resulting in possible data loss To stop this behaviour use the k switch Can only be used with the p switch for physical addressing Causes the FTU2 to ignore bad blocks when reading from or writing to the SmartMedia card Note that this can cause the data written to take up more blocks than expected carrying the risk of overwriting subsequent data Required for r d and b actions unless the p switch is used Has no effect on other actions LogicalAddress specifies the location in SmartMedia at which a read or write operation should start in decimal or hexadecimal notation For example 1 0x32 or 1 50 You must perform a logical format action before using logical addressing Required for the r action Has no effect on other actions Bytes specifies the number of bytes to read from SmartMedia in decimal or hexadecimal notation For example n 0xEA60 or n 60000 The FTU2 will tell you how many blocks will be read although the file saved will contain the number of bytes requested A www celoxica com Page 14 FTU2 User manual Celoxica q PortAddress Parallel port Can be used with any action Allows you to base location specify a parallel port address other than the default of 0x378 Ensure that the specified address is correct or your system may become unstable t Mode Use EPP or Can be used with
12. e run from a graphical interface or via the command line If you want to interact with the SmartMedia card on the RC200 or download a BIT file to Flash memory on the RC100 you need to use the command line version of the program 1 1 Using the FTU2 from the GUI The graphical version of the FTU2 allows you to e configure the FPGA or read from or write to Flash memory on the RC100 e configure the FPGA on the RC200 To start the program select Programs gt Celoxica gt Platform Developer s Kit gt FTU2 program from the Start menu Before you write to or read from your board 1 Check the board is connected to your PC and switched on 2 Select RC100 or RC200 from the drop down menu in the top left hand corner 3 Test the port settings 1 1 1 FTU2 port settings Celoxica FTUZ Be 215 xi Ach Celoxica RC100 fl a ni FPGA Read Flash Write Flash Eeloyica You need to configure the port settings for the FTU2 program the first time you use it with a particular PC or board After this you should not need to change the settings A www celoxica com Page 4 FTU2 User manual Celoxica Port Address The default parallel port for the FTU2 is LPT1 To change this e Select the LPT2 button OR e Select the Other address button and write an address in hexadecimal in the box next to it x If you specify a random address in the box next to the Other address button you could cause your PC to cra
13. er manual Celoxica 1 2 1 RC100 command line FTU2 FTU2 commands for the RC100 are of the form RC100CmdFTU lt action gt lt switch gt parameter lt filename gt Some of the actions have required and optional switches some of which take a further parameter If a file name is used it is always the last parameter Actions The following actions may be performed for the RC100 Command Action Description C Configure FPGA Configures the RC100 with the specified BIT file You must supply the name and path of the file For example if you were running the command line in the same directory as your BIT file RC100CmdFTU lt c gt lt MyFile bit gt x Clear FPGA Erases the RC100 FPGA Requires no other parameters dE Read data from Flash Reads data from Flash memory into a file You must specify the name and path of a file to store data in a start location in the Flash memory and the number of bytes to read For example RC100CmdFTU lt r gt lt 1 0x10000 gt lt n OxEA60 gt lt FlashData txt gt d Write data to Flash Writes a data file into the Flash memory You must specify the name and path of the file to read and a start location in Flash memory If you want to write a BIT file use the b command b Write BIT file to Flash Writes an FPGA configuration BIT file into the Flash memory You must specify the name and path of the file to read and a start location in Flash memory Switches The
14. f files and write them all in a single session Use the Add and Remove buttons to create your list and press the Configure button once the list is complete You can save your file list together with the Start End location settings by pressing the Save List button Press the Open List button to access previous lists By default saved lists have an ini extension but you can specify any name www celoxica com Page 6 FTU2 User manual Celoxica 1 1 4 Reading data from Flash memory To use the graphical version of the FTU2 program to write material from Flash memory on the RC100 board to a file on your PC 1 6 Press the Read Flash icon at the top of the screen This allows you to access the relevant settings Press the Query Device button This will detect which Flash device is installed on your board You do not need to do this if the device is already displayed in the Flash device box Enter the Start Location of the material you want to read from Flash You can use hexadecimal or decimal numbers If you use decimal numbers they will be converted to hexadecimal Enter the number of bytes you want to read from this location in the File Size box Choose an Output File You can browse to select an existing file or write the path and name for a new file If you choose an existing file the content will be overwritten Press the Read button The name of the output file can have any extension The default extension is bi
15. n If you want to read from SmartMedia on the RC200 use the command line version of the FTU2 a is www celoxica com Page 7 FTU2 User manual Celoxica 1 1 5 FTU2 log files The FTU2 program creates a log of all the commands executed within a session To view this right click on the title bar of the program and select Open Log File right click on title bar Celoxica FTUZ rae Celoxica RC100 Leloxica Ynetnea Port Settinc Minimize lm Maximize Open Log File Flash Device Unknown Help About FTUZ Start Location 0x000000 Query Device Close Alt F4 The log will open in your default text editor The log is erased when you close the FTU2 program 1 2 Using the FTU2 from the command line In addition to the graphical version of the FTU2 you can run the FTU2 from the command line The command line version of the FTU2 allows you to perform the following operations on the RC100 or RC200 e configure the FPGA e read from Flash memory SmartMedia e write to Flash memory SmartMedia e download a BIT file to Flash memory SmartMedia FTU2 commands are of the form RCX00CmdFTU lt action gt lt switch gt parameter lt filename gt Some of the actions have required and optional switches some of which take a further parameter If a file name is used it is always the last parameter A www celoxica com Page 8 FTU2 Us
16. sh Port Mode By default all 3 parallel port tests are selected This will lead to faster communication between your PC and the FPGA or Flash memory on the board However some of the tests may cause problems on certain PCs If there is a problem when you test the port settings try unticking some of these tests Testing port settings Once you have set the address and port mode or have left the default settings 1 Check that the board is connected to your PC and switched on 2 Press the Test Settings button 1 1 2 Configuring the FPGA To use the graphical version of the FTU2 program to download BIT files onto the FPGA 1 Press the FPGA icon at the top of the screen This allows you to access the relevant settings 2 Use the Browse button to select the file you want to download Recently selected files will be shown in the box on the screen 3 Configure the FPGA using one of these methods e Double click a file from the list on the screen e Select the file from the list and press the Configure button e Right click a file and select Configure FPGA with this file If you want to edit the list of recent files you can Browse to select files or press Remove to delete files at ia www celoxica com Page 5 FTU2 User manual Celoxica If the bit file you select is not configured for the FPGA on your board there will be a red exclamation mark next to the file name You may damage your FPGA if you use the
17. www celoxica com Page 17
Download Pdf Manuals
Related Search
Related Contents
A User's Guide to the International HapMap Project Web Site I CRAFTSMAN°I Données Techniques Samsung SH-M522C Chapter 3: Users - kiteassessments.org Higro-Termómetro Digital Registrador de datos Notice - Castorama icomfort Touch® Thermostat - DGL Air Conditioning & Heating Copyright © All rights reserved.
Failed to retrieve file