ERROR !! Data EPPROM Memory Location Already used !

Mike.

Member
Hello guys , I am facing with very big trouble..
I am using picaxe-18M2 micro-controller

I have written 689 lines of codes in PICAXE programming Editor.
But I get " error Data EPPROM Memory Location Already used ! " everytime when I try to program.
I have done many googling but no result found.

Please help guys.. ?Data EPPROM Memory Location Already used !.gif
 

Technical

Technical Support
Staff member
Your very long program is overlapping the data area (used by the eeprom command)
There are two possible solutions - use a lower eeprom address (e.g. 0 rather than 255), or use an 18M2+ chip instead which has separate eeprom.
www.picaxe.com/docs/picaxe18m2.pdf
 

nick12ab

Senior Member
Your program's too long. You should change to an X2 part, or seriously rethink all those text strings in those sertxd commands.

Why have you not indented anything?
 

Technical

Technical Support
Staff member
read 9,b24
read 20,b7
read 22,B18

You seem to use addresses 0-4, 9,10,20,22. Why the big gaps?

Use addresses 0-8 instead, this will free up some more eeprom space.
Also try optimising you program, it could be made smaller.
 
Top