CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

program memory

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ivanperino



Joined: 08 Jun 2006
Posts: 14

View user's profile Send private message

program memory
PostPosted: Thu Oct 11, 2007 1:31 pm     Reply with quote

Hello.

I wonder if it would be possible to use external flash as a program memory on PIC16F88. I know this sound a little stupid but there are some chips that write them selves, although 16F88 has not this capability, thinking on using external memory as program memory would be a fantastic solution.

Thank you and I am sorry if am VERY wrong.
Ttelmah
Guest







PostPosted: Thu Oct 11, 2007 3:26 pm     Reply with quote

Not properly on the F88.
There are two ways of doing this. The first is not to use the external memory as 'program memory', but use it as numeric storage, holding a sequence of instruction 'keys', which select whch routines to run in the main memory. This is the approach used in things like the Stamp units, with the main chip holding the iterpreter code, and the external memory the code to be interpreted. This can be done on any PIC.
The second is to really 'run' the external code. This requires a chip that allows the external memory to be mapped into the main program address space. It also requires quite a few pins, to provide high speed addressing of the external memory. Look for chips that offer 'extended' microcontroller modes. Typical example, would be the 18F8720.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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