Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)
Posted: Tue Oct 21, 2014 3:05 am
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.
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.