Message Edited by CrasyCat on 2007-04-13 02:18 PM
you use
#pragma optimization_level 4
__pmem int [arrey you need to write]
with this mathod arrey or whatsoever you defined take programm memory
if you write
int [arrey you need to write]
this take ram for storage
Message Edited by jjl3 on 2006-09-11 11:27 PM
- Edit the .c file make an array like: __pmem const byte copybaud_block[] = {0x07,0x0e,3,'B',0x82,0x17,0x22};
- Edit the .cmd file (linker file) and insert the line * (.const.data.pmem) in the application code,
I got this information from tech support and had trouble getting on my own
Or you might have enough ram data space and you just don;t have it configured big enough.
In the memory section of your *.cmd file you should look at line
.x_Data (RW) : ORIGIN = 0x00000001, LENGTH = 0x00001FFF - here you need to check actually ram in your processor
and make sure you have it all set up. Hope this helps.