View previous topic :: View next topic |
Author |
Message |
Blob
Joined: 02 Jan 2006 Posts: 75 Location: Neeroeteren, Limburg, Belgium
|
declare data eeprom with #ROM |
Posted: Mon Sep 01, 2008 3:58 am |
|
|
Hello,
I want to use the data eeprom in my 18f2520.
I also want to use the preprocessor #ROM:
the CSS_manual suggests:
#rom 0xf00000={1,2,3,4,5} //inserts this data into the hex file. The data eeprom address differs
// for different family of chips. Please refer to the programming
// specs to find the right value for the device.
my question is where to find the programming specs for the 18f2520 or what address should i use in my #rom statement?
Godspeed,
Blob |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Mon Sep 01, 2008 5:11 am |
|
|
0xf00000 is correct for all PIC18F chips, I think. |
|
|
Blob
Joined: 02 Jan 2006 Posts: 75 Location: Neeroeteren, Limburg, Belgium
|
|
Posted: Mon Sep 01, 2008 5:21 am |
|
|
It works,
thanks! |
|
|
|