|
|
View previous topic :: View next topic |
Author |
Message |
Pete Smith Guest
|
Question about 18F series (18F252) |
Posted: Mon Mar 24, 2003 1:59 pm |
|
|
Hi all.
I'm thinking of upgrading my compiler to PCH, so I can use 18F parts (specifically 18F252, because it's pin compatible with the 16F876A we use at present - hopefully I can track down some 18LF parts eventually).
I see the 252 has 1536 bytes of RAM.
How is this accessed? In the 16 series, it's limited to 96 bytes per array (due to the register layout). As far as I can tell, looking at the data sheet, the 18F252, the user RAM is from locations 0x0018-0x7fff.
Is this a totally different way of looking at a PIC, rather than having a limited set of registers, actually having RAM as such?
Does this mean I could actually define an array of 1024 bytes, and it all work?
Many thanks,
Pete.
___________________________
This message was ported from CCS's old forum
Original Post ID: 13020 |
|
|
Tomi Guest
|
Re: Question about 18F series (18F252) |
Posted: Tue Mar 25, 2003 1:14 am |
|
|
Yes. For example I have a declaration of:
char MMCPuffer[512];
and it works fine :)
:=Does this mean I could actually define an array of 1024 bytes, and it all work?
___________________________
This message was ported from CCS's old forum
Original Post ID: 13039 |
|
|
Pete Smith Guest
|
Re: Question about 18F series (18F252) |
Posted: Tue Mar 25, 2003 1:57 am |
|
|
:=Yes. For example I have a declaration of:
:=char MMCPuffer[512];
:=and it works fine
That's great.
Now all I need to do is scrape up enough to get the compiler - or get work to buy it for me!
Thanks,
Pete.
___________________________
This message was ported from CCS's old forum
Original Post ID: 13040 |
|
|
|
|
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 vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|