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 CCS Technical Support

Cannot debug using MELabs LAB-X1 dev board

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



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

Cannot debug using MELabs LAB-X1 dev board
PostPosted: Mon Oct 10, 2005 3:36 am     Reply with quote

Hi all,

I'm getting an error message when opening the debugger when using mu ICD-U40 with the MELabs LAB-X1 dev board. It reads:

Could not start target: The tartget was not reset. Check the target oscillator and MCLR.

I've checked the connection to the ICD for debugging, but I still can't get it to work. The only thing I can see is that the LAB-X1 has a 1k pullup for the MCLR pin. CCS suggest a 47k. Could this be it? It seems to program ok via ICD.exe, which suggests it is.

The schematic for the MELabs LAB-X1 dev board is here:

http://www.melabs.com/downloads/labx1sch.pdf

Has anyone else experienced this?

Ed
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 10, 2005 12:33 pm     Reply with quote

Let's calculate the current through the resistor.

There is 13v on one side (during programming) and 5v on the other side.
That's an 8v drop.

8v / 1k = 8ma

8v / 47k = .17ma

Can the CCS ICD supply 8ma at 13v ? I don't know, because I don't
have the circuit diagram (or the ICD). But if 8ma is too high of a load,
then the ICD won't be able to apply the proper Vpp voltage and it can't
program the PIC.
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

PostPosted: Mon Oct 10, 2005 2:54 pm     Reply with quote

PCM programmer wrote:
But if 8ma is too high of a load,
then the ICD won't be able to apply the proper Vpp voltage and it can't
program the PIC.


Nope, it programs fine. It just won't debug and I get the above message. I wasn't sure if the current supplied to the MCLR pin had any effect on the debugging process? B3 seems to be attached to the correct pin and so do the other pins looking at the schematic. So it should work...
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Oct 11, 2005 1:24 pm     Reply with quote

Download the CCS ICD trouble-shooting guide:
http://www.ccsinfo.com/ccs_icd_trblsht.zip
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