Page 4 of 5

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Tue Oct 21, 2014 3:05 am
by barewires
The best source of Tips 'n Tricks is microchip.com

http://ww1.microchip.com/downloads/en/D ... 01146B.pdf
http://ww1.microchip.com/downloads/en/D ... 40040c.pdf
http://ww1.microchip.com/downloads/en/D ... 39582C.pdf
http://www.microchip.com/forums/default.aspx
http://bitsavers.trailing-edge.com/pdf/ ... dataBooks/ for the 1992 Microchip databook.
http://bitsavers.trailing-edge.com/pdf/ ... dataBooks/ for the 1990 Microchip databook.

As with any endeavour, once the cryptic peculiarities are learned the rest is a breeze. A.C. Clarke's Third Law:
'3. Any sufficiently advanced technology is indistinguishable from magic.'

I would highly recommend learning 'only 35 instructions' from the datasheet and get familiar with machine and assembler code for low-level debugging The '877A' is a dinosaur, in a good way; massive and powerful and ancient. Back in 1999, when I learned it, was affectionately called 'the aircraft carrier' due to its size.

It is a shame that people get hung up with the complexities of 'header' and 'include' files, compilers and syntax. Back in the old days, real programmers (ie. Humans) would intimately know the chip they were debugging. These distractions are only TOOLS that obscure the setting or resetting of bits in a massively complex / simple device. If Noah was a modern ship-builder, all that he could construct today would be a toolbox.

I was once told 'be a man and go to C'. Today, one cannot say such things, but the tools still get in the way of progress. When I was a young man (you wouldn't know it to look at me now) we were lucky to have an assembler program. A field service engineer would not be able to travel with a $15000-25000 development system the size and weight of a mini-fridge. A (Pro-Log M900) suitcase EPROM blaster and an UV erase lamp were the tools of the trade.

http://www.hagi-online.org/picmicro/picdisasm_en.html v1.6 disassembler, highly recommended.

http://bitsavers.trailing-edge.com/pdf/pro-log/ is an excellent source of production / debugging tools from 1976. The original hand-written source code is included for the Intel 4004 which ran the suitcase.

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Tue Dec 20, 2016 6:36 am
by jacksparrow
[POST DELETED BY ADMIN] This post has been deleted as it contains content and a link that is not relevant to this thread.

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Sun Mar 05, 2017 8:30 am
by Anobium
Pop over to Great Cow BASIC - download and use. It is easy.

Great Cow BASIC generates ASM and is the greatest free development tool.

Evan

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Fri Jun 23, 2017 3:12 pm
by dare
PLS I CANT USE THIS KIT .. HELP ME ON HOW TO USE IT AND CONNECT TO THE PC

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Sat Jun 24, 2017 10:25 am
by andrew
To connect it to your PC you will need a suitable PIC ICSP programmer like one of these:

http://hobbycomponents.com/pic/179-pic- ... programmer

http://hobbycomponents.com/pic/445-pick ... d-debugger

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Sat Jun 24, 2017 4:29 pm
by badre2911
Hi,

I have GLCD 12864B, i want to test it, does exist sample code hi-tech C for this board ?

Thanks in advance.

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Sun Jun 25, 2017 6:04 pm
by badre2911
CS1, CS2 and RST are connected to which pin of the pic16f877a ?

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Mon Jun 26, 2017 9:10 am
by andrew
I have GLCD 12864B, i want to test it, does exist sample code hi-tech C for this board ?
I'm not aware of an existing library that's been written for that specific combination (PIC16F877A/12864B/Hitech C). If you are just wanting to test the LCD there is an example for the PIC16F877A/12864B in this forum for the GCB IDE:

EDIT: After reading your next post I don't thing the example below will work as your display is probably not using a ST7920 controller.

http://forum.hobbycomponents.com/viewto ... 106&t=1710

You can find more information and examples for the GCB IDE here:

http://forum.hobbycomponents.com/viewforum.php?f=106

CS1, CS2 and RST are connected to which pin of the pic16f877a ?
If you are wanting to use the GLCD header (the black 20 pin SIL header at the edge of the board) this header has been laid out to match the pinout of a standard 128x64 GLCD with a ST7920 controller. If your LCD has a CS1 & CS2 pin then this would suggest your screen has some other controller and probably isn't physically compatible with the header. You could still connect it to the 16F877a by connecting it to the IO header with jumper wires though.

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Tue Jul 18, 2017 3:54 pm
by badre2911
Hi,

I have ordered display from your site (HCMODU0032), but in this dev board the /REST pin it seem is not connected .on any pin from pic,
and all library using ST7920 use this pin.

Thanks in advance.

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Tue Jul 18, 2017 4:04 pm
by badre2911
Apparently, in code sample GLCD from GCB (DS18B20) this pin is connected to RA0.

Problem resolved.