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

STANGE PROBLEM WITH MY MCU

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







STANGE PROBLEM WITH MY MCU
PostPosted: Thu May 26, 2005 10:42 am     Reply with quote

HOW IS THIS POSSIBLE and what im doing wrong??
Im using the 16F877 and ICD2 & mplab 7.11

I have programmed the target with "power od target" option.

After succesfully programming i pull out the ICD and i tested the program...All is working OK.

I pull out the baterry and i connect the battery again and program is started OK again.

I repeat this process 3 more times.

After the 4 time i connect the battery again and the program wont start.
Infact, there is no response but the power on target is still OK (3V).

WHY ?
DragonPIC



Joined: 11 Nov 2003
Posts: 118

View user's profile Send private message

PostPosted: Thu May 26, 2005 12:34 pm     Reply with quote

Why Georgia why?

4th time consistently?

Will it work after a hard reset?
_________________
-Matt
Ttelmah
Guest







PostPosted: Thu May 26, 2005 2:13 pm     Reply with quote

What clock rate?.
Have you measured the voltage at the unit, during programming, and on the first, second, third attempt.
Obvious thought would be that the supply voltage is borderline for the oscillator to work, and is being elevated by the programmer connections, and then drooping with time. Doing it reliably on a 'count', is almost inexplicable.

Best Wishes
valemike
Guest







PostPosted: Thu May 26, 2005 2:49 pm     Reply with quote

on each time, try discharging your battery-less circuit, e.g. by taking a wire and shorting your VDD rail to ground.

Then try putting your battery back in. I think you won't be able to reproduce this problem anymore.

If that's the case, then looks like your caps are holding charge.
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