bhaskar.blaze
Newbie level 3
Hi,
My AVR Platform tools are
1.ATMEGA8A micro controller
2.Win AVR programmers notepad
3.AVRISPMk2 Programmer
4.AVR studio-4
Operating Conditions of My MCU are
Supply voltage:3.3V
Frequency of Operation:1Mhz
my code is restarting some times.I have monitored MCUCSR register bits after restart occurrence.I found that no flags are set.If so why my code is restarting?.I have doubt in data memory overflow.but when I compile my code it is showing like following
Program: 6872 bytes (83.9% Full)
(.text + .data + .bootloader)
Data: 163 bytes (15.9% Full)
(.data + .bss + .noinit)
How can I know data memory usage or stack status during run time of my code.I think reset is happening because of stack overflow.
How can I solve my problem.
Regards,
Bhaskar
My AVR Platform tools are
1.ATMEGA8A micro controller
2.Win AVR programmers notepad
3.AVRISPMk2 Programmer
4.AVR studio-4
Operating Conditions of My MCU are
Supply voltage:3.3V
Frequency of Operation:1Mhz
my code is restarting some times.I have monitored MCUCSR register bits after restart occurrence.I found that no flags are set.If so why my code is restarting?.I have doubt in data memory overflow.but when I compile my code it is showing like following
Program: 6872 bytes (83.9% Full)
(.text + .data + .bootloader)
Data: 163 bytes (15.9% Full)
(.data + .bss + .noinit)
How can I know data memory usage or stack status during run time of my code.I think reset is happening because of stack overflow.
How can I solve my problem.
Regards,
Bhaskar