Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Include Page
IN:Videos: generation 2 to generation 3 migration (firmware + driver)
IN:Videos: generation 2 to generation 3 migration (firmware + driver)

...

Quick Migration Procedure

Anchor
QMP
QMP

When migrating from the second generation of the software stack for Trenz Electronic FPGA modules with USB interface (aka DEWESoft firmware and DEWESoft driver derivative) to the third generation (aka Trenz Electronic firmware and Cypress driver derivative), we recommend the following:

  • A) flash latest firmware into the module:

https://github.com/Trenz-Electronic/TE-USB-Suite/tree/master/TE_USB_FX2.firmware/ready_for_download/
(currently: TE-USB-FX2_v03.02_TE.iic)

...

At first, you should check VID/PID of connected TE USB FX2 module and follow the steps advised in the table below.

 

Scroll Title
titleFirmware and driver migration from Gen 2 to Gen 3
VID/PID of connected
TE USB FX2 module
Firmware installedRequired Driver

Required procedure
for migration

0547/1002Gen2: Trenz Electronic firmware
with old VID/PID

 Regular driver (Gen 2):
DEWESoft USB FX2

0DB0/0300Gen3: Trenz Electronic firmware
with new VID/PID

Regular driver (Gen 3):
TE USB FX2 Driver

04B4/8613Cypress firmware (1)Recovery driver (Cypress)
  • Enable EEPROM switch (3)
  • Reset TE USB FX2 module (4)
  • One of the two previous case
    should happens

(1) EEPROM switch (S1A on TE0320 and TE0630, S1 on TE0300) is disabled during a reset ("power-on reset" or "powered reset")

(2) Only for Windows XP is strictly necessary. Fully uninstall (i.e. with "delete files" option activated on Windows Vista or later versions, in Windows XP the deletion must be done manually: see section 4) of old

...

driver

...

is advisable.

After the firmware and driver migration, the user should

http://www.trenz-electronic.de/download/d0/Trenz_Electronic/d1/TE-USB-Suite/d2/generation_3/d3/drivers.html
and, of course, read carefully the manual (UM-drivers-TE_USB_FX2.pdf)
Driver installation on Microsoft Window 7 and Microsoft Window 8 can be performed automatically (on-line). It is possible that the first online driver installation fails; in this case the developer shall force a retry (the second attempt normally works). See UM-Drivers-TE_USB_FX2 manual at section 2.1.2.3.2 Force the online search.
Please compare your Device Manager window with the pictures shown in the manual cited above. In particular, check that the picture shown in section 2.1.3 Common to Windows XP/7/8 (Final Part) matches both device class name and driver class name in your Device Manager. If not, this is probably because the operating system links/loads the old driver class and driver file(s). In this case, it might be useful to go to C:\WINDOWS\system32\drivers (or the like) and delete TE03xx* files. The intended driver file names are "TE_USB_FX2_xx" instead:

  • TE_USB_FX2.cat
  • TE_USB_FX2.inf
  • TE_USB_FX2_32.sys
  • TE_USB_FX2_64.sys

Warning: Generation 3 device drivers with version date prior to 06 September 2012 must not be used.

...

download latest C++/C#

...

SW API

On the GitHub repository, the developer can find the current C++/C# API. The code is associated with Microsoft Visual Studio Express 2010 project. This project can also be opened in Visual Studio Professional 2010.
The C++ DLL and sample code is preset for Microsoft Windows 32 bit operating systems. If you desire to compile the solution for 64 bit operating systems, the procedure in Microsoft Visual Studio Express and Microsoft Visual Studio Professional has some differences and is specified in Appendix A : Open the Visual Studio 2010 project of C++ TE_USB_FX2 API - reference manual published here: http://www.trenz-electronic.de/download/d0/Trenz_Electronic/d1/TE-USB-Suite/d2/generation_3/d3/APIs.html
The differences are the following

...