Content originally posted in LPCWare by kabikov on Thu Jul 31 06:29:29 MST 2014
Hi!
I'm trying to understand IAP with DFU with 11u14 & AN11232. I'm dissapointed that the flash programmed twice in usbcore.c. Detail:
usbcore.c:981 if (DFU_SetupForDownload(SetupPacket.wValue.W, SetupPacket.wLength, &eotflag )) {
usbcore.c:1164 if (DFU_Download(SetupPacket.wValue.W, SetupPacket.wLength)) {
they both call DFU_Write
Is it really need to program flash twice?