Application Note. AN_136_Hi-Speed Mini Module EEPROM Disaster Recovery



Similar documents
Application Note AN_149. Upgrading a passive DB9 RS232 Interface to an active USB Interface using an FTDI DB9-USB-RS232 Module

Future Technology Devices International Ltd. USB-Key. Datasheet

FT2232H Mini Module. USB Hi-Speed FT2232H Evaluation Module. Datasheet

FT4232H Mini Module. USB Hi-Speed FT4232H Evaluation Module. Datasheet

Future Technology Devices International Ltd. AN232R-02 FTDIChip-ID for the FT232R and FT245R

Technical Note. TN_134 FTDI Android D2XX Driver

Application Note AN_385. FTDI D3XX Driver Installation Guide

Determining USB Peripheral Device Class

Future Technology Devices International Ltd. USB NMC-2.5m. USB to USB Null Modem Cable. Datasheet

Application Note AN_243. FT312D USB Host to UART Cable Application

Technical Note TN_152. USB 3.0 Compatibility Issues Explained

Command Processor for MPSSE and MCU Host Bus Emulation Modes

Simplified Description of USB Device Enumeration

Future Technology Devices International Ltd. FTDI Drivers Installation guide for. Windows 7

TTL-232R-PCB. TTL to USB Serial Converter PCB. Datasheet

Future Technology Devices International Ltd

Future Technology Devices International Ltd. FTDI Drivers Installation guide for Windows XP

USB Hi-Speed Serial/Hub Module. Datasheet

Future Technology Devices International Ltd

White Paper WP_001. Connecting Peripherals to an Android Platform

VF2F. USB Flash Disk File-to-file Transfer Vinculum Evaluation Kit. Future Technology Devices International Ltd. Preliminary - Subject to Change

Future Technology Devices International Ltd. Application Note AN_234. FTDI Drivers Installation guide for. Windows 8

UMFT4222PROG FT4222 Programmer Module

Future Technology Devices International Ltd. FTDI Drivers Installation guide for. Windows VISTA

Future Technology Devices International Ltd. USB to RS232 UART Serial Converter PCB. Datasheet

Application Note AN_242

VDIP1. Vinculum VNC1L Module. Datasheet

Future Technology Devices International Ltd. FTDI Drivers Installation guide for Windows XP

Future Technology Devices International Ltd

Application Note AN_101. Submitting Modified FTDI Drivers for Windows Hardware Certification

Future Technology Devices International Ltd USB TO RS422 UART SERIAL CONVERTER PCB. Datasheet. Document Reference No.: FT_000119

Application Note AN_185. Vinculum-II UART to USB HID Class Host Bridge

Application Note AN_241. FTDI_AOA_HyperTerm_User_Manual

Application Note AN_299. FT800_FT801_Internal_Clock _Trimming

Future Technology Devices International Ltd. Windows XP Installation Guide

Application Note AN_209. AN_209 PDIUSBD12 to FT120 Migration Guide

TTL-232R. TTL to USB Serial Converter Range of Cables. Datasheet

C232HD. USB 2.0 Hi-Speed to UART Cable. Datasheet

Technical Note TN_146. Creating Android Images for Application Development

FTDI Chip. VM800P Datasheet Embedded Video Engine Plus Module. VM800P Embedded Video Engine Plus Module Datasheet Version 1.0

Future Technology Devices International Ltd. VF2F2. USB Flash Disk File-to-file Transfer Vinculum Evaluation Kit.

Future Technology Devices International Ltd. USB to RS232 Serial Converter Range of Cables. Datasheet

Technical Note. TN_132 Adding FTDI Devices VCP Driver Support to Android

Future Technology Devices International Ltd. Technical Note TN_101

C232HM. USB 2.0 Hi-Speed to MPSSE Cable. Datasheet

Technical Note. TN_147 Java D2xx for Android

Technical Note TN_158. What is the Camera Parallel Interface?

Application Note AN_276. FT800 Audio File Conversion

Vinco Development Module. Datasheet

TTL-232R-3V3 USB to TTL Serial Converter Cable

Application Note AN_146. USB Hardware Design Guidelines for FTDI ICs

USB-COM422-PLUS2. Datasheet

USB-COM422-PLUS1. Datasheet

DB9-USB-RS232 Module. Male & Female. Datasheet

TTL-232R. TTL to USB Serial Converter Range of Cables. Datasheet

USB-COM232-PLUS4. Datasheet

Application Note AN_254. FT800 Designs With Visual TFT

Technical Note TN_105

Application Note AN_208. FT311D and FT312D Demo_APK_User_GuideFT311D and FT312D Demo_APK_User_Guide

The DB9-USB Family of. UART Converter Modules. Datasheet

FTDI Ltd DS_US232R-10(R-100/500) USB to RS232 Adapter cable. Data Sheet

Application Note AN_100. Using the FT232R/FT245R with an External Crystal or Oscillator

Future Technology Devices International Ltd. FT311D

Future Technology Devices International Ltd. UM245R USB - Parallel FIFO. Development Module. Datasheet

Application Note AN_250. Configuring FT313H Driver for Embedded Linux

USB - FPGA MODULE (PRELIMINARY)

* Lead Free * DLP-2232ML-G LOW-PROFILE USB MODULE. 1.0 Introduction

NOW LEAD-FREE! VCCIO VCCIO RXLED TXLED DTR# 10K FTDI FT232R

Application Note AN_180. FT232H MPSSE Example - USB Current Meter using the SPI Interface

Application Note AN_113. Interfacing FT2232H Hi-Speed Devices To I2C Bus

Application Note AN_252. FT800 Audio Primer

ICs. Modules. Cables. FTDI Chip USB Solutions BRIDGING TECHNOLOGIES.

USB / Data-Acquisition Module NOW LEAD-FREE

UC232R ChiPi Minimum Component FT232RL USB to RS232 Converter Cable

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

UM245R USB-Parallel FIFO Development Module

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

DK40 Datasheet & Hardware manual Version 2

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

Application Note AN_135. FTDI MPSSE Basics

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual

Future Technology Devices International Ltd. Windows 98 Installation Guide

Future Technology Devices International Ltd. FT234XD (USB to BASIC UART IC)

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

I2C PRESSURE MONITORING THROUGH USB PROTOCOL.

Lab Experiment 1: The LPC 2148 Education Board

Future Technology Devices International Ltd. FT232BM USB UART IC

PC2400 EEPROM PROGRAMMER INSTRUCTION MANUAL

Application Note AN_240. FT800 From the Ground Up

M95 Dual SIM Application Notes

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

Nuvoton Nu-Link Debug Adapter User Manual

Transcription:

Future Technology Devices International Ltd. Application Note AN_136_Hi-Speed Mini Module EEPROM Disaster Recovery Document Reference No.: FT_000209 Issue Date: 2010-02-17 The FTDI Hi-Speed USB devices FT2232H and FT4232H are provided on development modules (Mini modules). These modules are fitted with an 93C56 EEPROMs that are used for configuring descriptors and operational parameters. Occasionally users have corrupted these EEPROMs, rendering the module unusable. The contents of this document provide steps to recovering the modules. 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): support1@ftdichip.com Web: http://www.ftdichip.com Copyright 2010 Future Technology Devices International Limited

Table of Contents 1 Introduction... 2 2 What are Hi-Speed Mini Modules.... 3 3 The EEPROM... 4 3.1 What the EEPROM Contains... 4 3.2 Programming the EEPROM... 4 4 Recovery... 5 4.1 Hardware connection... 5 4.2 Software Utility... 5 5 Contact Information... 7 Appendix A - Abbreviations... 9 Appendix B References... 10 Appendix C Revision History... 11 Copyright 2010 Future Technology Devices International Limited 1

1 Introduction The FTDI Hi-Speed USB devices FT2232H and FT4232H are provided on development modules (Mini modules). These modules are fitted with 93C56 EEPROMs that are used for configuring descriptors and operational parameters. Occasionally users have corrupted these EEPROMs, rendering the module unusable. The contents of this document provide steps to recovering the modules. Copyright 2010 Future Technology Devices International Limited 2

2 What are Hi-Speed Mini Modules. Hi-speed mini modules were developed to assist in the development of designs using the FT2232H and FT4232H ICs. The FT2232H based module may be used to convert one USB port to either 2 UARTs, 2 FIFOs, 2 MPSSE or a combination of these interfaces. The FT4232H based module may be used to convert one USB port to either 4 UARTs, 2 MPSSE or a combination of these interfaces. For more information on the modules please refer to: http://www.ftdichip.com/products/evaluationkits/hispeedmodules.htm Copyright 2010 Future Technology Devices International Limited 3

3 The EEPROM The modules are fitted with 93C56 EEPROMs. 3.1 What the EEPROM Contains The EEPROM contains standard descriptors to allow for unique identification of the device e.g. VID, PID, Serial number and strings such as manufacturer and product name. In addition to the descriptors there are functional parameters that allow the device to be configured into different modes e.g. UART or FIFO. At the end of the EEPROM there is a checksum that is then used to validate the contents of the EEPROM. 3.2 Programming the EEPROM Programming the EEPROM is most easily done by using FT_PROG which is a free utility from FTDI which allows programming the device from a GUI based template. This is the easiest method. However the option for customers to create their own tools exists by utilising the D2xx function calls. This is perhaps where the greatest scope for error occurs. If the EEPROM becomes corrupted, it is possible that a combination exists where the FT2232H or FT4232Hdevice can no longer be enumerated with the EEPROM in circuit. The next section will discuss recovering the device without removing the EEPROM from the board. Copyright 2010 Future Technology Devices International Limited 4

