12
« on: March 20, 2011, 12:50:02 am »
Following the instruction. Seemed simple enough except I keep getting this message after importing the hex.
New firmware must be downloaded for PICkit3 to work with the part selected.
When I click ok i get unhandled exception occured with these details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
Microchip.PICkit3.ProtocolException: Expected command echo 0x003F, but received 0x1024
at Microchip.PICkit3.PK3Control.ReceiveCommandResponse(UInt32 Command, Byte[]& DataReceived)
at Microchip.PICkit3.PK3Control.SendCommandWithDataAndResponse(UInt32 Command, Byte[] Data)
at Microchip.PICkit3.PK3Control.SendCommandWithResponse(UInt32 Command)
at Microchip.PICkit3.PK3Control.UpdateSystemStatus()
at Microchip.PICkit3.PK3Control.GetFailures()
at Microchip.PICkit3.PK3Control.ReceiveCommandResponse(UInt32 Command, Byte[]& DataReceived)
at Microchip.PICkit3.PK3Control.SendCommandWithDataAndResponse(UInt32 Command, Byte[] Data)
at Microchip.PICkit3.PK3Control.SendCommandWithData(UInt32 Command, Byte[] Data)
at Microchip.PICkit3.PK3Control.SetPower(PowerOptions Options, Int32 Voltage)
at Microchip.PICkit3.Program.SetVdd(Boolean TurnOn, Boolean HoldTargetReset, Int32 Voltage)
at Microchip.PICkit3.FormPICkit3.SetTargetPower(Boolean TurnOn, Boolean HoldTargetReset, Int32 Voltage)
at Microchip.PICkit3.FormPICkit3.SetTargetPower(Boolean TurnOn)
at Microchip.PICkit3.FormPICkit3.memoryOperationComplete(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PICkit 3
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Microchip/PICkit%203/PICkit%203.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
Looks like it may have done something , but I am not sure.