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

Computer shuts off

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



Joined: 16 Feb 2005
Posts: 25

View user's profile Send private message

Computer shuts off
PostPosted: Thu Sep 28, 2006 1:46 pm     Reply with quote

MPLAB7.42 + ICD2 (USB) + 18F8452 + PICC

Iam facing the following weird problem :

This happens randomly and I could not repeat its occurence.

When I start working on the project everything is fine and I could successfully connect, program and verify the program on the PIC using ICD2. Suddenly my computer shuts down, incidentally this happens

1. when I connect ICD2 to the powered target or
2. when I turn on the power of the target while it is connected to ICD2.

And it doenot happen every time the do the above.
It happened 4 times with in 15 hrs of working time, like I said it is random and I could not repeat it.

Interestingly I could not reprogram or connect to the target PICs, which were in use, while this horrible shut down happened. If I replace the PIC everything is normal again. I am worried that this might happen again. Can you please let me know what could make this happen?

I am assuming it got to do something with ICSP connections or some kind of ESD ??? .How can I protect my PICs and how can I stop the host computer turning off??

How can I upload image for schematic?


Following are the header and fuses i used....

Code:

#include <18F452.h>
#device adc=10
#use delay(clock=20000000, restart_wdt)
#fuses HS, PUT, BROWNOUT, NOWDT, NOLVP, NOCPD, NOPROTECT, NOWRT
#include <math.h>


Thanks in advance[/img]
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Sep 28, 2006 1:54 pm     Reply with quote

This is really a Microchip ICD2 issue and not a CCS issue.
You should post it in the ICD2 forum. Also, tell them the O/S that
you're using (Windows XP SP2, etc.). Here's a link to the forum:
http://forum.microchip.com/tt.aspx?forumid=49

Also, on the Microchip forum, I believe you can upload images.
(Can't do that on this forum).
digitalfreak



Joined: 16 Feb 2005
Posts: 25

View user's profile Send private message

PostPosted: Thu Sep 28, 2006 2:19 pm     Reply with quote

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Sep 28, 2006 5:16 pm     Reply with quote

I notice that you posted it over there, but the schematic isn't viewable.
It shows a thumbnail image, but if I click on it, all I get is an "X" in a box.

I know that posting images can work, because here's a thread over
there that's near yours in the list and it has a picture of a breadboard
and clicking on it works just fine.
http://forum.microchip.com/tm.aspx?m=189927

You need to edit your post over there and fix the schematic.
Test it after you're done, to make sure it's viewable.
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