avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] SRAM and avrstudio watching


From: Paulo Abreu
Subject: [avr-gcc-list] SRAM and avrstudio watching
Date: Fri, 19 Apr 2002 12:06:04 +0100

Hi!
 
I am using avr-gcc with avrstudio. for watching variables I am using elfcoff.exe tool.
 
I am declaring several arrays

#define SHARPS_NUMBER                   4
#define FAROL_NUMBER                   16
#define PROXIMIDADE_NUMBER                6
#define COMMAND_SIZE                   1
#define SHARP_TABLE_SIZE                 64
 
//uint8_t g_lastCommand[COMMAND_SIZE]= {'0'};    // stores last uart command
uint8_t g_adc_sharps[4];       // guarda os valores do ADC
uint16_t g_sharpTableRef[SHARP_TABLE_SIZE];    // contem os valores de referância para os primeiros 63 cm + 10
uint8_t g_fimDePercurso;             // contem um byte que incluí a informação relativa ao estado dos sensores fim de percurso
 
//uint8_t g_detectorDeFarol[FAROL_NUMBER]= {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
 
//uint8_t g_proximidade[PROXIMIDADE_NUMBER]= {'1', '2', '3', '4', '5', '6'};
int8_t g_index;
 
when I declare all arrays (removing //),    g_adc_sharps watch only shows g_adc_sharps[0], why?
 
Is there any way of seing memory allocation (where that variables are stored at memory)?
 
How do I see stack level?
 
Thanks for your attention,
 
Paulo Abreu

reply via email to

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