lpcware

DFU supported with LPC1857 And IAP Command Code 57 (Reinvoke ISP)?

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by shansohn on Wed Dec 12 14:29:06 MST 2012
I have an LPC1857 device that only supports firmware upgrade via USB0/DFU (hardwired per Table 13 of UM10430).

I'd like the application code to reinvoke ISP USB0/DFU on user command to upgrade firmware.

Q1: Can the Reinvoke ISP (IAP code 57) be used for this, or will that only support ISP via UART0?

Q2: If not, how would I reset the device so it enumerates back as a DFU-mode device. (e.g. invalidate the currently running flash bank so that ISP USB0/DFU mode will be run on the next device reset?)

Outcomes