arraywrite takes too much memory, is there any way for optmisation?


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: arraywrite takes too much memory, is there any way for optmisation?

    What device are you using?

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,631


    Did you find this post helpful? Yes | No

    Default Re: arraywrite takes too much memory, is there any way for optmisation?

    nothing has changed since last time you asked the same question
    http://www.picbasic.co.uk/forum/showthread.php?t=24442
    Warning I'm not a teacher

  3. #3
    Join Date
    Feb 2013
    Posts
    1,122


    Did you find this post helpful? Yes | No

    Default Re: arraywrite takes too much memory, is there any way for optmisation?

    I'm using PIC16F1939, as the biggest memory (16K and fastest (32mhz) in 16F family.
    I just came to idea - since reading external EEPROM is quite slow
    what if I use some SRAM chip, with parallel access, like CY7C199, copy data from EEPROM to it at startup, and access it as required?

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,631


    Did you find this post helpful? Yes | No

    Default Re: arraywrite takes too much memory, is there any way for optmisation?

    15 address pins
    8 bidirectional i/o pins
    r/w control pin
    oe pin
    ce pi
    hope you don't want the pic to do much else other than be a pin jockey for all them controls

    and you think that will be easier to get going than learning to use flash memory
    Warning I'm not a teacher

  5. #5
    Join Date
    Feb 2013
    Posts
    1,122


    Did you find this post helpful? Yes | No

    Default Re: arraywrite takes too much memory, is there any way for optmisation?

    Yes it will take a lot of pins.
    I'm using I2CREAD/I2CWRITE w/o any issues, but it is slow.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default Re: arraywrite takes too much memory, is there any way for optmisation?

    Flash memory is more manageable as Richard noted.

    Observe how selected PIC is controlling read/write pages and do it nice and fast.

    Ioannis

Similar Threads

  1. how much space it takes up
    By longpole001 in forum PBP3
    Replies: 5
    Last Post: - 29th April 2014, 11:42
  2. ARRAYWRITE lenght
    By pedja089 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2012, 15:45
  3. 18F4550 USB takes over
    By milosch in forum USB
    Replies: 1
    Last Post: - 27th March 2011, 14:17
  4. Replies: 11
    Last Post: - 17th August 2010, 16:45
  5. SEROUT2 takes 1400ms to execute?
    By droptail in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th March 2006, 17:08

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