Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Implicit Two-Step Recovery Boot: the Operative Procedures

...

  1. if the TE0300 module is used, the S2 switch must be turned on (RUN);
  2. if the TE0320 module is used, the S1D switch must be turned on (RUN);

...

TE USB FX2 module is inserted in the USB port of the computer (aka plugged in, aka attached);

...

...

  • enabled (EEPROM switch is set in a way to enable EPPROM connection to USB FX2 microcontroler); 

...

Note
EEPROM connection shall always be enabled during EEPROM programming.

...

  • and

...

...

  • can read and write the EEPROM

...

  • :

...

...

Using Cypress firmware update tools with generation 2 modules does require a recovery boot, in order to force enumeration as Cypress USB Generic Driver.

...

See also Cypress USB Control Center recovery boot and Cypress USB Console recovery boot videos for further information about the procedures to follow.

Info
See the section below and "Recovery Boot" if the user need further information.

Implicit Two-Step Recovery Boot: a longer description

Info
titleSecond step (bootloader Vend_ax in RAM) is hidden

The 2nd stage loader firmware is loaded automatically without the explicit intervention of the user. At this time, it is only possible with Windows OS.

In an implicit two-step recovery boot, the user should (the necessary device driver is assumed already installed (Cypress Generic USB Device Installation))

  • isolate the FX2 microcontroller's external EEPROM disabling the EEPROM switch;
  • use a reset if the the running SW tool is not able to recognize the TE USB FX2 module as a supported device;
  • reconnect the FX2 microcontroller's external EEPROM enabling the EEPROM switch;
  • give the command to load the desired good firmware into FX2 microcontroller's external EEPROM using CyControl, CyConsole, OpenFutNet (Windows OS, all SW tools using CyAPI.lib or CyUSB.dll) ;

    Info

    The CyConsole's "Lg EEPROM" button, CyControl's "64KB EEPROM" button and OpenFutNet's "Program USB: write IIC EEPROM" button call the loadEEPROM() function. This function is used to program 64-Kbyte EEPROMs. When the button (CyConsole's Lg EEPROM button, CyControl's EEPROM button or OpenFutNet's IIC button) is clicked, the user is prompted to select a (.iic) file to load into the EEPROM. This button first downloads the Vend_Ax.bix file, then sends the 0xA9 vendor request to program the EEPROM.

    The CyConsole/CyControl/OpenFutNet program will load

    1. (hidden/implicit 1) an intermediate good firmware supporting EEPROM programming (normally the 2nd stage bootloader Vend_Ax.hex ) in RAM;

    2. (explicit step 2) the desired good firmware into FX2 microcontroller's external EEPROM using the the intermediate good firmware (2nd stage bootloader Vend_Ax.hex) in RAM.
  • use a reset or write the desired good firmware into FX2 microcontroller's RAM using CyControl (Windows OS). If OpenFutNet is used in the step before, the desired good firmware is already written into FX2 microcontroller's RAM.

 

Note
The CyConsole's "S EEPROM" button is used to program 256-byte EEPROMs. When this button is clicked, the user is prompted to select a (.iic) file to load into the EEPROM. This button first downloads the Vend_Ax.bix file, then sends the 0xA2 vendor request to program the EEPROM. This button should not be used
Scroll pdf title
titleFirmware update comparison table.

generation

2: recovery boot

2: regular boot

3: recovery boot

3: regular boot

boot moderecoveryregularrecoveryregular
EEPROM switch (2)EEPROM switch warning (3)EEPROM always enabled (4)EEPROM switch warning (3)EEPROM always enabled (4)

VID

04B4

0547

04B4

0BD0

PID

8613

1002

8613

0300

device

Cypress generic USB

DEWESoft

Cypress generic USB

TE USB FX2

required driver

recovery driver

regular driver

recovery driver

regular driver

recovery tool

Cypress USB Console
Cypress USB Control Center 
OpenFutNet

(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.
(2) The EEPROM switch connect (enable)/disconnect (disable) the connection between 
(3) EEPROM connection disabled when TE USB FX2 module turned on, then EEPROM connection enabled when TE USB FX2 module is inserted in the USB port of the computer (aka plugged in, aka attached)

...

.