[Icc-avr] RE: Memory Setup and Speed
Jared Broad
jared.broad at infact.co.nz
Mon Mar 26 13:19:16 PST 2007
Thanks Richard, Bob. Will try that and see if it makes it faster.
-----Original Message-----
From: Jared Broad
Sent: Monday, 26 March 2007 12:54 p.m.
To: 'Richard'
Cc: Shane Buckham; Nick Rayner
Subject: RE: Memory Setup and Speed
Hello Richard,
We would prefer mostly internal variables, the faster the better!
Although the MAP file reports 27K of variables we are dubious of this
figure. We roughly guess *variables* are closer to 3-8k, the rest of
the 27K are font files, bitmaps, buffers etc.
Regards
Jared
Memory summary:
flash used = 111088 (0x1B1F0) bytes from 0x008C to 0x1B27B = 55544
(0xD8F8) words from 0x0046 to 0xD93D
internal sram used for
- s/w stack = 3936 (0xF60) bytes from 0x0100 to 0x105F
- h/w stack = 160 (0xA0) bytes from 0x1060 to 0x10FF
external sram used for
- variables = 26447 (0x674F) bytes from 0x1100 to 0x784E
no eeprom area defined
-----Original Message-----
From: Richard [mailto:richard at imagecraft.com]
Sent: Monday, 26 March 2007 1:40 p.m.
To: Jared Broad
Cc: Nick Rayner; Shane Buckham
Subject: Re: Memory Setup and Speed
Sure, fairly easy. Do you expect to have mostly internal RAM vars or
external RAM vars?
At 04:28 PM 3/25/2007, Jared Broad wrote:
>Hello,
>
>When external 32K-ram in selected in the options, ICC sets the internal
>SRAM exclusively for HW and SW stack, forcing variables to external
>memory.
>
>For large programs accessing external ram for all the program variables
>is significantly slower than WinAVR. Has anyone set a portion of the
>internal memory for variable use? If so is there an easy command to
>implement this?
>
>Thanks,
>
>Jared Broad
>Embedded Design Engineer
// richard <http://www.imagecraft.com/>
<http://www.dragonsgate.net/mailman/listinfo> On-line orders, support,
and
listservers available on web site.
[ For technical support on ImageCraft products, please include all
previous
replies in your msgs. ]
More information about the Icc-avr
mailing list