This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV2700EVM: Piezo Control Console crashes with DRV2700EVM

Part Number: DRV2700EVM

Hello TI,

I have just bought a DRV2700EVM and have installed the Piezo Control Console V1.2.9 to control it for evaluation. When I connect to the EVM from the PC, as soon as I select 'Console' the Piezo Controle Console has an unhandled exception error. It seems to work ok when not connected to the EVM, i.e. in simulation mode. The exception details are shown below.

PC is a Dell laptop running Windows 10.

Thanks in advance for any help you can offer.

Neil Warnock

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at PiezoControlConsole.HostWindow.toolStripConsole_DropDownOpening(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripDropDownItem.OnDropDownShow(EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnDropDownShow(EventArgs e)
   at System.Windows.Forms.ToolStripDropDownItem.ShowDropDownInternal()
   at System.Windows.Forms.ToolStripDropDownItem.ShowDropDown(Boolean mousePush)
   at System.Windows.Forms.ToolStripMenuItem.OnMouseButtonStateChange(MouseEventArgs e, Boolean isMouseDown)
   at System.Windows.Forms.ToolStripMenuItem.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseDown(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseDown(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.MenuStrip.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.7.3163.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PiezoControlConsole
    Assembly Version: 1.2.9.0
    Win32 Version: 1.2.9.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Texas%20Instruments/PiezoControlConsole%201.2.9/PiezoControlConsole.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    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.7.3151.0 built by: NET472REL1LAST_B
    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.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SplashScreen
    Assembly Version: 1.2.9.0
    Win32 Version: 1.2.9.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Texas%20Instruments/PiezoControlConsole%201.2.9/SplashScreen.DLL
----------------------------------------
HapticsFamily
    Assembly Version: 1.2.9.0
    Win32 Version: 1.2.9.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Texas%20Instruments/PiezoControlConsole%201.2.9/HapticsFamily.DLL
----------------------------------------
HUSBHID
    Assembly Version: 1.2.9.0
    Win32 Version: 1.2.9.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Texas%20Instruments/PiezoControlConsole%201.2.9/HUSBHID.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mfcLogBox
    Assembly Version: 1.2.9.0
    Win32 Version: 1.2.9.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Texas%20Instruments/PiezoControlConsole%201.2.9/mfcLogBox.DLL
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Windows.Forms.DataVisualization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
----------------------------------------
HapticsUserControl
    Assembly Version: 1.2.9.0
    Win32 Version: 1.2.9.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Texas%20Instruments/PiezoControlConsole%201.2.9/HapticsUserControl.DLL
----------------------------------------

  • Hi Neil,

    Welcome to E2E, thanks for your interest in our device.
    Windows 8/10 isn't supported because of some driver issues that we are trying to fix. We currently support Windows 7 until we can guarantee support for Windows 8/10.

    Best Regards
    José Luis Figueroa
    Audio Applications Engineer
  • Hi José Luis,

    Thanks for getting back so quickly.

    Looks like I will have to try to find a Windows 7 PC to blow the dust off and get working! Do you know if it works with XP as I definitely have an old laptop running that OS somewhere.

    Best regards,
    Neil
  • Hi Neil,

    Yes, DRV2700EVM should work with Windows XP.

    Best Regards
    José Luis Figueroa
    Audio Applications Engineer
  • Hi José Luis,

    Thanks for that but I just tried it on an XP machine and unfortunately the same thing happens with an unhandled exception as soon as I go to 'Console' while connected to the EVM.

    I don't think I have Windows 7 anywhere so maybe I'll just have to skip this stage and go to applying my waveform to the input.

    Unless I can talk to it with a terminal program perhaps - is the protocol between the PC and the EVM available anywhere and is it possible to use it 'manually'?

    Many thanks,
    Neil
  • Hi Neil,

    I was investigating and it seems that Windows XP doesn't work either. we don't have another tool to program the EVM manually.
    You can configure a master device to write directly to the I2C bus on the EVM.

    Best Regards
    José Luis Figueroa
    Audio Applications Engineer
  • Hi José Luis,

    Thanks for confirming that. Looks like I will need to skp the stage of operating it from the PC and apply an analog input unless I can find a machine with Windows 7. Can you confirm it does definitely work with Win 7?

    Best regards,
    Neil
  • Neil,

    The Piezo Control Console was designed to work on Win 7. In fact, I have it installed on my PC with win 7 and It works properly.

    Best Regards
    José Luis Figueroa
    Audio Applications Engineer