View previous topic :: View next topic |
Author |
Message |
Rosmaninho
Joined: 16 Jan 2011 Posts: 23
|
|
Posted: Fri Apr 22, 2011 5:38 pm |
|
|
now is just in the first one.... and i don't know why :( |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Apr 22, 2011 8:51 pm |
|
|
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
|
|
Posted: Sat Apr 23, 2011 1:50 am |
|
|
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
|
|
Posted: Sat Apr 23, 2011 6:36 am |
|
|
i guess i found the error, i forget to write in the code. NOLVP
I put it, and now its working. thank's |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat Apr 23, 2011 3:33 pm |
|
|
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
|
|
Posted: Sun Apr 24, 2011 4:44 am |
|
|
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 |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9244 Location: Greensville,Ontario
|
|
Posted: Sun Apr 24, 2011 6:06 am |
|
|
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
|
|
Posted: Sun Apr 24, 2011 8:03 am |
|
|
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
|
|
|
|