Hi,
i am currently testing out IFU on the G400 with NETMF4.3 (latest available) and i’m getting a native exception:
#### Exception System.ArgumentException - 0xfd000000 (11) ####
#### Message:
#### GHI.Processor.InFieldUpdate::NativeLoad [IP: 0000] ####
#### GHI.Processor.InFieldUpdate::Load [IP: 0052] ####
#### TwoSpeak.IO.Storage::LoadFirmwareImage [IP: 002d] ####
#### TwoSpeak.USB.UsbMethods::<FirmwareUpdate>b__4 [IP: 001f] ####
I’m doing it exactly as described in the documentation:
- Calling IFU Init with Firmware-type
- Caling your example Load function to read image from SD (yes the image exists - my stream has 1.1Mb of size)
- Calling the Flash&Reset method (which actually never happens)
The first time is tries to call the IFU.Load(type, data, dataSize) the exception as shown above occurs.
All parameters are set-up correctly, the array is full of data + the size param is also correct.
I also have ensured that enough RAM is available; >50Mb that should be sufficient .
And i also tried it out with debugger enabled/disabled - makes no difference.
Is it important that the IFU stuff is called out of a specific context (e.g: main-thread)?
EDIT: My image is created by MFDeploy, also as shown as in the documentation.
Regards