Content originally posted in LPCWare by lpcxpressologinname on Tue Sep 08 07:44:16 MST 2015
I'm trying to jump back into ISP mode of the rom bootloader.
This is the code I use to activate the bootloader:
DISABLE_INTERRUPT();
// Reset USB block
Chip_SYSCTL_PeriphReset(RESET_USB);
Chip_Clock_SetSysClockDiv(1);
LPC_WWDT->TC = 0xFFFFFF;
Chip_WWDT_Feed(LPC_WWDT);
// re-invoke ISP in USB
Chip_IAP_ReinvokeISP(2);
The current CDC disappears, but the massstorage device doesn't appear. Windows or Linux don't recognize the device. If I look into the device it uses PID 0000 and VID 0000. So it seems as if the descriptor isn't correctly filled in.
Anyone any ideas how to make this work?