DATA command and a 16f628


Closed Thread
Results 1 to 6 of 6

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Hi mom,

    The 16F628 only has 128 bytes of EEPROM, so all that stuff won't fit.

    Since these appear to be "Fixed" commands that never change, EEPROM may not be the best place for them anyhow.

    If you are trying to put them in EEPROM in order to save program space, you may want to check out this thread...

    Embedded Strings in your Code Space
    http://www.picbasic.co.uk/forum/showthread.php?t=1999
    <br>
    DT

  2. #2
    Join Date
    Feb 2006
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    I tried to compile strings.pbp and strings-16.pbp using pbp 2.45, Microcode studio 2.3.0.0 and MPASM from mplab ide v 7.3.1. It errors to :

    Error[113] c:\pbc\pbcpic14.lib 428 : Symbol not previously defined (EEADRH)

    I'm stuck!! Please Advise

  3. #3
    Join Date
    Feb 2006
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Forgot to state that that occurs with a 16f628A.

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


    Did you find this post helpful? Yes | No

    Default

    Hi Richard,

    Good Point!

    Using that technique requires that the PIC is able to read from it's own Flash memory. &nbsp; Which the 16F628(A) can't do.


    yourmomOS,

    Please disregard that last post. Well, except for the "It won't fit" part.
    <br>
    DT

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    So you still have 2 choices
    1. Change Your PIC to and have one that can read from it's own Flash mem to fit your Strings
    2. Keep the same PIC BUT Save your String to an external EEPROM.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Members who have read this thread : 0

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