Versions Compared

Key

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

...

The firmware used (running on the FX2 microcontroller) is normally (EEPROM switch enabled) retrieved from EEPROM when a reset occurs. It is also possible to directly write the RAM of FX2 microcontroller to change the current running firmware.

Info

For a A general introduction to USB bulk transaction and FX2 microcontroller firmware , see section "General USB and FX2 firmware introduction"is available here.

TE USB FX2 modules are shipped with a preloaded FX2 USB microcontroller reference firmware inside the EEPROM.For an introduction to the reference firmware, see section "Reference firmware (Trenz Electronic v3.02 description): preloaded USB Firmware (FX2 USB microcontroller, EEPROM)".

The preloaded firmware exposes Trenz Electronic Firmware API (TE API Commands (FW APIs)) to the host computer software (through USB).

To change the EEPROM content (reference firmware) from Generation 2 to Generation 3, you shall follow this procedure. You may also watch this video play list.

For an introduction to recovery boot and regular/update boot, see sections  "USB FX2 microcontroller's firmware configuration", "USB connection is unresponsive", "Recovery Boot (TE USB FX2 Firmware Recovery)" and "Update Boot (TE USB FX2 Firmware Update)"., recovery boot and update boot. 

Tip

For custom firmware tips see section "Custom FX2 microcontroller's firmware" considerations and advices see here.

 

 

Scroll pdf title
titleFirmware loading and/or update comparison table.

generation

2/3/custom

2

3

custom

EEPROM switch (2) status
when a reset occurs

disabled (3)enabled (4)enabled (4) enabled (4)
boot modefirmware recovery bootregular or
firmware update boot
regular or
firmware update boot
regular or
firmware update boot

VID

04B4

0547

0BD0

any, but 0BD0 is advised

PID

8613

1002

0300

any, but 0300 is advised

device enumerated

Cypress generic USB

DEWESoft TE03xx USB

Trenz Electronic TE USB FX2

any or
Trenz Electronic TE USB FX2

required driver
(Windows OS)

 recovery driver (Cypress default,
using Cypress or TE SW libraries)
or WinUSB (using libusbx library)(5a)

regular driver (Gen 2,
using Cypress or TE SW libraries
or WinUSB (using libusbx library) (5a)

regular driver (Gen 3,
using Cypress or TE SW libraries)
or WinUSB (using libusbx library) (5a)

custom (using custom , WinUSB or libusbx library),
WinUSB (using libusbx library) (5a)  (for any)
or regular driver (Gen 3,
using Cypress or TE SW libraries)
firmware source code

Hardware Layer only (6)

Source code available here

Source code available here

Custom firmware (7)

firmware binary filesHardware Layer only (6)Binary files available hereBinary files available hereCustom firmware (7)

recovery tool

Cypress USB Console,
Cypress USB Control Center,
 C# OpenFutNet (advisedrecommended) (5b)

 not applicable

not applicable

not applicable
update toolnot applicablePython Open_FUT (Gen2) (5b)

Cypress USB Console,
Cypress USB Control Center ,
Python Open_FUT (Gen 3),
C# OpenFutNet (advisedrecommended) (5b)

nothing or
Cypress USB Console,
Cypress USB Control Center ,
Python Open_FUT (Gen 3),
C# OpenFutNet (advisedrecommended) (5b)
(1) The TE USB FX2 module (in recovery boot) is served by the Cypress USB Generic Driver; this driver allows Cypress firmware update tools (Cypress Console, Cypress Control Center) and OpenFutNet to work with the Cypress EZ-USB FX2 microcontroller on the module.

...