Dear All,
We want to make use of ROM based USB BootLoader. In Our application software, after receiving a particular command(Received via USB virtual COM Port) we are executing the following code
USBDCDTerm(0);
//
// Disable SysTick and its interrupt.
//
ROM_SysTickIntDisable();
ROM_SysTickDisable();
//
// Disable all processor interrupts. Instead of disabling them one at a
// time, a direct write to NVIC is done to disable all peripheral
// interrupts.
//
HWREG(NVIC_DIS0) = 0xFFFFFFFF;
HWREG(NVIC_DIS1) = 0xFFFFFFFF;
HWREG(NVIC_DIS2) = 0xFFFFFFFF;
HWREG(NVIC_DIS3) = 0xFFFFFFFF;
//HWREG(NVIC_DIS4) = 0xFFFFFFFF;
//
ROM_USBDevDisconnect(USB0_BASE);
ROM_UpdateUSB(0);
After this code execution, virtual port has been removed from PC and other unknown USB device has registered in PC even LM Flash Programmer with USB DFU interface selection doesn't show any device.
Our aim is to initiate the ROM based USB BootLoader from application software and updating the Software using LM Flash Programmer.
Can you help us to solve the problem.