andy vt's tools & blog

automating lazy

zip LcdTest

Downloads: 3,139 File Size: 18.8kB
Posted By: babgvant Views: 5,861
Date Added: Tue, Oct 3 2006
LcdTest is a simple application to write test to the top and bottom line of a HD44780 display. I wrote to help troubleshoot issues with LcdWriter.



Henrik Lind said:

Hi, Can't get the execution rights ok. Nothing happens when running LCDWriter. Tried the LCDTest and got the following error list: Now- Can not understand how to get the rights ok for the LCDTest application so that it runs without exception (I would imagine the same goes for the LCDTst application that I'd love to get running). Follows list: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Security.SecurityException: System.Security.Permissions.SecurityPermission at LcdWriter.PPORT.wc(Int32 p, Byte d) at LcdWriter.HD44780.LoadInstruction(Byte Ins) at LcdWriter.HD44780.Init() at LCDTest.Form1.Form1_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/ ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- LCDTest Assembly Version: 1.0.2461.34129 Win32 Version: 1.0.2461.34129 CodeBase: file://Arbetsrum/delade%20dokum/MCE%20display/lcdtest/LCDTest.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/ ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the section. The application must also be compiled with debugging enabled. For example: <configuration> < jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog.
Mon, Apr 23 2007 11:35 PM
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems