
Originally Posted by
jessey
... Possibly the reason it won't compile has something to do with declaring the Data statements for the firecracker taking up some of the same address's as EE_Vars.PBP is using?
Yup, I think that's it too.
$2100 is the first physical address in EEPROM.
When you housetbl data $60, ..., it stores data at location 0. But it's really at 2100h.
So does EEPROM EE_Start, [0]
Both your program and EE_Vars are trying to define the same location in EEPROM.
If you open the EE_Vars.pbp file ...
The first line is ...
Code:
EE_start CON 0 ; Starting address for EE_Vars
Change that to somewhere past the locations used for the existing data.
Then they shouldn't conflict anymore.
Or you can comment that line, and copy it to your main program. That'll keep it from using the wrong location the next time you use the include file.
As for the firecracker not working.
All those EEPROM locations would have been overwritten by EE_Vars.
If they don't overlap, that won't happen.
<br>
Bookmarks