navx-mxp.zip damaged?

21 views
Skip to first unread message

Tim Wilson

unread,
Feb 11, 2017, 12:18:43 PM2/11/17
to navx-mxp
Trying to download the SW from Kauailabs site - the zip file navx-mxp.zip is only 3.3 MB and zip will not open it. I tried to repair the file using zip -FF, was able to get an open-able zip file but it contained only a folder called "enclosure" which doesn't have anything useful in it. Was able to get the .jar file I needed by downloading the navx-mxp-libs.zip file, but I'm going to need the firmware updater which is in the other zipfile. HELP! We're in the middle of build season!!

admin

unread,
Feb 11, 2017, 12:24:55 PM2/11/17
to navx-mxp
Thanks for letting us know; the file that was on the site got corrupted during the last transfer.  A replacement navx-mxp.zip has been uploaded and verified.

len_e...@mac.com

unread,
Feb 11, 2017, 9:33:41 PM2/11/17
to navx-mxp
I had the same problem with the corrupt zip file, but now I'm having an issue with the replacement.  I'm getting an "Unhandled Exception" error with a STDFUFiles.dll when I try to update the firmware.  Here's the details of the problem:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DllNotFoundException: Unable to load DLL 'STDFUFiles.DLL': The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
   at NetDFULib.HEX2DFU.STDFUFILES_CreateNewDFUFile(String szDevicePath, IntPtr& handle, UInt16 Vid, UInt16 Pid, UInt16 Bcd)
   at NetDFULib.HEX2DFU.ConvertHexToDFU(String hex_file_name, String dfu_output_name, UInt16 Vid, UInt16 Pid, UInt16 Bcd) in c:\Users\Scott\Documents\GitHub\navxmxp\c#\NetDFULib\HEX2DFU.cs:line 27
   at navXFirmwareUpdater.Form1.button1_Click(Object sender, EventArgs e) in c:\Users\Scott\Documents\GitHub\navxmxp\c#\navXFirmwareUpdater\Form1.cs:line 569
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1086.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
navXFirmwareUpdater
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Kauai%20Labs/navX-MXP/navXFirmwareUpdater/navXFirmwareUpdater.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1081.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
NetFULib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Kauai%20Labs/navX-MXP/navXFirmwareUpdater/NetFULib.DLL
----------------------------------------
navXComUtilities
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Kauai%20Labs/navX-MXP/navXFirmwareUpdater/navXComUtilities.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1084.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

-- Len

admin

unread,
Feb 11, 2017, 10:32:02 PM2/11/17
to navx-mxp
Please take a look at this ChiefDelphi post from a year ago, it might provide some ideas. A few others encountered similar troubles and found workarounds.

https://www.chiefdelphi.com/forums/s...d.php?t=143307

What you are encountering is an issue that appears on a small percentage of Windows computers.

As background, STDFUFiles.DLL is a user-mode driver from ST Microelectronics which provides USB-based access to the STM32 micro-controller firmware loader. This is used by the navXFirmwareUpdater. The navX-MXP/Micro setup programs install STDUFiles.DLL (using an installer from ST Microelectronics). There are two points:

- Certain operating system privileges are required to install this.
STDUFiles.DLL is dependent upon some other DLLs, and it's possible they're either not getting installed, or conflict with other DLLs already on your machine.

So in addition to reviewing this post, I'd encourage you to run the navX-MXP/navX-Micro setup program as an administrator.

If that doesn't work, please send details about the configuration of your two computers (operating system version, 32 vs 64 bit, what are the privileges of the account you are using when installing, and anything else you might think is helpful).

If all else fails, we'll can replace your board with one that has the latest firmware (sup...@kauailabs.com), but let's see if we can resolve it using the above means first.

Aloha,

- scott

len_e...@mac.com

unread,
Feb 12, 2017, 4:53:42 PM2/12/17
to navx-mxp
Re-installing with admin didn't work.

Installing the Visual C++ 2005 runtime did work.  I didn't think it would apply to Windows 10 (it only lists up to Vista as supported), but that was the secret sauce.  Got updated to the latest firmware.

-- Len
Reply all
Reply to author
Forward
0 new messages