PDA

View Full Version : EEPROM or DATA issue with 16F1503



scasale
- 10th October 2013, 15:21
I have written some code that I want to load into an EEPROM aboard a 16F1503. I used in the past the command EEPROM 1,[1] , well on a 16f628 or 873A using PBP 2.47. It works. On the 1503 that is new to me and a recent upgrade to PBP 3.0.X I switched to the DATA statement.Such as DATA @1, 1.
When I compile, it errors out and says: undefined symbol (EEPROM_START). Not sure why. I tried the examples in the manual with the same result. I have also tried. data@1, 1 data @ 1, 1 data@ 1,[1] ect. different ways of typing it out. No joy. It looks like the 1503 does has eeprom registers so, not sure what the error is telling me.

After some search online looks like I might need to modify the INC file for the 16F1503. Not exactly sure about this or what to add to it.

Thanks.

scasale
- 11th October 2013, 04:06
Well after going through data sheet again comparing to other chips I have, looks like the 1503 DOES NOT have on board EEPROM. So it is no wonder I was not getting the results!

Art
- 11th October 2013, 04:46
Well after going through data sheet again comparing to other chips I have, looks like the 1503 DOES NOT have on board EEPROM. So it is no wonder I was not getting the results!

And why EEPROM_START is not defined in the include for the particular device,
otherwise it would only likely be a matter of editing it.