Why does DATA or EEPROM not work 18f2450 ?


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Dec 2004
    Location
    Scarborough UK
    Posts
    77

    Default Why does DATA or EEPROM not work 18f2450 ?

    Hi

    When I use the DATA, EEPROM, READ or WRITE I get the following warnings and the code does not work (no values are stored to eeprom).

    'Address exceeds maximum range for this processor'

    I tried this in a new blank project an I still get the warnings

    PBP V2.60, 18F2450 mpasm 5.31

    Any Ideas ?.
    Reading the datasheet & understanding it are two different things.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: Why does DATA or EEPROM not work 18f2450 ?

    Does the 18F2450 have on-chip EEPROM?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Dec 2004
    Location
    Scarborough UK
    Posts
    77


    Did you find this post helpful? Yes | No

    Default Re: Why does DATA or EEPROM not work 18f2450 ?

    Hi Bruce

    I think it does, am I reading the datasheet wrong ?, does it not have eeprom ?
    Reading the datasheet & understanding it are two different things.

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: Why does DATA or EEPROM not work 18f2450 ?

    Just downloaded & looked over the datasheet. Doesn't look like this one has on-chip EEPROM so that would explain the error.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Dec 2004
    Location
    Scarborough UK
    Posts
    77


    Did you find this post helpful? Yes | No

    Default Re: Why does DATA or EEPROM not work 18f2450 ?

    OMG, I'm a total idiot, I've been looking at the 2455 datasheet all this time

    My project is prety scuppered without being able to persist some values on power down, do you know if I could use something else with that processor, maybe peek or pokecode or something ?.

    Thanks for your help Bruce
    Reading the datasheet & understanding it are two different things.

  6. #6
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: Why does DATA or EEPROM not work 18f2450 ?

    The easy route would just be to use the 2455, but you could use ERASECODE, WRITECODE and READCODE.

    This memory wears out a lot faster than EEPROM, and you have to erase before writes, and deal with different block sizes, etc, but it's do-able.

    Melanie posted a nice tutorial here somewhere on this.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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