Why does DATA or EEPROM not work 18f2450 ?


Closed Thread
Results 1 to 14 of 14
  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

  7. #7
    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 ?

    Bruce

    I will have a go with the writecode / readcode and see how that goes....

    Thanks for your help :-)
    Reading the datasheet & understanding it are two different things.

  8. #8
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

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

    Dave
    Always wear safety glasses while programming.

  9. #9
    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 ?

    Thanks Dave & Bruce

    I tried with no success to use the write / readcode, so I ordered some 18f13k50's today and while I was at it I realised my dev board (easypic 3) would not program em, so I splashed out on a pickit3 programmer too lol, new toys to play with! yey

    I'ts going to be oh so easy with these new pic's and me shiney new programer, right....?
    Reading the datasheet & understanding it are two different things.

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


    Did you find this post helpful? Yes | No

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

    I'm surprised the EasyPic 3 can't program theses... I would try to download the latest MikroProg Suite from MikroElektronika website and see what happen.

    More toys never hurt, that's for sure, and now you can also program them directly in circuit without nasty adapters
    Steve

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

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


    Did you find this post helpful? Yes | No

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

    Hmm, acording to the pickit3 bumf, it now can program all pics, unless I have read the description wrong (again).

    http://www.microchip.com/pickit3
    Reading the datasheet & understanding it are two different things.

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


    Did you find this post helpful? Yes | No

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

    It has to work. PICKIT 3 is their new beloved toy. I still like my PICKIT 2, but they've stopped the support. However, it seems that some third party/clone site provide some extended support. It is not that hard to add new device to PICKIT 2, but hey, PICKIT 3 is so cheap (when you compare to other 3rd party one).

    Not sure how good/complete their standalone application is VS PICKIT 2 though. Would be nice if they would open their source... but I guess it will never happen since they've lost a load of sale with PICKIT 2 with the tons of clones...
    Steve

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

  13. #13
    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 ?

    I bet you have seen the eeVblog thing where the OZ engineer slates the pickit 3 and Microchip makes a video response, quite entertaining I thought..

    http://www.eevblog.com/2009/10/21/ee...bugger-review/
    Reading the datasheet & understanding it are two different things.

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


    Did you find this post helpful? Yes | No

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

    yeah i saw that, pretty cool reply from such company. Love them
    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.

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