EZLOADER Firmware Download Procedures

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

 

Answer:

1. EZLOADER uses the 0xA0 Vendor Command to do an internal download to the CPUCS register to put the 8051 in RESET.
2. EZLOADER uses the 0xA0 Vendor Command, that is handled by the EZ-USB Core to download to internal memory the firmware image that loads external memory (contained in loader.c).
3. EZLOADER uses the 0xA0 Vendor Command to do an internal download to the CPUCS register to take the 8051 out of RESET.
4. EZLOADER uses the 0xA3 Vendor Command, that is handled by the 8051 firmware in step 2 above to load external memory (if required).
5. EZLOADER uses the 0xA0 Vendor Command, that is handled by the EZ-USB to download to internal memory the final firmware image (if required).
6. EZLOADER uses the 0xA0 Vendor Command to do an internal download to the CPUCS register to put the 8051 in RESET.
7. EZLOADER uses the 0xA0 Vendor Command to do an internal download to the CPUCS register to take the 8051 out of RESET.