Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
PIC - PIC Development Board + PIC16F877A (HCDVBD0003) 
Author Message

Joined: Wed Aug 21, 2013 7:38 am
Posts: 45
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
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.


Tue Oct 21, 2014 3:05 am
Profile

Joined: Tue Dec 20, 2016 6:31 am
Posts: 1
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
[POST DELETED BY ADMIN] This post has been deleted as it contains content and a link that is not relevant to this thread.


Tue Dec 20, 2016 6:36 am
Profile

Joined: Fri Aug 01, 2014 9:17 am
Posts: 20
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
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


Sun Mar 05, 2017 8:30 am
Profile

Joined: Fri Jun 23, 2017 10:06 am
Posts: 1
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
PLS I CANT USE THIS KIT .. HELP ME ON HOW TO USE IT AND CONNECT TO THE PC


Fri Jun 23, 2017 3:12 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 680
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
To connect it to your PC you will need a suitable PIC ICSP programmer like one of these:

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

http://hobbycomponents.com/pic/445-pickit2-compatible-programmer-and-debugger

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Sat Jun 24, 2017 10:25 am
Profile

Joined: Tue Jun 20, 2017 9:19 pm
Posts: 7
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
Hi,

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

Thanks in advance.


Sat Jun 24, 2017 4:29 pm
Profile

Joined: Tue Jun 20, 2017 9:19 pm
Posts: 7
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
CS1, CS2 and RST are connected to which pin of the pic16f877a ?


Sun Jun 25, 2017 6:04 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 680
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
Quote:
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/viewtopic.php?f=106&t=1710

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

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


Quote:
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.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Mon Jun 26, 2017 9:10 am
Profile

Joined: Tue Jun 20, 2017 9:19 pm
Posts: 7
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
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.


Tue Jul 18, 2017 3:54 pm
Profile

Joined: Tue Jun 20, 2017 9:19 pm
Posts: 7
Post Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
Apparently, in code sample GLCD from GCB (DS18B20) this pin is connected to RA0.

Problem resolved.


Tue Jul 18, 2017 4:04 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 41 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD