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 ?.
Re: Why does DATA or EEPROM not work 18f2450 ?
Does the 18F2450 have on-chip EEPROM?
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 ?
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.;)
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 :confused:
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
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.
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 :-)
Re: Why does DATA or EEPROM not work 18f2450 ?
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....?
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 ;)
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 :confused: (again).
http://www.microchip.com/pickit3
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...
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/
Re: Why does DATA or EEPROM not work 18f2450 ?
:D yeah i saw that, pretty cool reply from such company. Love them :D