View previous topic :: View next topic |
Author |
Message |
Ian McCrum
Joined: 26 Oct 2003 Posts: 14 Location: Northern Ireland
|
can't import CCS's HEX files into MPLAB 7.10 |
Posted: Thu Mar 31, 2005 11:10 am |
|
|
I use CCS's C compiler but in its own IDE, it compiles C to .hex and .cof files.
I start up MPLAB 7.10, select a device and tell it I have an ICD2. I have also tried starting a project, doesn't seem to matter.
I try to import a hex file and I get a message that the extension is not recognised. I have tried several types of intel hex file and even renamed the .hex to .HEX.
I can import a .cof file anc can see my file in the program memory window.
Having imported a .cof file I can then not export to a .hex file.
I think MPLAB is broke, though it works on on 7.01.
Has anyone a similar experience?
Regards
Ian Mccrum _________________ Ian McCrum, email address held at
www.eej.ulst.ac.uk/~ian |
|
|
hillcraft
Joined: 22 Sep 2003 Posts: 101 Location: Cape Town (South africa)
|
MPlab 7.1 problem |
Posted: Thu Mar 31, 2005 1:26 pm |
|
|
I had exactly the same problem. I eventually uninstalled MPlab, removed all the MPlab registry entries and re-installed MPlab, and the problem went away. The problem only occured on one of my machines where I had an earlier version of MPlab already installed. |
|
|
Guest
|
|
Posted: Thu Mar 31, 2005 3:44 pm |
|
|
Oh, great, many thanks for taking the time to answer, I'll give that a try...
Thanks again
Ian |
|
|
Ian McCrum
Joined: 26 Oct 2003 Posts: 14 Location: Northern Ireland
|
|
Posted: Thu Mar 31, 2005 4:16 pm |
|
|
Actually I had posted the query on the microchip website and got this reply - I have yet to try this and will do so tomorrow...
This error message occurs when attempting to import a .HEX, .COD, .COFF, or .ELF file into MPLAB IDE either through a File Import or an automatic import following a Project Build/Make. This error message may indicate that one or more of MPLAB IDE's components was not successfully registered in Windows at install time.
To resolve this problem in MPLAB IDE 7.xx --
* Exit MPLAB IDE
* Open a Windows command-prompt window
* Change to the MPLAB IDE Common directory
(example command -- cd "c:\Program Files\Microchip\MPLAB IDE Common")
* Execute MPSwitch 7.00 where 7.00 is the version number
* Try again to import your file or build your project in MPLAB IDE
Hope that's the end of the problem
All the best
Ian McCrum (Original poster!) _________________ Ian McCrum, email address held at
www.eej.ulst.ac.uk/~ian |
|
|
|