AnsweredAssumed Answered

BitInit Exception "user buffer is not valid"

Question asked by Christian Aurich on Aug 29, 2013
Latest reply on Sep 5, 2013 by Christopher Preschern



I'm having trouble writing the OTP Bits to iMX287 when using BitInit.exe. I generated the .sb File with - which finishes successfully. After that I copied the .sb file to the BitInit folder, plugged in the iMX28 board over USB and run "BitInit.exe". Under Win7 (english or german language) his causes the programm to freeze and after some while it gives this error:


BitInit.exe (Version 2.2.3796.13940)


Unhandled Exception: System.ComponentModel.Win32Exception: The supplied user buf

fer is not valid for the requested operation

  at DevSupport.DeviceManager.DeviceClass.EnumDeviceInterfaceDetails(Int32 inde

x, IntPtr devInfoSet, Guid iFaceGuid, String& devPath, SP_DEVINFO_DATA devInfoDa


  at DevSupport.DeviceManager.DeviceClass.GetDevInstDataSet()

  at DevSupport.DeviceManager.DeviceClass.BuildDeviceCollection()

  at DevSupport.DeviceManager.DeviceClass.get_Devices()

  at DevSupport.DeviceManager.DeviceManager.FindDevice(Type devClass, Nullable`

1 vid, Nullable`1 pid)

  at BitInit.Program.Main(String[] args)


Running the same on an old WinXP setup works perfectly. But hence we want to figure out how to setup our production environment it is not desirable to use WinXP anymore.


Does anyone have a solution for that - other users seem to be quite happy with BitInit.


Kind Regards