[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Bug info WINAVR-20030424-bin-install

From: Vinay.S
Subject: [avr-gcc-list] Bug info WINAVR-20030424-bin-install
Date: Thu, 25 Sep 2003 13:17:56 +0900

> Hi!
>  I am using latest version of WinAVR-20030424-bin-install  along with
> avr coff beta install.
> My problems are as follows
> 1.) i declare a variable as uint8_t packets[10][20];
>      Problem: The complier says type of packets unknown, using void.In the
> Simulator , in the watch window, When i try to watch variable packet, it
> says "not in scope". But, In the Data Memory, I can see that at the
> address of packet,the data is being written to.(searched address in
> assembly)
> 2.) I declare a global variable uint8_t global_array[20];
>      Problem: The variable is allocated memory space in the program memory
> instead of DATA
>     I change of variable to say global_array1[20] then, it allocates
> space for variable in data.But if i recompile, then it again allocates
> memory space in PROGRAM MEMORY(CODE).
>         What is the cause and the solution to above problem?
> 3.) I declare local Variable say uint8_t ki; and I initiliase it as ki=0;
> but, in the simulator, the variable ki is not initialised to 0, instead it
> contains some default value.
>     These problems,how ever simple they may seem ,are delaying the
> debugging/testing  of our project. I request U guys out there to help us
> out.
> Regards,
> Vinay

reply via email to

[Prev in Thread] Current Thread [Next in Thread]