bcd
- 7th August 2010, 14:53
Hi All,
i have been using the 16F1933 with great success for a while now using PBP2.60 (unpatched), but today went to add the DATA command to load some values to eeprom and save space on doing a static LOOKUP and reduce memory usage.
When compiling I get the error :
Address Exceeds Maximum range for this processor
There is one entry for every byte I am trying to store. The chip has 256 byte of eeprom, but I am only trying to store data in the first 16 positions.
data $00,$3C,$78,$2C,$58,$20,$70,$FF,$00,$00,$00,$01,$0 2,$03,$03,$03
Could it be an issue with the P16F1933.BAS file? Looking insode it has
EEPROM $F000, $F0FF
But I wonder if it is causing an issue.
I can manually write the data to the eeprom in the PicKit2 software, but its a pain to do, and I sometimes forget to deselect the EEPROM write flag and loose all the data...
Anyone got any idea ?
Bill.
i have been using the 16F1933 with great success for a while now using PBP2.60 (unpatched), but today went to add the DATA command to load some values to eeprom and save space on doing a static LOOKUP and reduce memory usage.
When compiling I get the error :
Address Exceeds Maximum range for this processor
There is one entry for every byte I am trying to store. The chip has 256 byte of eeprom, but I am only trying to store data in the first 16 positions.
data $00,$3C,$78,$2C,$58,$20,$70,$FF,$00,$00,$00,$01,$0 2,$03,$03,$03
Could it be an issue with the P16F1933.BAS file? Looking insode it has
EEPROM $F000, $F0FF
But I wonder if it is causing an issue.
I can manually write the data to the eeprom in the PicKit2 software, but its a pain to do, and I sometimes forget to deselect the EEPROM write flag and loose all the data...
Anyone got any idea ?
Bill.