View previous topic :: View next topic |
Author |
Message |
HB Guest
|
how to define an array, say a[6], in PIC FLASH memory |
Posted: Wed Apr 04, 2007 8:57 pm |
|
|
Dear Sir,
Is there anyway to define an array in PIC FLASH memory such that it can be read from and write to?
Best regards,
hb |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Apr 04, 2007 9:05 pm |
|
|
If you have vs. 3 of the compiler, look at 'typemod' in the manual.
If you have vs. 4, look at 'addressmod' in the manual.
From the current manual:
Quote: |
CCS C compiler also provides a custom qualifier addressmod which can
be used to define a memory region that can be RAM, program eeprom,
data eeprom or external memory. Addressmod replaces the older
typemod (with a different syntax). |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|