Searching \ for 'Newbie question on page boundaries + PIC choice' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/begin.htm?key=pic
Search entire site for: 'Newbie question on page boundaries + PIC choice'.

Truncated match.
PICList Thread
'Newbie question on page boundaries + PIC choice'
1999\04\22@063120 by Mark Crankshaw

flavicon
picon face
Hi all,

(Apologies for the repost but for whatever reason I didn't see it (or any
replies) appear on the list.)

I hope you can help a complete novice with a simple question. Please
excuse my ignorance.

I know that care is needed when dealing with pages such that certain
objects should reside in the top half of pages. However, how do you know
the address that any piece of code resides at and how do you force, for
example, a lookup table to a particular area? Can you only determine the
memory address of each instruction after generating the .lst file?

Also, for the project I have in mind I need at least 256 bytes EEPROM
data memory, at least one ADC, more than 1 timer would be nice and flash
programming (at least during development). The code itself is likely to
be reasonably small. Is my best bet likely to be a 16x8x with a separate
ADC and EEPROM or one of the new 16F87x (perhaps the 16F876) with
everything on-chip but overkill on everything else? (Anybody know prices
or suppliers of 16F87x to a hobbyist in the UK?)

Thanks for your help.

Mark.

1999\04\22@064415 by Tjaart van der Walt

flavicon
face
Mark Crankshaw wrote:
>
> Hi all,
>
> (Apologies for the repost but for whatever reason I didn't see it (or any
> replies) appear on the list.)
>
> I hope you can help a complete novice with a simple question. Please
> excuse my ignorance.
>
> I know that care is needed when dealing with pages such that certain
> objects should reside in the top half of pages. However, how do you know
> the address that any piece of code resides at and how do you force, for
> example, a lookup table to a particular area? Can you only determine the
> memory address of each instruction after generating the .lst file?

You can check the list file, or you can use the ORGXXXX statement to
force the assembler to put your code at a particular address.

> Also, for the project I have in mind I need at least 256 bytes EEPROM
> data memory, at least one ADC, more than 1 timer would be nice and flash
> programming (at least during development). The code itself is likely to
> be reasonably small. Is my best bet likely to be a 16x8x with a separate
> ADC and EEPROM or one of the new 16F87x (perhaps the 16F876) with
> everything on-chip but overkill on everything else? (Anybody know prices
> or suppliers of 16F87x to a hobbyist in the UK?)

This sounds like the ATMEL 90LS4434 to me. You can't buy the 16F8XX yet,
even some of us have samples. The ATMEL has all the stuff you mentioned
internally, sou you wouldn't have to bother with I2C or SPI or whatever.

You can get free tools from ATMEL's site, and they have a zero-component
programmer (chip to LPT) with free software.

--
Friendly Regards          /"\
                         \ /
Tjaart van der Walt        X  ASCII RIBBON CAMPAIGN
spam_OUTtjaartTakeThisOuTspamwasp.co.za  / \ AGAINST HTML MAIL
|--------------------------------------------------|
|                WASP International                |
|R&D Engineer : GSM peripheral services development|
|--------------------------------------------------|
| Mobile : .....tjaartKILLspamspam@spam@sms.wasp.co.za  (160 text chars) |
|     http://www.wasp.co.za/~tjaart/index.html     |
|Voice: +27-(0)11-622-8686  Fax: +27-(0)11-622-8973|
|          WGS-84 : 26¡10.52'S 28¡06.19'E          |
|--------------------------------------------------|

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...