CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

can't import CCS's HEX files into MPLAB 7.10

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ian McCrum



Joined: 26 Oct 2003
Posts: 14
Location: Northern Ireland

View user's profile Send private message Visit poster's website

can't import CCS's HEX files into MPLAB 7.10
PostPosted: Thu Mar 31, 2005 11:10 am     Reply with quote

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)

View user's profile Send private message Send e-mail Visit poster's website

MPlab 7.1 problem
PostPosted: Thu Mar 31, 2005 1:26 pm     Reply with quote

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








PostPosted: Thu Mar 31, 2005 3:44 pm     Reply with quote

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

View user's profile Send private message Visit poster's website

PostPosted: Thu Mar 31, 2005 4:16 pm     Reply with quote

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
Very Happy

All the best
Ian McCrum (Original poster!)
_________________
Ian McCrum, email address held at
www.eej.ulst.ac.uk/~ian
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group