Searching \ for '[Pic]: continous memory block of 240 bytes on 16F8' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/memory.htm?key=memory
Search entire site for: 'continous memory block of 240 bytes on 16F8'.

Exact match. Not showing close matches.
PICList Thread
'[Pic]: continous memory block of 240 bytes on 16F8'
2001\12\05@161006 by alf schuster

flavicon
face
To Andy..
yes, Andy, that would work, if there were no register blocks in between!

An example:
RAM Startadress:0x20 then 96 bytes of free memory, then follows a
register block from 0x80 to 0x9F with processor registers, after that
another chunk of free mem until 0xEF ..etc.
So the memory is interrupted by these processor-own register blocks...
I guess that is the problem! Or am I wrong?
Alf

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\12\05@163316 by mike

flavicon
face
On Wed, 5 Dec 2001 22:07:48 +0100, you wrote:

>To Andy..
>yes, Andy, that would work, if there were no register blocks in between!
>
>An example:
>RAM Startadress:0x20 then 96 bytes of free memory, then follows a
>register block from 0x80 to 0x9F with processor registers, after that
>another chunk of free mem until 0xEF ..etc.
>So the memory is interrupted by these processor-own register blocks...
>I guess that is the problem! Or am I wrong?
No - you're not wrong. The trick is to skip the pointer over these blocks - with some thought
you can sometimes do this very efficiently with a few bit-ops on
address in the FSR

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\12\05@165120 by Andy N1YEW

picon face
hadnt thought of that... :-\


andy
----- Original Message -----
From: "alf schuster" <spam_OUTalf.schusterTakeThisOuTspamCDH.IT>
To: <.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU>
Sent: Wednesday, December 05, 2001 4:07 PM
Subject: Re: [Pic]: continous memory block of 240 bytes on 16F876


{Quote hidden}

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\12\06@063330 by Michael Coop

flavicon
face
Are you implementing the input storage as a circular buffer ?
If so, then perhaps the problem isn't as big as it seems, as you may choose
to put the input chars to a 'putbuf()' function - which internally decides
where to put the data (skipping registers etc)...  similarly, your on-board
processes can 'getbuf()' for the next buffer char - if any.

Cheers

{Original Message removed}

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