Log in

View Full Version : How to update hex?


brennerator
08-01-2007, 20:39
How do I update the hex file...I changed the user routines.c ,but when does my hex update?

chris31
08-01-2007, 20:41
I assume your using MPlab and not EasyC. You have to go to Project-->Build All

brennerator
08-01-2007, 20:57
Oh ok Is there a way to do this in FusionEdit?

When i try to build in FusionEdit i get:

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

************** Exception Text **************
System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess( ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at FusionEdit.ServerProject.Build()
at FusionEdit.FusionServerForm.buildProjectToolStripM enuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(M ouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Mes sage& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
FusionEdit
Assembly Version: 0.1.0.0
Win32 Version: 0.1.0.0
CodeBase: file:///C:/Program%20Files/FusionEdit/FusionEdit.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.





Also can you describe the Limit_Mix function to me?

chris31
08-01-2007, 21:11
Fusion Edit isnt really a finallized product. You might be better off using MPlab or emailing/PMing the developers.

MattD
08-01-2007, 22:22
Do you have the MCC18 compiler installed? I'm not too familiar with FusionEdit, but it looks to me like it is trying to invoke the compiler and cannot find it.

brennerator
08-01-2007, 22:25
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - mutliple inclusion of library file 'clib.lib'
Errors : 1

Im getting that error?

Any ideas?

brennerator
08-01-2007, 23:08
Also when I use MP Lab I need a .asm file! what do I do?

Mark McLeod
09-01-2007, 09:49
Also when I use MP Lab I need a .asm file! what do I do?

In MPLab look under
Project -> Select Language Toolsuite

Make sure "Microchip C18 toolsuite" is selected.

EHaskins
09-01-2007, 10:34
When you are using fusionEdit you need to set the location of the compiler/linker/Loader ect.

Edit>Project Properties
defaluts:
Complier Path:C:\mcc18\bin\mcc18.exe
Complier Args:-p=18F8722 "SourceFile" -fo="ObjectFile" /i"C:\mcc18\h" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Linker Path: C:\mcc18\bin\mplink.exe
Linker Args:/l"C:\mcc18\lib" LinkerScripts ObjectFiles LibraryFiles /o"OutputFile"
Loader Path: C:\Program Files\Intelitek\EasyC for FRC\Loader\iLoader.exe
Loader Args:/D=HexFile /T /B=1 /C=18F8722 /V /H