1. Yep. You'll have to modify interface descriptor to specify the number of endpoints and then remove the endpoint descriptor of EP4 since it is not being used.
2. You'll have to decode the hex file for the start address and length of each block of firmware to be written. The output file using keil compiler uses intel hex format. You should be able to find the necessary details about the file format from the net.
3. Yep. After finishdataxfer the transfer is over.
Dear Anand, Thank you very much,these days you have helped me a lot.This extremely increases my efficiency.Great!Cypress!I love your products! Regards, Ian