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

Help PIC 16F876 And LCD 16X2
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Rosmaninho



Joined: 16 Jan 2011
Posts: 23

View user's profile Send private message

PostPosted: Fri Apr 22, 2011 5:38 pm     Reply with quote

now is just in the first one.... and i don't know why :(
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Apr 22, 2011 8:51 pm     Reply with quote

If you see black squares, the LCD is not being initialized properly.
Look again at your connections. That is usually the problem.
Rosmaninho



Joined: 16 Jan 2011
Posts: 23

View user's profile Send private message

PostPosted: Sat Apr 23, 2011 1:50 am     Reply with quote

i connect the port B to a LED TEST BOARD, and, when i switch on, i donĀ“t see any leds bliking...

it's that normal?
Rosmaninho



Joined: 16 Jan 2011
Posts: 23

View user's profile Send private message

PostPosted: Sat Apr 23, 2011 6:36 am     Reply with quote

i guess i found the error, i forget to write in the code. NOLVP

I put it, and now its working. thank's Smile
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Apr 23, 2011 3:33 pm     Reply with quote

You must have an older version of the compiler. For at least two years
I think CCS has automatically enabled NOLVP, even if you don't specify it.
That's why we don't suggest it very much anymore. You should always
post your compiler version at the beginning of the thread. Then we would
quickly mention any version-related problems.
Rosmaninho



Joined: 16 Jan 2011
Posts: 23

View user's profile Send private message

PostPosted: Sun Apr 24, 2011 4:44 am     Reply with quote

as you can see, I'm a beginner. I'm studying alone. And i made some mistakes usually.

My CCS version is 3.249

another mistake,

I program a 16f876 and i have selected 16f876A in the programmer, now i can't program again the 16f876.

Is possible to wake up the pic again? or it's dead?

Thanks once again Smile
temtronic



Joined: 01 Jul 2010
Posts: 9244
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Apr 24, 2011 6:06 am     Reply with quote

yes...
you always have to erase the PIC before you can load (program) your new program into it.
Just be sure set the programmer option to know what type of PIC you're using.
If you're still havig problems, tell us the make/model of the programmer.
Currently I use the PicstartPlus so I can only help with how it works.
Rosmaninho



Joined: 16 Jan 2011
Posts: 23

View user's profile Send private message

PostPosted: Sun Apr 24, 2011 8:03 am     Reply with quote

i bought a programmer in EBAY, and it comes with the program
MicroPro...


The reference of the programmer it's like this:
DIY K128v 140904

I can erase the PIC, but, give an error when i try to program it now....
Rosmaninho



Joined: 16 Jan 2011
Posts: 23

View user's profile Send private message

PostPosted: Sun Apr 24, 2011 8:17 am     Reply with quote

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=260693779794&ssPageName=STRK:MEWAX:IT


This is my programmer
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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