>salaria wrote:
>> hi,
>>
>> I have just started using DM642 evm. i am having a few problems in the
>> memory section. there are a lot of sections .bss, .stask, .sysmen
>> etc.etc.
>>
>> 1. If i compile the following code, to which section will the compiler
>> allocate memory for the static/dynamic variables?(at compile/run time)
>>
>> void main (void)
>> {
>> int i;
>> int j = 6; //is it .bss??
>>
>> char a[100]; // is it .stack??
>> char b[100][100];
>> char *c; c = (char *)malloc(100); //is it .sysmem
>>
>> }
>>
>> is there a TI pdf which would give more information on this?
>>
>> Thanks and Regards
>> APS
>>
>
>See Table 5-1 and 5-2 on page 116:
>
>http://focus.ti.com/dsp/docs/dspsupporttechdocsc.tsp?sectionId=3&tabId=409&familyId=477&abstractName=spru187n
>
>Brad
>
Thanks Brad
Reply by Brad Griffis●February 3, 20072007-02-03
salaria wrote:
> hi,
>
> I have just started using DM642 evm. i am having a few problems in the
> memory section. there are a lot of sections .bss, .stask, .sysmen
> etc.etc.
>
> 1. If i compile the following code, to which section will the compiler
> allocate memory for the static/dynamic variables?(at compile/run time)
>
> void main (void)
> {
> int i;
> int j = 6; //is it .bss??
>
> char a[100]; // is it .stack??
> char b[100][100];
> char *c; c = (char *)malloc(100); //is it .sysmem
>
> }
>
> is there a TI pdf which would give more information on this?
>
> Thanks and Regards
> APS
>
hi,
I have just started using DM642 evm. i am having a few problems in the
memory section. there are a lot of sections .bss, .stask, .sysmen
etc.etc.
1. If i compile the following code, to which section will the compiler
allocate memory for the static/dynamic variables?(at compile/run time)
void main (void)
{
int i;
int j = 6; //is it .bss??
char a[100]; // is it .stack??
char b[100][100];
char *c; c = (char *)malloc(100); //is it .sysmem
}
is there a TI pdf which would give more information on this?
Thanks and Regards
APS