Firmware download using EzLoader

Question: What is the basic procedure that the EzLoader driver uses to download firmware to the EZ-USB AN21xx device?

 

Answer:

EZLOADER uses the

1. 0xA0 Vendor Command to do an internal download to the CPUCS register to put the 8051 in RESET.

2. 0xA0 Vendor Command, that is handled by the EZ-USB Core ONLY,  to download to internal memory the firmware image that loads external memory (contained in loader.c).

3. 0xA0 Vendor Command to do an internal download to the CPUCS register to take the 8051 out of RESET.

4. 0xA3 Vendor Command, that is handled by the 8051 firmware in step 2 above to load external memory (if required).

5. 0xA0 Vendor Command, that is handled by the EZ-USB Core ONLY, to download to internal memory the final firmware image (if required).

6. 0xA0 Vendor Command to do an internal download to the CPUCS register to put the 8051 in RESET.

7. 0xA0 Vendor Command to do an internal download to the CPUCS register to take the 8051 out of RESET.