Thanks for your reply, we tried doing this but we were not able to program it using USB Boot Mode.
We are following the below mentioned steps
1--> We have an input button... when we press this the following code gets executed
LPC_SCU->SFSP[2][7] = ((1 << 3) | (1 << 4));//0x00000018;
// Set the P2.7pin to be low
Chip_GPIO_SetPinDIROutput(LPC_GPIO_PORT, 0x0, 7);
Chip_GPIO_SetPinState(LPC_GPIO_PORT, 0x0, 7, false);
Chip_IAP_ReinvokeISP();
2--> Then Using DFU Programmer tool (version dfusec_v1_11) we are selecting the .bin file and we are trying to program it (this will be using USB boot mode -- on USB1), but when we do this DFU utility gives an error "DFU download of programming algorithm failed"
But when we physically pull down P2.7 and use the DFU utility then we are able to program the controller
Do we need to set pin2.5 High
We are using IAP_REINVOKE_ISP command in Chip_IAP_ReinvokeISP()
But the User manual also states that
This command is used to invoke the boot loader in ISP mode. It configures
UART0 pins U0_RX and U0_TX. so is this command ok for USB boot mode
Pl advise