Home

Application Note AN_124 User Guide for FTDI FT_Prog Utility

image

Contents

1. uu dayad a ar ad a k n n dad nda inad 10 5 3 USB Config El d Ta d EE 11 5 4 USB String Dest tee 12 5 5 FI2352R Hardvrare SD CiT C uu aaa 13 5 6 FT245R 14 5 7 2232 15 5 8 FT2232H Harovare 16 5 9 FT4232H 18 5 10 232 Hardware 19 5 11 FT4222H Hardware Specific 21 6 Program Mode Function 22 Gil Scan or DEVICES ee BEER rees 22 6 2 Erase Existing DeviceS gek ehkgege eebe eher gege Neger ge e 23 6 3 Use an Existing EEPROM Template 24 6 4 Program Existing Devices 27 2 5 SOV Poll lala nin 29 7 Command Line Programming 30 7 1 Batch File Programming 34 8 V nculum Programmer dai 35 Copyright 2009 14 Future Technology Devices International Limited 1 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106
2. gt gt Chip Details Device Descriptor USE Config Descriptor gt USB String Descriptors gt Hardware Specific Vendor ID x 403 Product ID 0256001 Product Description ISH Serial Cahle Serial Number FISAK SMA Save s Template Apply Template Information Box 12 Re Scan Device Ta Cycle Part Zi Program Device We Erase Device Close Device Device Output Fead EEPROM Device 1 0000 0000 0304 O160 0002 8020 0000 0000 3402 0008 22 012 O403 4600 5400 4400 4900 2203 0010 5500 5300 4200 2000 5300 6500 200 6900 0015 6100 6 00 2000 4300 6100 6200 6 00 6500 0020 1203 4600 5400 5300 4100 4600 5300 4000 0028 4100 0000 0000 0000 0000 0000 0000 0000 0030 OOOO 0000 0000 0000 0000 0000 0000 0000 0035 0000 0000 0000 0000 0000 0000 8C1 Copyright 2009 14 Future Technology Devices International Limited 28 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 6 5 Cycle Port The Cycle Port button can be used to re enumerate a device on USB after the EEPROM has been reprogrammed This is useful because the device only reads the EEPROM when it is enumerated on USB so it forces the device to use the new EEPROM contents 6 Devine e el Save s Template HS 4oply Template Re Scan Device Op ta Cycle Pork AS Program Device RK Erase Device
3. Status Verifying data Program When the programming is complete the following message is displayed Statue Device re programmed successtully Copyright 2009 14 Future Technology Devices International Limited 37 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 Programming Vinculum 11 example Programming the 2 is very similar to the VNC 1L in this example a V2Eval board is re programmed with the V2Dap firmware Connect the V2Eval board to the host PC All connected FTDI devices will appear under the Device drop down menu V2Eval boards are setup with the UART as channel A of the FT4232H chip This should be selected from the list as shown below Select Interface Device and Baud Hate 4 Chip Board Revizion VINCULUM VALE yt val Boar Dev ZU 1 wyt Interface Device Dan Bieter COM Pert 4 Dax V2EVAL Board A E 3000000 w Evaluation boards allow the device to be put into prog mode using one of the spare channels of the FT4232H device The channel used changed between Rev 1 and Rev 2 of the V2Eval board therefore it is required for the user to select the appropriate board revision from the drop down menu The precompiled ROM file for the V2DAP is available as a download from the FTDI website Browse to this file using the open file browser and press program to flash the ROM image onto the VNC2 Copyright 2009 14
4. Close Device Copyright 2009 14 Future Technology Devices International Limited 29 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDIZ 106 7 Command Line Programming Click on the Launch Command Line Application button on the toolbar This vvill launch the FT Prog command line There are 6 commands SCAN PROG ERAS CYCL HELP EX T Searches for any devices connected to the host PC Programs an EEPROM template into the selected device s Erases the EEPROM of the selected device Cycles the device port re enumerating the device Equivalent to an un plug re plug Provides information on a command Closes the application Help command Type HELP and press ENTER This vvill display the command line list Copyright 2009 14 Future Technology Devices International Limited 30 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 FT gt he lp For more information on each command type HELP command namel CAH Searches for any devices connected to the host Programs an EEPORM template into the selected devicets gt Erases the EEPROM of the selected device Cycle the devices forcing re enumeration Provides information on a command Type HELP SCAN HELP PROG HELP ERAS or HELP CYCL and this will display the requir
5. FTDI 106 4 2 Modify an Existing EEPROM Template To modify an existing EEPROM template click on the Open Template button on the toolbar Or select Open Template from the File menu Devices Help New Template nl a Open Template Cd nave As Template Ctrlts Exit Alt F4 This will launch the Open dialog box Select the template to be modified and click on Open EE 4 omy Documents K Computer Recent uy Network Places Documents 2 04 16 WHOL Certified 00 I FT_Prog af Downloaded FT245AM Device xml ie shortcut to Development USB_R5232_Cable xml Desktop Mu Documents Mu Computer File name USB_RS232_Cable xml v My Network Files of type ML Template Files ml w Prog will load the template into the Device Tree window making it available to be edited 4 3 Save a Template Any changes can be saved click on the Save button to save the changes Copyright 2009 14 Future Technology Devices International Limited 8 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 e Version 1 5 Chip Clearance No FTDI 106 Or select Save As Template from the File menu Devices Help New Template Cri 77 Open Template Ctrl al Sava As Template Ctrl 5 Exit Alt F4 Or right click on the required template and select Save As Template 55 Save Template
6. Future Technology Devices International Ltd Application Note AN_124 User Guide for FTDI FT_ Prog Utility Document Reference No FT_000172 Version 1 5 Issue Date 2011 08 19 This application note explains how to use the FT_Prog utility which provides a user interface to access any EEPROM used with FTDI devices FT_Prog replaces the previous FTDI utility used for this purpose called MPROG Future Technology Devices International Limited FTDI Unit 1 2 Seaward Place Glasgow G41 1HH United Kingdom Tel 44 0 141 429 2777 Fax 44 0 141 429 2758 E Mail Support supporti ftdichip com Web http www ftdichip com Copyright 2009 14 Future Technology Devices International Limited 7 ETD Document Reference No FT 000172 H User Guide For FTDI FT PROG Utility Application Note AN 124 3 Chi Version 1 5 SN IO Clearance No FTDI 106 Table of Contents Cd e Te d Le BEE 3 2 Downloading and Installing FT Proq 4 Fl _ Prog 6 Sik 6 4 Edit Mode Functions eege EE 7 4 1 Create a New EEPROM Template 7 4 2 Modify an Existing EEPROM Template 8 43 save Tempiateu 8 5 Device EEPROM Parameters 10 2 CND Ucal na 10 5 2 USB
7. VVhen fitted an external EEPROM allovvs customization of the device default parameters such as VID PID Serial Number Manufacturer Descriptor and Product Descriptor FT Prog provides a fast and simple way to program these parameters A convenient way of programming the EEPROM is to populate a blank device on the PCB during manufacturing assembly and then program it via USB during the manufacturing test process All these devices support direct programming over USB using the FT Prog programming utility Copyright 2009 14 Future Technology Devices International Limited 3 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 2 Downloading and Installing FT Prog The latest version of FT_Prog can be downloaded from the Utilities page of the FTDI website in a zipped executable file Extract the file using an extraction tool There are many available on the web such as Winzip or WinRAR Most versions of Windows e g Win 7 come with these utilities pre loaded The application requires the latest version of the D2XX drivers installed a guide can be found on the FTDI website under the Install Guides Section For Win 7 please refer to AN 119 and for Win 8 please refer to AN 234 Note FT_Prog requires the Microsoft NET Framework 3 5 or later which can be downloaded from the Microsoft website If your system does not have Net 3 5 installed you must download a
8. B Hardware Driver Isolate High Current ll e gt Hardware Specific Property H Pont A gt Hardware Virtual COM Pot e DAM Direct Hardware Driver Each channel can be independently configured as FT232BM style USB UART or a 245 style USB FIFO channel can be individually configured in CPU FIFO mode Each channel can also individually configured in Fast Opto Isolated Serial Interface mode See the FT2232D device datasheet available from the Datasheets page of the FTDI website for more information on these modes High Current I O s Setting this option will enable the high output drive level UART FIFO IO pins will drive out at 12mA instead of their normal 4mA The driver that is installed and used by each channel can be set by selecting Virtual COM Port or D2XX Direct option Copyright 2009 14 Future Technology Devices International Limited 15 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 5 8 FT2232H Hardware_Specific The FT2232H function is similar to the FT2232D The FT2232H device incorporates all of the BM devices options section and all of the FT2232D Device Options but with an additional CPU FIFO option made available gt Hardware Specific ramen Suspend DEBLS gt Port A RS232 UART Hardware m 245 FIFO gt
9. Close Template USB Contig Descriptor gt USB String Descriptors Enter a file name for the EEPROM template perhaps a product name USB RS232 Cable xml in this example and click on Save Save 4s Save in gt amp m A Documents j My Computer Mu Recent tmy Network Places Documents cp 2 04 16 WHOL Certified ET Drop k af Downloaded hear 2 FT245AM Device xml ape Shortcut to Development Mu Documents Mu Computer 5 Mu Network pe ML Template Files xml iv FT_Prog will save the EEPROM template Copyright 2009 14 Future Technology Devices International Limited 9 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 5 Device EEPROM Parameters 5 1 Chip_Details Select the device type to be programmed from the Chip Details box When selected this will enable the menu options appropriate to the device that you have selected Property FT 2392 2458 M 232 2 232 245 232 FT245H 22320 2232 4232 5 2 USB Device Descriptor The choices available from the combo box for VID and PID are FTDI Default If the FTDI default values are used the VID and PID are fixed and it is not necessary to enter any values FTDI Supplied PID If you wish to use FTDTs Vendor ID and FTDI have supplie
10. Create a new EEPROM template This will change the mode to Edit Mode and allow the user to select the parameters for their device Open an existing EEPROM template Scan the USB Bus for available devices Prog will report how many programmed and blank devices are attached to the target PC Copyright 2009 14 Future Technology Devices International Limited 6 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 4 Edit Mode Functions 4 1 Create a Nevv EEPROM Template To create a new EEPROM template click on the Create New Programming Template button on the toolbar J or select New Template from the File Menu Devices Help 1 New Template Ctrl M k Open Template Chri o Save As Template Ctrl 5 Exit Olt F4 The EEPROM template can define parameters in the following categories Chip_Details USB Device Descriptor USB Config Descriptors USB String Descriptors FT232R Hardvvare Specific FT245R Hardvvare Specific FT2232D Hardvvare Specific FT2232H Hardvvare Specific FT4232H Hardvvare Specific FT232H Hardvvare Specific FT4222H Hardware Specific Please see section 5 for a detailed description of template parameters Copyright 2009 14 Future Technology Devices International Limited 7 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 R Version 1 5 Chip Clearance No
11. Future Technology Devices International Limited 38 y FTDI Document Reference No FT_000172 i User Guide For FTDI FT_PROG Utility Application Note AN_124 R Version 1 5 Chip Clearance No FTDI 106 9 Definition of Error Messages EEPROM mode If when clicking Scan and Parse to detect devices the error message windows as per below is displayed Check the PC has connected and enumerated the FTDI device correctly Devices Found properly and try azad in a few moments 1 Please check that your device is connected programming an a device must be selected If device is selected the error message below is shown Ho Devices Selected VVhen erasing an a device must be selected If no device is selected the error message belovv is shovvn Ho Devices Selected If the programming doesn t pass the error message as per the figure below is displayed This may be a consequence of hardvvare design or solder issues Check the schematic and the EEPROM part number fitted You can refer to FTDI datasheet to check your schematic The FT232R and FT245R have an internal EEPROM which cannot be erased Copyright 2009 14 Future Technology Devices International Limited 39 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 1 The mamm number of characters for the Manuf
12. Only Program Blank Devices Copyright 2009 14 Future Technology Devices International Limited 23 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 After the operation has been carried out successfully the contents of the device EEPROM will be as below Device Output Fead EEPROM Device 1 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF b FFFF FFFF FFFF FFFF FFFF FFFF FFFF l FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 18 FFFF FFFF FFFF FFFF FFFF FFFF FFFF z FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF OO48 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF s FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0038 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF Note Tt is not possible to erase the contents of the FT232R and FT245R chips EEPROM 6 3 Use an Existing EEPROM Template Templates can be applied to connected devices to modify the contents of their EEPROM Any templates that are currently open are displayed within the Device Tree window To apply these to a device right click the required device within the Device Tree select Apply Template from the menu any templates that are currently open will be displayed within this list Select the required template and the settings stored within this template will be applied to the selected device Copyright 2009 14 Future T
13. Proz Command its FT gt scan Scanning for devices Device FT DEU ICE 232K USB lt gt Serial Cable FISDJ125 FT gt eras H Copyright 2009 14 Future Technology Devices International Limited 41 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 10 Contact Information Head Office Glasgow UK Branch Office Tigard Oregon USA Future Technology Devices International Limited Unit 1 2 Seaward Place Centurion Business Park Future Technology Devices International Limited Glasgow G41 1HH USA United Kingdom 7130 SW Fir Loop Tel 44 0 141 429 2777 Tigard OR 97223 Fax 44 0 141 429 2758 USA Tel 1 503 547 0988 E mail Sales sales1 ftdichip com Fax 1 503 547 0987 E mail Support support1 ftdichip com E mail General Enquiries admini ftdichip com E Mail Sales us sales ftdichip com E Mail Support us Support ftdichip com E Mail General Enquiries us admin ftdichip com Branch Office Taipei Taiwan Branch Office Shanghai China Future Technology Devices International Limited Taiwan Room 1103 No 666 West Huaihai Road 2F No 516 Sec 1 NeiHu Road Changning District Taipei 114 Shanghai 200052 Taiwan R O C China Tel 886 0 2 8791 3570 Tel 86 21 62351596 Fax 886 0 2 8791 3576 Fax 86 21 62351595 E mail Sales tvv sales1 ftdichip com E mail Sales cn sales
14. Technology Devices International Limited 19 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 As with other FTDI devices the slew rate Schmitt trigger and drive strength can be configured in the EEPROM Slow Slew IO Pins Schmitt Input b GroupAD H Groupac Drive Copyright 2009 14 Future Technology Devices International Limited 20 1 4 FTDI Chip Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 5 11 FT4222H Hardvvare Specific This device contains SPI DC and GPIO configurable interfaces The SPI interface can be configured as master mode with single dual and quad bits data width transfer or slave mode with single bit data width transfer The ZC interface can be configured in master or slave mode Device Tree lb DC Lech 2C Slave Address E mb QSPI mb Clock SlowSlew gt Clock Drive gt 100 SlowSlew 101 SlowSlew gt 102 SlowSlew gt 103 SlowSlew gt 10 Drive 1 SlaveSelect PullLip gt SlaveSelect PullDown gt SlaveSelect Drive gt SlaveSelect SlowSlew gt MISO Suspend gt SIMO Suspend gt 102 103 Suspend L SlaveSelect Suspend E GPIO GPIOO Drive gt GPIO1 Drive GPIO2 Drive Slaves on an I2C bus must have unique addresses and this may be conf
15. a Power Control Pin PWREN This pin can be used to control power to external peripheral circuitry via a P Channel MOSFET When used in this way select this option to minimize the USB suspend current otherwise leave this option unselected See the product data sheets application schematics and designers guides for more details 5 4 USB_String_Descriptors Details of the USB device manufacture product Description USB Serial number can be set in the USB String Descriptors Property Manufacturer Product Description USB lt gt Serial Converter Serial Number Enabled Auto Generate Serial Net Serial Number 5 5 2 or Prefix FT Manufacture product Description The Product and Manufacturer Description Strings in the fields allow customization of the manufacturer and product description strings the device uses Manufacturer the product manufacturer string e g best kept short and abbreviated if possible Product Description a brief description of the product maybe including the part number e g USB lt gt Serial Converter USB Serial Number USB products have the ability to embed a unique serial number for each product into the lovv level descriptors that are accessed by the host controller drivers when the product is plugged into the USB bus In turn the serial number of a product can be used to identify the product The device serial number can be set through the USB
16. a replacement for the VPROG application Programming VNC 1L example Upgrading VNC1L firmware requires a USB to UART cable this is available from FTDI part number TTL 232R 3V3 Programming requires some hardvvare connections These are as follovvs Connect the VNC1L Pin10 PROG to GND VNC1L s GND connect to TTL 232R Pini GND VNC1L Pin33 RTS connect to TTL 232R Pin2 CTS VNC 1L s Power connect to TTL 232R Pin3 Power VNC 1L Pin32 RXD connect to TTL 232R Pin4 TXD VNC1L Pin31 TXD connect to TTL 232R Pin5 RXD VNC1L Pin34 CTS connect to TTL 232R Pin6 RTS VCC3V3 GND Vinculum programming is under the Flash Rom heading within FT_Prog Copyright 2009 14 Future Technology Devices International Limited 35 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 Select Interface Device and Baud Hate q 2 Chip VNETL INLO nterlace Device Baud Rate COM Pert 4 DX USB lt gt Serial Converter w 1000000 d Connect the Vinculum to the host PC and select the required interface An example of the device box is shown below Device USB lt gt Serial Cable USB lt gt Serial Cable V Eval 1 Board V E val Board B Choose the USB lt gt Serial Cable TTL 232R The default Baud Rate for programming a device is 115200 Baud it is recommended to set the baud rate to 1MBau
17. port High povver bus povvered products These products consume betvveen 101mA and 500mA from the USB bus and can be plugged into any USB host However such products can only be plugged into self powered USB hubs hubs that have their own power supply as bus powered USB hubs can only Supply 100mA per hub port Self Powered USB Devices These fall into two categories True self powered products These products have their own power supply and do not require any current from the USB bus Enter a value of zero in the Max Bus Power field Hybrid self powered products These products have their own power supply but also draw some of their operating current from the USB bus Enter the current dravv from the USB bus in the Max Bus Povver field USB Remote VVakeup FTSU232AM and FT232BM devices are capable of resuming a from the USB suspend sleep state via the RI pin FT245BM also has this capability via a dedicated pin SI WU as does the FT2232C H SI WUA SI WUB as does the FT4232H SI WUA SI WUB SI WUC SI WUD Copyright 2009 14 Future Technology Devices International Limited 11 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 FTSU245AM does not have support for remote wake up To use the remote wake up capability enable this option by checking the box Pull Dovvn TO Pins in USB Suspend The BM and C devices feature
18. selected and the hardware design does not have an external oscillator connected then the FT232R will be rendered useless Property High Current ds Load D amp S Driver Use External Oscillator Copyright 2009 14 Future Technology Devices International Limited 13 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 5 6 FT245R Hardware_Specific Unlike the FT232R the FT245R does not allow inverting of signals or configuration of the CBUS pins as they are all required for normal FIFO operation The FT245R has internal Oscillator but it is also possible to select Use External Oscillator to use external oscillator Please Note if Use External Oscillator is selected and the hardware design does not have an external oscillator connected then the FT245R will be rendered useless Property High Current LU s Load DZ Driver Use External Oscillator Copyright 2009 14 Future Technology Devices International Limited 14 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 5 7 FT2232D Hardware_Specific The FT2232D device incorporates all of the BM specific features but with an additional CPU FIFO option made available gt Hardware_Specific Property Zb Purt A 1 Hardware 5232 UART Driver 245 FIFO gt Port
19. used vvhen the FT2232H is used in a self povvered mode and is used to prevent forcing current dovvn the USB lines vvhen the host or hub is povvered off PWRSAV 1 Normal Operation PWRSAV FT2232H forced into SUSPEND mode Property Suspend on Low F Copyright 2009 14 Future Technology Devices International Limited 17 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 5 9 FT4232H Hardware_Specific The FT4232H function is similar to the FT2232H The FT4232H device incorporates all of the BM devices option sections and all of the FT2232H Device Options RETEST m Port A gt Virtual Com Part Virtual Com Part x D214 Direct x RI F5485 enable gt Pot Al as AS465 Enable x Porte ab Port_D gt IO Pins DA Direct Each channel can be independently configured as FT232BM style USB UART Each channel can also be individually configured in synchronous or asynchronous bit bang mode See the FT4232H device datasheet available from the Datasheets page of the FTDI website for more information on these modes The driver that is installed and used by each channel be set by selecting Virtual COM Port or D2XX Direct option The slow slew function can be selected for slower output driver The Schmitt Input function can be enabled if user needs to implement Schmitt tri
20. 0 Loc 1D 2163 gt FT EEPROM Chip Details m USE Device Descriptor USB Config Descriptor m JSB String Descriptors Hardware Specific Copyright 2009 14 Future Technology Devices International Limited 22 a Document Reference No FT_000172 User Guide For FTDI FT_PROG Utility Application Note AN_124 e Version 1 5 Chip Clearance No FTDI 106 IAN 6 2 Erase Existing Devices There are two ways to erase the EEPROM of connected devices To erase the contents of a single connected device the user can right click on the desired device within the Device Tree and select Erase Device from the menu Save z Template Appl Template Re Scan Device Cycle Port Program Device Erase Device Close Device Alternatively to erase the EEPROM of multiple devices the user can press the program button within the toolbar or Devices menu A The Program Devices window as below will appear this will allow the user to select multiple devices from the Device List on the left hand side of the window and then erase the EEPROM by pressing the Erase button at the bottom right of the window Program Devices Device List Device Overview Device Ze Device 1 Device Chip Type Vendor ID 00403 Product ID 6001 MM anubacturer ETD Product Description 24 Serial Number FTSABEF A Select Ali Deselect Ali m
21. 9 Definition of Error Messages 39 10 Contact Information 42 Appendix A Revision History 43 Copyright 2009 14 Future Technology Devices International Limited 2 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 1 Introduction FT Prog is a free EEPROM programming utility for use with FTDI devices It is used for modifying EEPROM contents that store the FTDI device descriptors to customize designs FT_Prog also includes the capability of programming the VNC1L and VNC2 firmware using a UART interface FT_Prog is an enhanced version and a replacement for the previous utility used for this function called MPROG as well as the VProg application Devices supported by FT_Prog are FT X FT232RL S FT232RQ FT245RL amp FT245RQ 22320 FT2232C amp FT2232L 232 FT232BL S FT232BQ FT 245 FT245BL amp FT245BQ FTSU232AM FTSU245AM 2232 4232 232 4222 VNC L VNC2 Prog is available as a free download from the Utilities page of the FTDI website FTDI devices support 93C46 EEPROMs organized in 16 bit vvords except for the R series of devices vvhich have an internal EEPROM The BM C and H devices also support 93C56 and 93C66 EEPROMs organized in 16 bit vvords
22. Driver 2 b Pot CPU FIFO xb Hardware EN Cie Isolate gt IO Pins channel can be independently configured as FT232BM style USB UART or a 245 style USB FIFO channel be individually configured in CPU FIFO mode Each channel can also be individually configured in Fast Opto Isolated Serial Interface mode See the FT2232H device datasheet available from the Datasheets page of the FIDI website for more information on these modes The driver that is installed and used by each channel can be set by selecting Virtual COM Port or D2XX Direct option The slow slew function can be selected for slower output driver The Schmitt Input function can be enabled if the user needs to implement Schmitt trigger function to input pins e The IO pin driving capability can also be modified the current range is 4mA to 16mA Hardware_Specific Property Suspend DBUS7 Pont A Slow Slew gt Port a sins Schmitt Input mb Group_AL Drive gt SlowSlew gt Schmitt gt Drive gt Group gt Group BL ran Group BH Copyright 2009 14 Future Technology Devices International Limited 16 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 The FT2232H s Pin59 POWERSAV is USB Power Save input This is an EEPROM configurable option
23. Serial Number Control panel These consist of a 2 letter prefix e g FT followed by 6 alphanumeric digits generated using an algorithm based on the date and time of programming the device It is also possible to fix the serial number to a fixed 8 digit alphanumeric string however we do not recommend this as systems will only recognize the first instance of such a device connected to a PC Note that the maximum length of descriptors varies across the range of chips but is typically 40 to 50 characters The descriptors include the manufacturer product description and serial number Copyright 2009 14 Future Technology Devices International Limited 12 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 5 5 FT232R Hardware_Specific Additional features available on the FT232R device allow RS232 signals to be inverted and the CBUS pins to be configured through combo boxes Property Invert Tal Invert Hal Invert ATSH Invert LT SH Invert Invert Invert DDR Invert Alf Property The FT232R supports High Current IOs Setting this option will enable the high output drive level The UART IO pins will drive out at 12mA instead of their normal 4mA The FT232R has an internal Oscillator but it is also possible to select Use External Oscillator to use an external oscillator Please Note if Use External Oscillator is
24. acturer LD Product Description and Serial Number is 40 Flash ROM mode Failed to sync the VNC 1L and the cable please check the hardware connection Failed to zm the device and the cable Command line mode System cannot find Device 0 Use the SCAN command and confirm the device number cx FT Prog Command Line FT Prog Command Line PI zeras H FT prog A c 4FT23332H xml FT gt If the Failed to vvrite to the EEPROM error message is displayed check the cable connection is stable then try to program this device again Also check that the device and the template chip types match CA FI Prog Command its FT scan Scanning for devices Device DEUICE 2232H USB lt gt Serial Cable A FISDOQOSA FT gt prog 2232 1 Programming FISDOQOSA Failed to write to the EEPROM Device programmed successfully Finished Check the device and template chip type match Copyright 2009 14 Future Technology Devices International Limited 40 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 CA F Prog Command its Scanning for devices Device H DEUICE 2232H USB lt gt Serial Cable A FISDOQOSA FT gt prog H 1 232 1 Programming FTED Q SR FT gt The FT232R and FT245R chip cannot be erased CA F
25. ate Copyright 2009 14 Future Technology Devices International Limited 26 Document Reference No FT_000172 User Guide For FTDI FT_PROG Utility Application Note AN_124 e Version 1 5 Chip Clearance No FTDI 106 IAN 6 4 Program Existing Devices Click on the Program Devices button within the toolbar The Program Devices GUI will be displayed as below From this interface select the required devices from the Device List on the left of the window Program Devices ma Device Device 1 Device Chip Type FT 245R Vendor ID 020403 Product ID B T Manufacturer FIDE Product Description UM245R Serial Number Select All Deselect All Only Proqram Blank Devices If the Only Program Blank Devices box is checked FT_Prog will select any blank devices within the Device List window TO program the selected devices press Program on the bottom right of the window Copyright 2009 14 Future Technology Devices International Limited 27 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 Alternatively to program individual devices right click on the required device vvithin the Device Tree a D A n A x 0 0 ua Property Device Tree Chip 232 24
26. d for the VNC1L and 3MBaud for the VNC2 to allow for faster programming Baud Hate 115200 VNC 1L firmware is available as a free download from the Firmware section of the FTDI Website VNC2 firmware must first be built using FTDI s ToolChain The ToolChain is available from the FTDI website and comes with VNC1L equivalent firmware in the shape of V2DAP and V2DPS After building an application using the ToolChain the resultant ROM file can be programmed into the VNC2 For help with installing and building firmware using the VNC2 ToolChain please refer to the Getting Started Guide Click the open file button and browse to the ROM file that has been downloaded Copyright 2009 14 Future Technology Devices International Limited 36 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 e Version 1 5 Chip Clearance No FTDI 106 Look in 2 Desktop EI G ES E i my Documents My Computer Mu Recent Network Places Documents 2 04 16 WHOL Certified ie Shortcut to Development E VDAPFUL 03 55 ROM Type ROM File Documents Date Modified 08 04 2009 11 52 Size 64 0 KE Mu Computer el File name VMSETFUL V3 EE DON EI Mu Network Files of type ROM Files Then press the Program button to re flash the VNC1L firmware Program Programming flash Status Programming flash Program Verifying data
27. d you with a Product ID for use with your products please enter the Product ID supplied by FTDI a 4 digit hexadecimal number in the Product ID box provided If you wish to use FTDT s Product ID and do not have a unique Product ID assigned for you by FTDI then please Contact FTDI with your request There is no charge for this service to bona fide FTDI customers Other VID amp PID If you have your own USB Vendor ID and Product ID for your device then this option will allow the user to enter both the USB VID and USB PID for your product in the boxes provided USB Version Number The BM and series devices have the option to set the USB version number to USB 1 1 or USB 2 0 This has no effect on the functionality of the device hovvever for USB compliance testing vve recommend that you choose the USB 2 0 setting For AM series devices the version number is hard coded to USB 1 1 Property Custom WIO FIC FTO Default Ke Vendor ID Product ID USB Version Number Note that if non standard VID and or PID values are used the driver INF file must be modified to accommodate the new VID and PID combination FTDI provide a utility to generate custom INF files this is available from the Utilities section of the website Please refer to the application note AN 107 Copyright 2009 14 Future Technology Devices International Limited 10 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Not
28. e AN 124 Version 1 5 Clearance No FTDI 106 5 3 USB_Config_Descriptors Details of the USB device power requirements USB Remote wakeup Pull down IO Pins in USB Suspend can be set in the USB_Config_Descriptors Property Bus Powered Geli Powered O Bus Power 100 m rnips USB Remote Wakeup Pull Down I0 Pins in USB El Suspend Select Bus Powered the product gets power from USB or Self Powered the product has it s own power supply from the power options The Max Bus Power value defaults are 100mA for a Bus Powered product and OmA for a Self Powered product however these are only default values and can be changed by entering a new value in the Max Bus Power field A Summary of the rules and options are given below All USB Devices The maximum current that can be supplied over the USB bus without violating the USB specification is 500mA Do not enter a value of more than 500mA in the Max Bus Povver field High povver bus povvered products These products consume betvveen 101mA and 500mA from the USB bus and can be plugged into any USB host However such products can only be plugged into self powered USB hubs hubs that have their own power supply as bus powered USB hubs can only Supply 100mA per hub port Bus Powered USB Devices These fall into two categories Lovv povver bus povvered products These products consume 100mA or less from the USB bus and can be plugged into any USB host or hub
29. echnology Devices International Limited 24 a Document Reference No FT_000172 User Guide For FTDI FT_PROG Utility Application Note AN_124 om Chip Version 1 5 FTDI FT Prog Device 1 Loc 10 345771 ep EEPROM Flash ROM Fil Devices Help 1 a 163 120 Se Device 0 Loc 1D 2163 gt FT EEPROM Chip Type FT2232D C L Chip Details Vendor ID 0 0403 L USB Device Descriptor USE Config Descriptor gt USB String Descriptors Product Description ISB lt gt Serial Converter vr Hardware Specific os DI Serial Number FTUKETVVS Auto Generate a FT Save s Template ab Chip Apply Template kV From File m Re Scan Device Template EM Device xml Cycle Port Template DualChannel xml resentaion of the EEPROM contents Expand for more A Erase Device all E Product ID 6 01 0 H ES gt Chip Close Device gt USE Device Descriptor USB Config Descriptor gt USB String Descriptors z Template DualChannelxni Device Output ELL Read EEPROM Device 1 A Word mb FT EEPROM 0000 0808 0304 1060 0005 8032 1800 000Z 9608 Chip Details 0003 2 D212 5600 0000 0000 0000 0000 0000 0010 0000 0000 0000 0000 0000 0000 0000 0000 USE Device Descr
30. ed format of the associated command PROG format PROG device number O device number 1 template file location PROG 0 1 3 5 C Documents and Settings template xml The symbol can be used to denote all devices connected PROG C Documents and Settings template xml ERAS format ERAS device number 0 device number 1 ERAS 0 1 3 The symbol can be used to denote all devices connected CYCL format CYCL device number 0 device number 11 CYCL 0 1 3 The zi symbol can be used to denote all devices connected Program procedure Copyright 2009 14 Future Technology Devices International Limited 31 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDIZ 106 Use the SCAN Command to determine what FTDI devices are connected to the USB interface FTDI Device The example below shows the response when a Device 0 EI DEVICE 232R is connected to USB er T x FT gt SCAH Scanning for devices Device H FT DEUTCE 232K USB Serial Converter FISEOQH42 FT gt m Use the PROG command to program device 0 The command format is as follows PROG C UC232R xml Copyright 2009 14 Future Technology Devices International Limited 32 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDIZ 106 The example below shows device 0 prog
31. ent of the copyright holder Future Technology Devices International Ltd Unit 1 2 Seaward Place Centurion Business Park Glasgow G41 1HH United Kingdom Scotland Registered Company Number SC136640 Copyright 2009 14 Future Technology Devices International Limited 42 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 Appendix A Revision History Version 1 0 First release 14 09 09 Version 1 1 Added note about NET requirement 21 09 09 Version 1 2 Section 7 updated 04 06 10 Version 1 3 Added reference to the VNC2 09 09 10 Added Batch file programming section to the cmd line tool Version 1 4 Added nevv section for programming the V2Eval board 19 08 11 Added reference to the FT232H device specific settings Version 1 5 Added references for FT4222H 17 11 14 Copyright 2009 14 Future Technology Devices International Limited 43
32. ftdichip com E mail Support tw supporti ftdichip com E mail Support cn support ftdichip com E mail General Enquiries tw admini ftdichip com E mail General Enquiries cn admin ftdichip com Web Site http ftdichip com System and equipment manufacturers and designers are responsible to ensure that their systems and any Future Technology Devices International Ltd FTDI devices incorporated in their systems meet all applicable safety regulatory and system level performance requirements All application related information in this document including application descriptions suggested FTDI devices and other materials is provided for reference only While FTDI has taken care to assure it is accurate this information is subject to customer confirmation and FTDI disclaims all liability for system designs and for any applications assistance provided by FTDI Use of FTDI devices in life support and or safety applications is entirely at the user s risk and the user agrees to defend indemnify and hold harmless FTDI from any and all damages claims suits or expense resulting from such use This document is subject to change without notice No freedom to use patents or other intellectual property rights is implied by the publication of this document 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 or electronic form without the prior written cons
33. gger function to input pins The IO pin driving capability can also be set the current range is 4mA to 16mA Hardware Specific om Port A Purt H tz C H Dot Schmitt Input l Pins Drive gt Group A xb Group xo Group C gt Group Property Value Slow Slew Copyright 2009 14 Future Technology Devices International Limited 18 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 5 10 FT232H Hardware Specific The FT232H can be configured in one of 5 modes as a RS232 UART 245 FIFO CPU FIFO OPTO Isolate or the new FT1248 Please refer to the device datasheet for details of the different configurations Property 232 UART a 245 FIFO b Hardware ak Die CPU FIFO OPTO Isolate FT1248 FT1248 settings can be configured in the EEPROM the following options are available Hardware Specific Suspend ACBUS Clock Polarity High d m Porta m FTT248 enge Bit Order LSB e gt Clack Polarity gt Bit Order gt Flow Control m Controls Flow Ctrl not selected di CBus I O pins can be controlled through the EEPROM more details are available in the datasheet 10 Controls Value gt C Tristate p 2 Tristate 3 Tristate C4 C5 Tristate CP Tristate mb C7 Copyright 2009 14 Future
34. igured here for the FT4222H Electrical characteristics such as slew rate drive current and enabling of pull up down resistors may be configured for SPI and GPIO modes The FT4222H s output signal to indicate detection of a Battery Charger on the USB port may also be configured here BCD Disable BCD Drive Strength imA M BCD Output Active Low 21 Copyright 2009 14 Future Technology Devices International Limited 21 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 6 Program Mode Function To enter program mode the user must first scan for FTDI devices connected to the host PC see section 6 1 The program mode functions of FT_Prog can then be accessed through the toolbar or by right clicking on a device within the Device Tree 2 Program mode allows the user to 6 Erase device EEPROM contents Apply templates to connected devices Program device EEPROM contents 6 1 Scan for Devices To scan the USB bus for available connected FTDI devices click on the Scan and Parse button on the toolbar Alternatively select Scan and Parse from the Devices menu Devices Scan and Parse FS Program Ctrl F Fi Upon successful completion of the operation any connected devices will be displayed within the Device Tree window as shown below Device Tree Se Device
35. iptor be u 0018 0000 0000 0000 0000 0000 0000 0000 0000 x USB Config Descriptor 0020 0000 0000 0000 0000 0000 0000 0000 0000 am USB String Descriptors 0028 0000 0000 0000 0000 0000 0000 0000 0000 0030 0000 0000 0000 0000 0000 0000 0000 0000 0033 0000 0000 0000 0000 0000 0000 0000 0000 0040 0000 0000 0000 0000 0000 0000 0000 0000 0048 0000 0000 0000 O405 4600 5400 4400 4900 0050 3203 5500 5300 4200 2000 3 00 2000 00 0058 2000 5300 6500 2200 6300 6100 et 2000 mcr ATA ROT ceran Acan cCnn AFANA NANN SCN Ready To apply a template that is not currently open within the application right click on the required device and select Apply Template From File This will open a file browser allowing the user to browse to the required file Copyright 2009 14 Future Technology Devices International Limited 25 Clearance No FTDI 106 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 When the EEPROM settings are complete the next step is to program the device follow the steps in section 6 4 to complete the process Note It is not possible to apply templates to devices where the chip type of both the device and template do not match For example if a template for a FT2232H device is open and the currently connected device is an FT245R the application will not allow the user to apply this templ
36. nd install this from the above link before the application will run Run the executable file by double clicking on the exe and the following screen appears Copyright 2009 14 Future Technology Devices International Limited 4 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 Version 1 5 Clearance No FTDI 106 oe EEPROM Flash ROM File Devices Help Device Tree Information Box Device Output Ready Copyright 2009 14 Future Technology Devices International Limited 5 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 R Version 1 5 Chip Clearance No FTDI 106 3 FT Prog Basics 3 1 Modes of Operation FT Prog has 3 modes of operation Idle Mode Program Mode and Edit Mode FT Prog programming parameters are saved in files referred to here as EEPROM templates Once defined these EEPROM templates can be loaded by FT Prog and used to program EEPROMs Idle Mode is the initial mode of operation when the program is launched Edit Mode is used to edit the settings of an EEPROM template Program Mode is used to Program and Erase the device EEPROM s When FT Prog is launched it is initially in Idle Mode and the screen will look like this FT Prog Ii H File Devices Help REICHERT Information Box Device Output User choices in Idle Mode are
37. rammed successfully using this command This command uses an xml file to program the device The xml files can be created using the FT_Prog GUI as highlighted in section 4 1 or by hand using any text editor an example of this is shown below It is highly recommend that the FT_Prog application is used to create templates If the contents of the template are incorrect and this template is used to program a device then the content of the Fr rere sya ana m N ee 5 ix FT gt scan Scanning for devices Device FT_DEVICE 232R USE Serial Converter 5 0 42 FT gt prog H cs utc2432F xml Programming 5 9 42 Device programmed successfully Finished Copyright 2009 14 Future Technology Devices International Limited 33 y y m A m m H a a d a Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 e Version 1 5 Chip Clearance No FTDI 106 7 1 Batch File Programming It is possible to create Batch bat files that can help to automate the process of programming the EEPROM on multiple FTDI devices Bat files are simple text documents with the extension bat that contain instructions to be processed by the Windows CLI The following sample will scan for connected devices program device 0 and finally cycle all devices to re enumerate after programming The bat file must be placed in the same directory as the FT_Prog CmdLine utili
38. ty and the specified xml file must be accessible by the application FT_Prog CmdLine exe scan prog 0 Templates FT232R xml cycl 0 pause x k Back Ki K Folders E File and Folder Tasks z l Help Make a new Folder Publish this Folder to the Web EJ Share this Folder Other Places xa Utilities G Documents W My Computer Network Places Details v1 85 File Fulder Date Modified 23 August 2010 10 11 FT PROG exe FT Prog FTOI Templates E FT_PROG CmdLine exe FTD2XX NET d 4 README txt FT Prog Command Line Turu Text Document FTOI 2 NET z KE EL SampleBatch bat 5 05 Batch File 1 KB K SampleBatch bat Notepad ole File Edit Format View Help FT BROG CmdLine exe scan prog TemplatesitFT2333R xml eycl pause A9 7 objects 1 61 MB d My Computer Copyright 2009 14 Future Technology Devices International Limited 34 Document Reference No FT 000172 User Guide For FTDI FT PROG Utility Application Note AN 124 e Version 1 5 Chip Clearance No FTDI 106 VA d S Vinculum Programmer FT Prog can be used to reprogram the Flash memory of the VNC1L 1A and VNC2 it is available as a free dovvnload from the Vinculum vvebsite FT Prog allovvs for programming of devices across the UART using the VVindovvs CDM D2XX drivers or via a virtual com port It can be seen as

Download Pdf Manuals

image

Related Search

Related Contents

広報2011年1月号  TAURA D MCS - Certificazione Energetica    Emerson ASCO 7000 Series Medium Voltage Transfer Switch Warranties  M4RTU/M4 I/O USER'S GUIDE  John Lewis JLTDC10 Clothes Dryer User Manual    Reloj parlante con Alarma Con Luz de fondo EL y Snooze 63-991  owner`s manual  FICHE TECHNIQUE Produit: préparation pour  

Copyright © All rights reserved.
Failed to retrieve file