Reinvoke ISP in USB mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reinvoke ISP in USB mode

593 次查看
lpcware
NXP Employee
NXP Employee
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?
标签 (1)
0 回复数