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

LVP not working

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



Joined: 03 Oct 2005
Posts: 88
Location: Ploiesti, Romania

View user's profile Send private message

LVP not working
PostPosted: Wed Mar 14, 2007 5:04 am     Reply with quote

This is not a CCS related problem, but here it goes.

I tried to program a PIC18F452 using LVP with a simple JDM-based programmer with external power (similar to this one http://www.geocities.com/danolteanu/programator.GIF). It's not writing anything and it reads all FFFF.

With the programmer cable not connected to the PIC's board I have a 10K pulldown to ground. When I connect the cable it ties PGM to Vcc and the PIC enters LVP mode (its program locks up and after i remove the cable it restarts). The link to the programmer is only GND, PGD and PGC.

THe LVP bit is set. The Code protect is disabled. I have noticed some bad voltages on the PGD and PGC lines, like -0.6V instead of 0 and 5.8V instead of 5, but normal high-voltage programming works perfect.

Can anybody give me an idea about why is LVP not working for me? Thanks.
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