Hello Folks,
We're using USB boot to load and update our application code into flash. We just called the built-in USB_Boot() function in boot ROM. But sometimes the MCU got lock up because the host sends a bad image, or something. I tried to start a timer before calling USB_boot() and let it reset MCU after certain time. The timer ISR code works well and tested, but it does not work after calling USB_boot(). It seems that somewhere in boot ROM the interrupts are all disabled so that the timer stops counting. Apparently we cannot change the code in boot ROM but is there anyway to enable timer so that the USB boot process can be monitored and reset after certain time? I'd greatly appreciate any suggestions and advises. Thanks!