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 use Microchip ICD2 instead of CCS ICD-U40

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
wq
Guest







Can use Microchip ICD2 instead of CCS ICD-U40
PostPosted: Sun May 20, 2007 10:31 pm     Reply with quote

we are currently using a pic18f4520 prototype board from ccs for a project,

this board support a ICD Connector which compatible for CCS U40 debugger,

I have tried out to connect the prototype board through microchip ICD 2 it can programme and download the source code to the target board and shows no error in Microchip MPLAB IDE, but once I plug out the RJ45 connector the programme seems not run.

I am still wondering whether the prototype board compatible with the Microchip brand hardware and software.

or is there any fault of the prototype board.

can anyone help? Thanks a lot.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun May 20, 2007 10:58 pm     Reply with quote

You're probably programming the board with MPLAB in debugger mode.
You need to use MPLAB in Programmer mode instead. See the
instructions below.

Here are some instructions for programming a PIC in MPLAB so it
will run as a stand-alone program:
http://www.ccsinfo.com/forum/viewtopic.php?t=21415

Those instructions are somewhat out-of-date, because since then,
MPLAB has added two buttons on the menu which can take the PIC
in and out of a reset condition. So you don't have to unplug the
ICD2 connector anymore, to get the PIC to run in stand-alone mode.
You can just press the button in MPLAB to release the reset condition.
Also, you don't have to do the erase operation that I put in those
instructions.
wq
Guest







PostPosted: Mon May 21, 2007 12:44 am     Reply with quote

this is not the actually answer i needed, for my case the Microchip ICD 2 working everything well in the programmer part, workspace shows all the hex file successfully downloaded inside the chip.

What I concentrate is whether Microchip ICD and CCS ICD-U40 are compatible each other or not.

I just wanna use ICD 2 to programe the target device not the debugger.

If Microchip ICD 2 can do the job, we do not need another CCS ICD-U40.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon May 21, 2007 3:22 pm     Reply with quote

See this page in the CCS FAQ, which shows the pinout of the ICD
connector:
http://www.ccsinfo.com/faq.php?page=icd_connection

Also download the Microchip ICD2 poster. It shows the pinout
of the ICD2 connector in the upper right corner of the sheet.
http://ww1.microchip.com/downloads/en/DeviceDoc/51265e.pdf

Compare the two pinouts. Read the Guidelines and Notes on each
document. Then you can assess the differences between them.

My opinion is that the ICD2 should probably be able to plug into the
CCS board and work OK. But I don't have the CCS board to test,
so I can't say for sure.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go 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