Cypress Perform

Home > Support
support.cypress.com     Bookmark and Share
Support

Knowledge Base Article



Reset Problems When Re-programming the 24LC64 EEPROM on the FX2 - KBA83436

Last Updated: 01/31/2013

Version: **
Question: When an iic firmware image is created with the command hex2bix -i -o test.iic test.hex, the firmware does not get loaded and the device does not enumerate with the new descriptors as expected. What is the reason?

Answer: The reason is that this utility defaults to a 0xB2 load (for example, it writes the first byte as 0xB2 in the EEPROM), which is for the older EZ-USB chips. To avoid this error, follow these steps:

  1. In the µVision2 Editor, click ‘Options for Target’ and then select the ‘Output’ Tab. Ensure that the following path is described in the ‘ Run User Program #1’:

     

    ..\..\..\Bin\hex2bix -i -f 0xC2 -o fw.iic fw.hex

  2. If at power-on-reset, the EZ-USB detects an EEPROM connected to its I2C with the value 0xC2 at address zero, the EZ-USB loads the firmware in EEPROM into an on-chip RAM. It also sets the RENUM bit to ‘1’, causing standard device requests to be handled by the firmware instead of the default USB device.

Related Categories: USB Hi-Speed Peripherals




Provide feedback on this item to help us improve:

How likely are you to recommend this article to a friend or colleague?

Not at all likely
0
1
2
3
4
5
6
7
8
9
10
Extremely likely

Was this item helpful?
Yes
No
Maybe


Additional comments:

Email:

Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 04/03/13