Home

in English

image

Contents

1. buttons to choose between hexadecimal and ASCII coding modes The byte displaying and parsing will be made according to this option use this button to clear the text boxes of the Terminal Window 5 4 2 Erase sectors This feature allows you to erase sectors from the user area of the prototyping board s flash memory Erase sectors Sector number Starting address Ending address E G Change this number in order to choose a different user sector to be erased The correspondent user flash addresses interval that will be erased is identified below this option Gi Click this button to erase the chosen user area sector Click this button if you don t wish to erase more sectors 5 5 Help Menu 5 5 1 User manual This feature brings up the electronic version of this manual The user manual is available both in English and Portuguese languages 12 e Prototyping Board Manager User Manual Ni 5 5 2 About This feature shows some information concerning the Prototyping Board Manager The following table indicates the most probable causes and the suggested actions to carry out for the different error messages that you might encounter Error messages Probable causes Suggested actions The following file is already installed Please choose an external PBS file to install The following file is not a valid PBS file No prototyping board detecte
2. of protection against writing to the default bitstream area providing a 1 bit sized signal to indicate whether the protection is active or not accessible to the FPGA to be used by the default bitstream Notes Because PBM uses 3 byte sized memory flash addresses it can only address up to 16 megabytes This doesn t mean that you cannot use a bigger memory flash Although PBM protects against involuntary overwriting of the default bitstream stored in the first logical area of the flash memory a permanent hardware mechanism is recommended to protect against unsafe bitstreams loaded into the FPGA 7 2 Default bitstream A default bitstream must be created and verify the following It must implement the functionality of the state machine described in Appendix A It is not responsible for discarding the headers of transferred bitstreams PBM will do this previously to sending It is responsible for inverting the bit order within each byte of transferred bitstreams either when receiving it or when loading it into the FPGA It must be stored in the first logical area of the flash memory before it can be accessed via PBM 7 3 PBS file A file with the board s specifications must be created taking into account the following The file must be an unformatted 8 bit coded text file composed by a sequence of fields e S Prototyping Board Manager User Manual Ne Each field is composed by a tag line followed b
3. ERROR MESSAGES EE 13 7 PBM COMPATIBLE BOARD DEVELOPING eeeoossssseecoccssssseeoossssssecoccssssseecocsssssseecosssssseeesssssss 14 T1 Ca Cie ie ng eg BEE 14 7 2 DEFAULT Ch EE CET EE 15 Ce PESTE EE 15 APPENDIX A DEFAULT BITSTREAM STATE MACHINE 00 cccccccsssscccccccsssccccscecccees 17 APPENDIX B PBS FILE HOI RN LC 19 s Prototyping Board Manager User Manual VW 1 System requirements The current version of this software has not yet been subject to system requirements testing Nevertheless Prototyping Board Manager is expected to run correctly with Microsoft Windows operative systems A Universal Serial Bus USB port is necessary in order to communicate with the prototyping boards 2 Installation To install the Prototyping Board Manager application simply extract the installation archive Notes Although the PBM folder location can be any do not change the contents of that folder otherwise the application might not run correctly You might find useful to create a shortcut for this application s executable file PBM exe located in the chosen installation folder in a more accessible location Still do not move the executable itself from the original folder 3 Terminology PBM The acronym for Prototyping Board Manager the name of the application this manual refers to PBS Default bitstream User bitstream Alternative bitstreams Default bitst
4. UNIVERSITY OF AVEIRO DEPARTMENT OF ELECTRONICS TELECOMMUNICATIONS AND INFORMATICS PROTOTYPING BOARD MANAGER USER MANUAL Complementary tool for use with the managing software of the DETIUA S3 prototyping board developed by Manuel Almeida under the supervision of Full Professor Valery Sklyarov and others of the same family Bruno Figueiredo Pimentel PhD Student in Electrotechnic Engineering E mail pimentel ieeta pt Jan 2006 GC Prototyping Board Manager User Manual Ne Contents 1 SYSTEM REQUIREMENTS ee 3 2 INSTALLATION EE 3 3 TERMINOLOGY EH 3 4 USER FLASH ADDRESSES AND USER SECTOR NUMBERS e eoeosssseeeoossssssecssssssssecossssssseeo 5 5 CARE 1 LEE 5 eds OAR IR EE 5 ahl cad 2 6 EE 5 Sa e EE 6 TT EN utter cee ne ace et tlc en aed ac etm tn leap ne ica ceded etnies ne EE AANE Eii 6 E GE Upload user DIESH COIN EE 6 5 2 2 Upload alternative Ditstreams 6 5 2 3 Upload default bitstream ccccceccccccccsseccceeccseeceseeessseecsseeeeseeesseeessaeeesssesseessneesssesesses 8 Eo IAT IR EE 8 Sol Upload Tio oeras ne eer eee Meer a emer Cee mee ere ener eee Ree ere me errr et eet ere 8 5 3 2 Download Gale E 9 24 TOOLS MENU oE E O E S san aieemerenumeuiane echseaadcesesmadeabareasunnians waeeten 10 54 1 Tenna el 10 TS SOC a a S 12 e EIERE 12 5 5 1 USOr MANUAL 0 0 cece cece cececececncncneneneeneeneneaenenenenenenenenenenenenenenenenenenenenenenenenenenentnenenenens 12 DZ About 13 Gi
5. board s FPGA Worst case flash nremory sector erasing tire Total nunber of bytes in the flash rrerrory Number of bytes of the bitstreams for the board s FPGA excluding header Real nenwry flash starting address of the default bitstteamarea Real nenwry flash starting address of the user bitstteamarea Real nenory flash starting address of the user data area Number of predefined bitstteamlocations within the user data area must precede the altemative bitstreans starting addresses field Real nerrory flash starting addresses of the predefined altemative bitstreamlocations Number of total memory flash sectors must precede the sectors starting addresses field Real starting addresses of all nenory flash sectors Number of values iii Value s parsing
6. d Please attach one to continue Alternative devices connected Make sure only one device is attached to continue Unable to connect with the prototyping board Please reset the board to retry The prototyping board is not responding as expected Please reset the board and then try again The selected file is not a valid bitstream file Please choose another one The size of the selected file does not match the size for this prototyping board s FPGA Please choose another one The selected file exceeds the flash user data area size Please select another file to proceed The size of the selected file is null Please select another file to proceed A PBS file from the PBS_files folder was selected for installation The file indicated is not the PBS file provided with the board or has become corrupted The prototyping board is not attached More than one prototyping board is attached The prototyping board default bitstream has not been loaded to the FPGA The selected file is not a valid bitstream file The selected file is not a valid bitstream file for the targeted FPGA The selected file does not fit the user data area of the board s flash memory The size of the selected file is null DER Select the PBS file provided when you acquired the board you are trying to install Select an intact version of the PBS file provided whe
7. e respective reserved area of the board s flash memory with a new one The default bitstream is responsible for the interaction with the Prototyping Board Manager and because it s crucial its designated area in the memory flash is protected by default Do not use this operation unless you are fully aware of its consequences Warning This operation overwrites the default bitstream currently in the the prototyping board s flash protected area If you proceed this application will most certainly no longer be able to communicate with the board For more information about the default bitstream please refer to the manual Are you sure you want to replace the default bitstream Legend answering affirmatively will continue the replacement of the default bitstream Answering negatively will cancel the operation Do not answer affirmatively unless you are sure of what you are doing 5 3 Data Menu 5 3 1 Upload file This feature allows you to send any kind of file to the prototyping board and store it anywhere in the user area of its flash memory for future access Transfer details Ending address Ox O H Cancel Before writing to any flash address the whole sector which includes that address must first be erased eventually resulting in the unexpected loss of valuable data 8 Prototyping Board Manager User Manual Ne Prototyping Board Manager can overcome this problem by reading the data from
8. how to use alternative bitstreams Prototyping Board Manager User Manual Ne Notes The user data area of the flash memory is intended to be freely accessed by users via Prototyping Board Manager and by their hardware solutions by means of the flash user access macros This means that transferring an alternative bitstream will overwrite user data eventually stored in the targeted location Furthermore careless access to the user data_area of the flash memory might corrupt alternative bitstreams that were previously stored All bitstream files must be subject to some changes before configuring the targeted FPGA A subset of all the necessary changes occurs during the transfer to the prototyping board thus you wont find the original bitstream files stored in the flash memory Alternative bitstreams l Alternative bitstream number i4 Legend Change this number in order to choose a different location within the user data area of the flash memory to store the alternative bitstream The correspondent user flash addresses interval to be overwritten is identified below this option G Click this button to select and transfer the bitstream file you wish to store in the chosen position Click this button if you don t wish to upload more alternative bitstreams Prototyping Board Manager User Manual Ne 5 2 3 Upload default bitstream This operation allows to replace the default bitstream stored in th
9. m size 212392 Default bitstream real starting address 0x0 User bitstream real starting address 0x User data real starting address 0 80000 Display sector elated information GC Prototyping Board Manager User Manual Ne Legend a affirmatively will list the real starting flash addresses of all flash sectors Answering negatively will exit this function 5 1 2 New board This feature allows you to install a new PBM compatible prototyping board in order to use Prototyping Board Manager to work with it Simply follow the straightforward dialog to specify the location of the PBS file provided with the board 5 2 Bitstreams Menu 5 2 1 Upload user bitstream This operation allows you to send a single bitstream with which you want to configure the FPGA After you choose a valid bitstream file the latter is sent to the board and stored in the user bitstream area of the flash memory After this operation this bitstream remains available for configuring the FPGA until you upload another user bitstream Check your board manual for information on loading the user bitstream 5 2 2 Upload alternative bitstreams With this operation you can send multiple bitstreams to be stored in predefined positions within the user data area of the flash memory After uploading the bitstreams you ll need you can configure the FPGA with either one of these so called alternative bitstreams Check your board manual to know
10. n you acquired the board you are trying to install Attach the prototyping board and retry Detach all boards except the one you are trying to access Detach the prototyping board and reattach it Load the prototyping board default bitstream and retry Check your board manual to know how to do this Select a valid bitstream file Select a bitstream which is valid for the targeted FPGA Select a smaller file to upload Select a positive sized file to upload Error messages Prototyping Board Manager User Manual Ni Probable causes Suggested actions The PBS file associated with the prototyping board is corrupted Error determining the Reinstall the board via the Board menu The prototyping board has been detached Aborting operation The prototyping board has become desynchronized Aborting operation No flash sector with the starting address that was sent Access denied when trying to write to the protected flash area Communication Protocol Violation Error Unable to open The prototyping board is no longer attached A bitstream was loaded into the FPGA while PBM was communicating with the prototyping board The PBS file associated with the prototyping board is corrupted The reserved flash area protection is active A bitstream was loaded into the FPGA while PBM was communicating with the prototy
11. ping board The requested user manual PDF file has been removed from the PBM folder or cannot be accessed Reattach the prototyping board and retry Reload the prototyping board default bitstream Check your board manual to know how to do this Reinstall the board via the Board menu Check your board manual to know how to bypass this protection measure Reload the prototyping board default bitstream Check your board manual to know how to do this Reinstall PBM When developing an FPGA based prototyping board a set of conditions have to be satisfied in order to be compatible with the Prototyping Board Manager 7 1 Board architecture Regarding the architecture the board must include an USB controller that uses the FTD2XX dll driver in which the Product id must be set to a value unique to that model aflash memory verifying the following conditions The flash memory must be logically divided in 3 areas in the following order default bitstream area user bitstream area and user data area The logical areas must be consecutive and exclusive sectors sets 14 Prototyping Board Manager User Manual Ne Each of the first two logical areas must be big enough to store one bitstream without header for the board s FPGA a way to configure the FPGA either with the bitstream stored in the default bitstream area or with the bitstream stored in the user bitstream area a means
12. r address of the flash memory to start reading the data Change this number to specify a different user address of the flash memory to stop reading the data Click this button to get the specified data segment of the flash memory and save it anywhere in your computer file system 5 4 Tools Menu 5 4 1 Terminal window This tool is an integrated input and output peripheral which allows you to exchange raw bytes with the prototyping board via the USB connection To exploit this tool you can make use of the USB control macros of your PBM compatible prototyping board in your designs Check your board manual for more information on these macros 10 Prototyping Board Manager User Manual Ne Prototyping Board Manager Terminal Window Received Hexadecimal ASCII Legend G Incoming bytes are shown in this text box according to the coding mode hexadecimal ASCIl G Outgoing bytes are shown in this text box according to the coding mode hexadecimal ASCII Ti in this text box the set of bytes you wish to send according to the coding mode hexadecimal ASCIl Click this button to send the set of bytes you have written in the previous text box The written bytes are first parsed according to the coding mode hexadecimal ASCII When parsing illegal character sets no bytes are sent and you will be notified 11 Prototyping Board Manager User Manual Ne Use these radio
13. ream area User bitstream area User data area User flash addresses User sector numbers User flash access macros Prototyping Board Manager User Manual Ne The acronym for Prototyping Board Specifications the set of characteristics of a PBM compatible board that PBM requires to be aware of in order to manage operations the usual extension of the files with this information The bitstream responsible to carry out PBM operation requests with its own protected designated area within the board flash memory for easy loading into the FPGA before PBM can operate with the board A bitstream for development purposes with its own designated area within the board flash memory for easy loading into the FPGA Bitstreams for development purposes that are stored in pre defined flash addresses within the user data area The first logical area of any PBM compatible board s flash memory used to keep the default bitstream out of the user flash addresses range The second logical area of any PBM compatible board s flash memory used to keep the user bitstream out of the user flash addresses range The third logical area of any PBM compatible board s flash memory mainly for free user access but also for storing alternative bitstreams accessible with the user flash addresses range Memory flash virtual addresses with a correspondence to the real ones but concealing the default bitstream area and the user bitst
14. ream area from the user for safer board utilization Flash sector virtual numbers with a correspondence to the real ones but concealing the default bitstream area and the user bitstream area from the user for safer board utilization Provided macros for creating bitstreams capable of accessing the board flash memory by providing user flash addresses and or user sector numbers H Prototyping Board Manager User Manual Ne 4 User flash addresses and user sector numbers Certain flash sectors of PBM compatible prototyping boards are reserved Therefore real flash addresses and real sector numbers are not used in Prototyping Board Manager dialogs except when explicitly stated Instead of those the user can comfortably base himself on the so called user flash addresses and user sector numbers and the Prototyping Board Manager will manage the necessary conversions Notes To support this abstraction approach in a coherent hardware design process PBM compatible prototyping boards come with proper flash user access macros Check your board manual for more information on these macros 5 PBM Menus 5 1 Board Menu 5 1 1 Properties This function displays specifications of the prototyping board currently attached This information is extracted from the correspondent PBS file Prototyping board specifications Prototyping board name CSLab PB1 FPGA Xilinx Spartan 3 XC 26200 PQ208 Flash size 2097152 Bitstrea
15. ser Manual Ne PROTECTION ERROR Control message for denying a request operation when trying to write in the first logical area of the flash memory default bitstream area with the protection mechanism active 1 byte sized constant with the value 0x02 ADDRESS ERROR _ Control message for denying a request operation due to invalid SA and EA parameter set 1 byte sized constant with the value 0x03 ERASE SECTOR OP assignment for requesting a sector erasure 1 byte sized constant with the value 0x04 READ OP assignment for requesting a memory flash reading 1 byte sized constant with the value 0x05 WRITE OP assignment for requesting a simple memory flash writing 1 byte sized constant with the value 0x06 WRITE INV OP assignment for requesting a memory flash writing with bit order inversion within Write Inverted each byte used for transferring bitstreams 1 byte sized constant with the value 0x07 18 E Prototyping Board Manager User Manual Appendix B PBS file fields PROTOTYPING BOARD ID PROTOTYPING BOARD NAME FPGA_DESCRIPTION FLASH _ SIZE BITSTREAM SIZE DEFAULT BITSTREAM STARTING ADDRESS USER_BITSTREAM_ STARTING ADDRESS USER_DATA_ STARTING ADDRESS MAX_NUMBER_OF_ALTERNATIVE_BITSTREAMS ALTERNATIVE_BITSTREAMS_ STARTING ADDRESSES NUMBER_OF_SECTORS SECTORS STARTING ADDRESSES Observations Product ID stored in the USB controller must precede all other fields Description of the
16. the untargeted addresses of the first and last involved sectors and writing it back along with the chosen file after erasing those sectors You will be prompted on whether to use this mechanism because it increases the overall operation time Warning In order to upload the file the targetted sectors will first be erased Do you wish to backup from these sectors the areas that won t be occupied by this file and rewrite itin the end The operation will take longer if you choose yes Legend G Change this number to specify a different user address of the flash memory to start storing the file data The resulting ending address is shown below this option GI Click this button to send the previously selected file and store it in the chosen location of the flash memory Answering affirmatively will guarantee that all data outside the targeted addresses interval is kept intact but the operation will take longer Answering negatively will result in the loss of data eventually stored in untargeted addresses of the first and last involved sectors but the operation time will be shortened 5 3 2 Download data This feature allows you to read a data segment from anywhere in the user data area of the flash memory of the prototyping board and save it in your computer system as a file Transfer details GC Prototyping Board Manager User Manual Ne Legend G Change this number to specify a different use
17. y one or more value lines The set of fields that must be provided and the correspondent representation guidelines are presented in Appendix B The file extension should be pbs for a coherent and easy identification 16 Prototyping Board Manager User Manual E Appendix A Default bitstream state machine OP Operation SA Starting Address EA Ending Address LFA Last Flash Address UBSA User Bitstream Starting Address PROTECTED OK 1 byte sized parameter for specifying the operation among the following set ERASE SECTOR READ WRITE and WRITE INV 3 byte sized parameter for specifying the starting memory flash address for the requested operation valid if between 0 and EA 3 byte sized parameter for specifying the ending memory flash address for the requested operation valid if between SA and LFA Board specific constant indicating the address of the last memory flash position addressable with 3 bytes addresses Board specific constant indicating the starting address of the second logical area of the memory flash user bitstream area 1 bit sized board signal for indicating whether the first logical area of the memory flash default bitstream area protection mechanism is active or not Control message for validating the operation request parameters and for confirming synchronization when finished 1 byte sized constant with the value 0x01 47 Prototyping Board Manager U

Download Pdf Manuals

image

Related Search

Related Contents

  MANUAL DE INSTRUCCIONES    machine automatique a glaçons en cubes    - Kenwood    Département des Vosges - Sainte  Manual en Español  Pigtronix - Casa Veerkamp  

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