If you know HC11, PIC's aren't too bad except you lose a lot of instructions
:) Plus PIC's are an accumulator architecture... Have you browsed the
datasheet? If you have an ASM language under your belt, you should be able
to adapt via the datasheets, they're very well written.
> If you know HC11, PIC's aren't too bad except you lose a lot of
instructions
> :) Plus PIC's are an accumulator architecture... Have you browsed the
> datasheet? If you have an ASM language under your belt, you should be
able
> to adapt via the datasheets, they're very well written.
The datasheets usually are OK but often critical parts of chip operation is
mentioned in passing and do not really described or diagrammed in proper
detail for a beginner, IMO. Such as the fact that the A/D module needs to be
disabled to use the pins as digital is mentioned in passing only in the A/D
section, with no explaination in the PORTA section IIRC. Maybe newer
datasheets reflect this but this is one thing I had to struggle with.
Jeff
-- http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
Chris Weimann wrote:
>hi was wondering if there is a good programming tutorial available on
>net or otherwise for the PIC chips in paticular the 16C71X.
>
>i am familiar with motorola's assembler (HC11&12) and was hoping to get
>a push in the right direction on using the PICs
I use the EPIC programmer from melabs.com, but there are many
others available. EPIC includes an assembler, and is cheap and
and easy to use.
There are many Basic and C compilers for PIC, but I have not
used any. Maybe others can suggest their favorites.
Also, you can get the Microchip MPLAB development environment
for free - I haven't used it either, but it appears that the
learning curve is rather steep on this jobber.
Finally, try a search on "beginner" or "assembler" or "compiler"
in the PIClist archives to bring up past threads on this. You will
probably final 100s of entries. Scroll to bottom of page to find
search window:
> Also, you can get the Microchip MPLAB development environment
> for free - I haven't used it either, but it appears that the
> learning curve is rather steep on this jobber.
I don't know where you got this opinion from, but I disagree. I exclusively
use the Microchip tools for PIC development. Yes, like all tools, they have
their own unique set of limitations and annoyances. However, I don't
consider a steep learning curve to be one of them. I absolutely recommend
that beginners start with the official Microchip tools, and start with
assembler. Once you know the chip and know the tools and understand their
strong and weak points, then you can go around looking for third party
solutions and perhaps a compiler if you need/want that.
Chris Weimann wrote:
>hi was wondering if there is a good programming tutorial available on
>net or otherwise for the PIC chips in paticular the 16C71X.
>
>i am familiar with motorola's assembler (HC11&12) and was hoping to get
>a push in the right direction on using the PICs
>
Chris, looks like you aren't getting very much action with
your query. Possibly because this is one of the most frequent
topics of past discussions on piclist.
If you do a search back thru the archives, as I mentioned in
my last post, however, you will find 100s of pertinent msgs.
You will also find some mentions of books, re PIC programming.
I think the names are "Easy PIC'n", "PIC'n up the pace", ......
Olin wrote:
>> Also, you can get the Microchip MPLAB development environment
>> for free - I haven't used it either, but it appears that the
>> learning curve is rather steep on this jobber.
>
>I don't know where you got this opinion from, but I disagree. I exclusively
>use the Microchip tools for PIC development. Yes, like all tools, they have
>their own unique set of limitations and annoyances. However, I don't
>consider a steep learning curve to be one of them. I absolutely recommend
>that beginners start with the official Microchip tools, and start with
>assembler. Once you know the chip and know the tools and understand their
>strong and weak points, then you can go around looking for third party
>solutions and perhaps a compiler if you need/want that.
I probably misstated my intent. When starting out with a new
processor, "initially" I prefer using the simplest tools to
get things going. Kind of the development-side equivalent of
writing "hello world" as your first program. In this case, it
would be a command line assembler and a simple DOS or windows
programmer interface and no make/batch files.
Shortly thereafter, once you have the basics down, you can
switch to tools that have more features, larger manuals, and
take more time to learn.