<div dir="ltr">Adam,<br><br>"Far" is placed in internal memory by the .cmd file (yours if probably C6713dsk.cmd). You could either modify that and play around with it to do what you want, or you could use a #pragma to tell the linker to put a variable into a particular data section like this:<br>
<br>// #pragma DATA_SECTION(data, ".EXT_RAM")<br><br>In this case, the variable "data" would be placed into external memory. Just do this for the variables that are causing you problems.<br><br>Joseph<br>
<br><style>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</style><div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>From:</b> Adam Brenchley
[mailto:<a href="mailto:abrenchley@hotmail.com">abrenchley@hotmail.com</a>] <br><b>Sent:</b> Monday, October 20, 2008 8:37
PM<br><b>To:</b> Wenstrand, Doug S.; Haber, Joseph<br><b>Subject:</b> Can't
Allocate .far Error<br></font><br></div>
<div></div>
<div style="text-align: left;">When trying to compile my code for lab 6, I get
the following errors from the compiler:<br>>> error: can't allocate
.far, size 003d0364 (page 0) in IRAM (avail:<br>
0002fde0)<br>>> error: errors in input - ./Debug/fftlab.out not
built<br><br>I think this means that my program (or arrays) take up too much
space, but I am not sure how to make it smaller. Is there some settings
somewhere to change how the memory is allocated? or am just doing something
wrong in my code?<br><br>Adam</div><br></div>