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

Trouble getting started with ICD-S

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







Trouble getting started with ICD-S
PostPosted: Tue Mar 25, 2003 4:14 pm     Reply with quote

Installed software:
PCH 3.146
MPLAB 6.10
MPLAB Plugin latest

Hookup:
CCS Prototype Kit running a PIC18F458 @20mhz
ICD-S Hooked up to COM1 and Proto board. Green light solid ON.

I compile a minimal test program that includes the #device ICD=TRUE and the #delay(clock=20000000) directives.

I go to the ICD program. “Check Com” ->Passed for all Baud Rates. “Test ICD”-> Passed.

I attempt to download the test program hex via the ICD “Download to Target” button and get “Could not detect target” message.

ICD Status line reports: Under the Target columm->Not Detected. Under the ICD-S columm->CCS 0.96 Rev 34/20. Under the PC Columm->Device:COM1-115200.

From the PCW if I attempt to DEBUG -> ENABLE, I get “The target is not detected or in debug mode”.

How do I figure out what the problem is?

Thanks

Jerry
___________________________
This message was ported from CCS's old forum
Original Post ID: 13062
john cutler



Joined: 06 Sep 2003
Posts: 82
Location: Hot Tub, California

View user's profile Send private message

Re: Trouble getting started with ICD-S
PostPosted: Tue Mar 25, 2003 4:19 pm     Reply with quote

MPLAB6.1xxx wants ICD-2. You can program your chip using ICD-S but I don't believe you can debug with it. I have used ICD-S successfully as a stand alone programmer which loads the hex file generated by MPLAB6.1xx.

Perhaps the ICD-S does not support the 18F458 - I noticed that CCS just (today) has a new ICD-S software available for download on the site - If I ewere you...I'd try that :)

Good luck

:=Installed software:
:=PCH 3.146
:=MPLAB 6.10
:=MPLAB Plugin latest
:=
:=Hookup:
:= CCS Prototype Kit running a PIC18F458 @20mhz
:= ICD-S Hooked up to COM1 and Proto board. Green light solid ON.
:=
:=I compile a minimal test program that includes the #device ICD=TRUE and the #delay(clock=20000000) directives.
:=
:=I go to the ICD program. ?Check Com? ->Passed for all Baud Rates. ?Test ICD?-> Passed.
:=
:=I attempt to download the test program hex via the ICD ?Download to Target? button and get ?Could not detect target? message.
:=
:=ICD Status line reports: Under the Target columm->Not Detected. Under the ICD-S columm->CCS 0.96 Rev 34/20. Under the PC Columm->Device:COM1-115200.
:=
:=From the PCW if I attempt to DEBUG -> ENABLE, I get ?The target is not detected or in debug mode?.
:=
:=How do I figure out what the problem is?
:=
:=Thanks
:=
:=Jerry
___________________________
This message was ported from CCS's old forum
Original Post ID: 13064
Jerry Finsen
Guest







Re: Trouble getting started with ICD-S
PostPosted: Tue Mar 25, 2003 4:39 pm     Reply with quote

:=MPLAB6.1xxx wants ICD-2. You can program your chip using ICD-S but I don't believe you can debug with it. I have used ICD-S successfully as a stand alone programmer which loads the hex file generated by MPLAB6.1xx.
:=
:=Perhaps the ICD-S does not support the 18F458 - I noticed that CCS just (today) has a new ICD-S software available for download on the site - If I ewere you...I'd try that <img src="http://www.ccsinfo.com/pix/forum/smile.gif" border="0">
:=
:=Good luck

CCS's literature says the ICD-S will support the 18F458 if you update the ICD-S firmware --- which I did, but forgot to mention above. I am running the latest Plugin -- today's version.

Thanks for the response though

Jerry
___________________________
This message was ported from CCS's old forum
Original Post ID: 13066
john cutler



Joined: 06 Sep 2003
Posts: 82
Location: Hot Tub, California

View user's profile Send private message

Re: Trouble getting started with ICD-S
PostPosted: Tue Mar 25, 2003 5:14 pm     Reply with quote

If you updated the firmware after downloading the new ICD-S software, then I guess I'm stumped. I have gotten the target not detected message on the 18F1320, but then CCS updated the ICD-S software and now it works fine. I do know that the chip data that ICD-S uses are in a .dat file in the CCS older on your disk, but I think it's not changeable by mere mortals :)

I'm sure there are others on this BBS who know far more than I do. Hopefully, they'll have the answers.

Sorry I can't be more helpful.

John





:=:=MPLAB6.1xxx wants ICD-2. You can program your chip using ICD-S but I don't believe you can debug with it. I have used ICD-S successfully as a stand alone programmer which loads the hex file generated by MPLAB6.1xx.
:=:=
:=:=Perhaps the ICD-S does not support the 18F458 - I noticed that CCS just (today) has a new ICD-S software available for download on the site - If I ewere you...I'd try that <img src="http://www.ccsinfo.com/pix/forum/smile.gif" border="0">
:=:=
:=:=Good luck
:=
:=CCS's literature says the ICD-S will support the 18F458 if you update the ICD-S firmware --- which I did, but forgot to mention above. I am running the latest Plugin -- today's version.
:=
:=Thanks for the response though
:=
:=Jerry
___________________________
This message was ported from CCS's old forum
Original Post ID: 13067
Jerry Finsen
Guest







Re: Trouble getting started with ICD-S
PostPosted: Tue Mar 25, 2003 5:43 pm     Reply with quote

Arghhh ... some times I wonder how I manage to walk and talk at the same time!!!!

The CCS Prototyping board is the only ZIF device I have that has Pin 1 on the side away from the lever. I have several others that all have pin 1 on the lever side. I had the PIC in backwards.

Makes ya wonder if I should be working on mission critical stuff ???

Sorry for wasting your time.

Thanks

Jerry
___________________________
This message was ported from CCS's old forum
Original Post ID: 13068
john cutler



Joined: 06 Sep 2003
Posts: 82
Location: Hot Tub, California

View user's profile Send private message

Re: Trouble getting started with ICD-S
PostPosted: Tue Mar 25, 2003 7:00 pm     Reply with quote

You mean you can write code and chew gum at the same time? Can I come study under you?

Glad you figured it out. Time, I believe, falls under the Laws of Matter and Energy - it can't be wasted...only squandered!




:=Arghhh ... some times I wonder how I manage to walk and talk at the same



time!!!!
:=
:=The CCS Prototyping board is the only ZIF device I have that has Pin 1 on the side away from the lever. I have several others that all have pin 1 on the lever side. I had the PIC in backwards.
:=
:=Makes ya wonder if I should be working on mission critical stuff ???
:=
:=Sorry for wasting your time.
:=
:=Thanks
:=
:=Jerry
___________________________
This message was ported from CCS's old forum
Original Post ID: 13069
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