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

...

...

  • enable EPPROM connection to USB FX2 microcontroler);

...

  •  

Note
EEPROM connection shall always be enabled during EEPROM programming.

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

Using Cypress firmware update tools with generation 2 modules does require a recovery boot, in order to force enumeration as Cypress generic USB device driver.
On the other side, using Cypress firmware update tools with generation 3 modules does not require a recovery boot. This is possible because the original Cypress generic USB device driver (in case of a recovery boot) and the Trenz Electronic USB FX2 device driver ( in case of a regular boot) are both Cypress driver. Trenz Electronic USB FX2 driver derives from the original Cypress generic USB device driver.
EEPROM switch shall always be on during EEPROM programming.
The firmware update procedure is similar for both generations. The following table summarizes the main differences.

 

generation

2: recovery boot

3: recovery boot

3: regular boot

boot mode (EEPROM switch)

recovery (off, then on)

recovery (off, then on)

regular (always on)

VID

04B4

04B4

0BD0

PID

8613

8613

0300

device

Cypress generic USB

Cypress generic USB

TE USB FX2

required driver

recovery driver

recovery driver

regular driver

update applications

Cypress USB Console
Cypress USB Control Center

 

...

.