I had a 1st glimpse to IFU in 4.2.8.
So far I have only read the SDK docs, which implies me that IFU is supprisingly simple.
But when I look at the sample I come up with some questions:
SystemUpdate.Initialize( SystemUpdate.SystemUpdateType.Config | SystemUpdate.SystemUpdateType.Deployment | SystemUpdate.SystemUpdateType.Firmware ); LoadDataFromSD(@ "SD\ER_DAT", SystemUpdate.SystemUpdateType.Firmware); LoadDataFromSD(@ "SD\ER_CONFIG", SystemUpdate.SystemUpdateType.Config); LoadDataFromSD(@ "SD\ER_FLASH", SystemUpdate.SystemUpdateType.Firmware); LoadDataFromSD(@ "SD\ManagedApp.hex", SystemUpdate.SystemUpdateType.Deployment); _led.Write(true); if (SystemUpdate.CanUpdate) SystemUpdate.FlashAndReset();
Where do I get the files from?
I assume that ER_DAT might be Firmware.hex, ER_FLASH might be Firmware2.hex, ER_CONFIG might be Config.hex and ManagedApp.hex is my application.
Is that assumption correct?
Then I come to my 2nd question: Where do I get ManagedApp.hex (or MyApp.hex) from? Do I create it with MFDeploy as if I would deploy it with MFDeploy or the FW Updater?
And 3rd question:
Do I need to have the …sig files in parallel? Well I assume no, because how could the SystemUpdate.Load() method know where the array is comming from.
This leads me to my final question:
Do you plan (or have) a method to manually check .hex files with theire .sig file?