18F87K22 & extended memory in PBP3


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838

    Default 18F87K22 & extended memory in PBP3

    Hi guys ,
    am looking further at the above pic with the thought of extending the available memory with a 1meg Sram , and wondered if PBP3 supports the extend instruction set for when the code is compiled for ram expansion ?


    I am also trying to find some examples how to setup and use it

    Cheers

    Sheldon

  2. #2
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: 18F87K22 & extended memory in PBP3

    PIc is 18F67k22 - My typo on Thread header

    The datasheet talks about an extended memory map when using external memory bus

    does PBP3 allow for an extended memory when used to be compiled for this chip , and if so is what is required

    I am sure if i try and use more mem then 4k when setting up variables it would not work. unless i told PBP some how that external memory has been added and can use it for this chip/ application and then compile ??

    Any information on this would be useful as i would like to use more memory for this application both in active memory and perhaps program memory than the base chip , which is designed to allow this to happen

    Cheers

    sheldon

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: 18F87K22 & extended memory in PBP3

    1. - The External Memory Bus is not implemented on 64-pin devices.
    The 18F67K22 is a 64-pin device.

    2. - The External Memory Bus extends the "Program Memory" space.
    It does not extend the GPR (General Purpose RAM) space. So you cannot put PBP variables in that area.
    But, you can use READCODE and WRITECODE to use that memory for data storage.
    Although, you would need to use an 80-pin device, and compile with PBPL.

    3. - PBP will not work with the "Extended Instruction Set" (XINST) enabled.
    But the Extended Instructions have nothing to do with the External Memory Bus.
    XINST affects FSR2, the Access Bank, and software stacks used by the C language.
    DT

  4. #4
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: 18F87K22 & extended memory in PBP3

    thanks darrel , for help and time to read


    cheers

    Sheldon

  5. #5
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: 18F87K22 & extended memory in PBP3

    darrel is there a way to extend the usable GPR space of any pic past that of the base pic with extra ram and using PBP3, if so which chips are suitable

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: 18F87K22 & extended memory in PBP3

    There are lots of ways to add more RAM to a PIC.

    But none that I know of will allow PBP to put more variables in there.
    DT

Similar Threads

  1. linear data memory & large data arrays
    By ronsimpson in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 27th June 2011, 23:21
  2. How best to time a pin state for extended periods of time
    By Hylan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th March 2011, 11:20
  3. Replies: 11
    Last Post: - 17th August 2010, 16:45
  4. DS18B20 does not work with extended wire
    By wildbilly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th October 2007, 05:47
  5. PIC16F88, Bootloader & I2C Memory
    By digilord in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th December 2005, 15:36

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts