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

Programs using C and ICD1

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



Joined: 27 Apr 2010
Posts: 3

View user's profile Send private message

Programs using C and ICD1
PostPosted: Tue Apr 27, 2010 11:25 am     Reply with quote

Hello all!

I'm a beginner at uC's, and I'm a little lost! I used a CCS compiler and I'm trying to program a 16F877 using my .hex file (generated by the CCS compiler) and my ICD1 board. The problem is that I seem not be able to interface them.

Any suggestions?
Thank you!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Apr 27, 2010 1:14 pm     Reply with quote

The current version of MPLAB (8.46) doesn't support the Microchip ICD1.
It only supports ICD2 and ICD3 (of the ICD-style programmers).
For ICD1, you need to use an older version of MPLAB, which you can
get here:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023073
I know that vs. 5.70.40 has support for the ICD1. It's possible that
some versions of vs. 6.xx support it, but I don't know for sure.
Also, some versions of MPLAB 6.xx were buggy. I don't remember
which ones.
mchall



Joined: 27 Apr 2010
Posts: 3

View user's profile Send private message

PostPosted: Tue Apr 27, 2010 2:00 pm     Reply with quote

Thank you for your answer, but what I'm looking for is a software to use to send the .hex files I made using the CCS compiler, but using the ICD1 board , not the ICD2.

MPLAB 5.70 apparently let me program or debug programs made using MPLAB no just to send them to the uC. If there is a way to program or debug using MPLAB only to send the .hex files, please, could tell me how? Or tell me another program to do so?

Thank you!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Apr 27, 2010 2:17 pm     Reply with quote

Go to this menu in MPLAB 5.70.40:
Quote:
Help / MPLAB ICD Help

It explains how to install the ICD in MPLAB.

Make sure you go to the Options / Development Mode menu first, and
select the 16F877.

To program a HEX file, use the Files / Import Menu to import the HEX file.

Then you should be able to program it.

Here is the ICD User's Guide. Read the ICD Setup section, on page 49
in the Acrobat reader:
http://ww1.microchip.com/downloads/en/DeviceDoc/51184d.pdf

Here's a tutorial for using CCS with the older versions of MPLAB:
http://www.swarthmore.edu/NatSci/echeeve1/Ref/MPLab/MPLab_Intro.html
But you don't need that tutorial to import and program a HEX file.
Just follow the instructions I gave about Importing the Hex file.
mchall



Joined: 27 Apr 2010
Posts: 3

View user's profile Send private message

PostPosted: Wed Apr 28, 2010 6:57 am     Reply with quote

Hi! Everything worked out just fine! Thanks a lot for your help!! It really saved me here.
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