4 Recovery The basic concept of the recovery is to wire the SPI pins of the EEPROM to an external control to reprogram all the EEPROM bits to FF (equivalent to an erase). The method used in this document makes use of the MPSSE mode of a good FT2232H mini-module, but it is also possible to use an FT2232D or FT4232H device. 4.1 Hardware connection The block diagram below shows the required connections between the two modules. It works for both FT2232H and FT4232H mini modules. USB FOR POWER AND CONTROL PC CONTROLLER + UTILITY USB FOR POWER ONLY V3V3 CN2-1,3,5 CN2-1,3,5 V3V3 VIO CN2-11,21/CN3-12,22 CN2-11,21/CN3-12,22 VIO VBUS CN3-1 CN3-1 VBUS VCC CN3-3 AD3 CS CN3-5 CN3-3 VCC AD0 CLK CN3-6 AD1 AD2 DATA CN3-7 CN2-2,4,6/CN3-2,4 GND RESET GND CN2-8 CN2-2,4,6/CN3-2,4 GOOD MODULE (FT2232H based) CORRUPT MODULE (FT2232H / FT4232H based) Power to both modules is shown as being provided by the PC USB port. However it would be possible to replace that with an external supply. 4.2 Software Utility When the hardware is wired up download the recovery application from: http://www.ftdichip.com/resources/utilities/spitest.zip Run the executable. Copyright 2010 Future Technology Devices International Limited 5

Select device channel A in the Device Name box. The actual text displayed will depend on the product descriptor you have used in the device EEPROM. Select Prog to Erase to recover the device. This is simply writing FF to each address location in the device. The corrupt module may now be installed on a PC and can be correctly configured with FT_Prog. Copyright 2010 Future Technology Devices International Limited 6

5 Contact Information Head Office Glasgow, UK Future Technology Devices International Limited Unit 1, 2 Seaward Place, Centurion Business Park Glasgow G41 1HH United Kingdom Tel: +44 (0) 141 429 2777 Fax: +44 (0) 141 429 2758 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) Web Site URL Web Shop URL sales1@ftdichip.com support1@ftdichip.com admin1@ftdichip.com http://www.ftdichip.com http://www.ftdichip.com Branch Office Taipei, Taiwan Future Technology Devices International Limited (Taiwan) 2F, No. 516, Sec. 1, NeiHu Road Taipei 114 Taiwan, R.O.C. Tel: +886 (0) 2 8791 3570 Fax: +886 (0) 2 8791 3576 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) Web Site URL tw.sales1@ftdichip.com tw.support1@ftdichip.com tw.admin1@ftdichip.com http://www.ftdichip.com Branch Office Hillsboro, Oregon, USA Future Technology Devices International Limited (USA) 7235 NW Evergreen Parkway, Suite 600 Hillsboro, OR 97123-5803 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-Mail (Sales) E-Mail (Support) E-Mail (General Enquiries) Web Site URL us.sales@ftdichip.com us.support@ftdichip.com us.admin@ftdichip.com http://www.ftdichip.com Branch Office Shanghai, China Future Technology Devices International Limited (China) Room 408, 317 Xianxia Road, Shanghai, 200051 China Tel: +86 21 62351596 Fax: +86 21 62351595 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) Web Site URL cn.sales@ftdichip.com cn.support@ftdichip.com cn.admin@ftdichip.com http://www.ftdichip.com Copyright 2010 Future Technology Devices International Limited 7

Distributor and Sales Representatives Please visit the Sales Network page of the FTDI Web site for the contact details of our distributor(s) and sales representative(s) in your country. Vinculum is part of Future Technology Devices International Ltd. Neither the whole nor any part of the information contained in, or the product described in this manual, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. This product and its documentation are supplied on an as-is basis and no warranty as to their suitability for any particular purpose is either made or implied. Future Technology Devices International Ltd will not accept any claim for damages howsoever arising as a result of use or failure of this product. Your statutory rights are not affected. This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of the product might reasonably be expected to result in personal injury. This document provides preliminary information that may be subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH United Kingdom. Scotland Registered Number: SC136640 Copyright 2010 Future Technology Devices International Limited 8

Appendix A - Abbreviations Terms Description EEPROM Electrically Erasable Programmable Read Only Memory FTDI Future Technology Devices MPSSE Multi Purpose Synchronous Serial Engine SPI Serial Peripheral Interface Copyright 2010 Future Technology Devices International Limited 9

Appendix B References Hi-Speed Mini Modules http://www.ftdichip.com/products/evaluationkits/hispeedmodules.htm FT_Prog http://www.ftdichip.com/resources/utilities/ft_prog.zip D2xx Programmers Guide http://www.ftdichip.com/documents/programguides/d2xx_programmer's_guide(ft_000071).pdf Interfacing FT2232H device to SPI http://www.ftdichip.com/projects/mpsse/an_114_ftdi_hi_speed_usb_to_spi_example.pdf Recovery utility http://www.ftdichip.com/resources/utilities/spitest.zip Copyright 2010 Future Technology Devices International Limited 10

Appendix C Revision History Revision Changes Date 0.1 Initial Draft 2009-11-19 1.0 First release 2010 02-17 Copyright 2010 Future Technology Devices International Limited 11