Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Reset Problam in ATMEGA8A

Status
Not open for further replies.

bhaskar.blaze

Newbie level 3
Joined
Mar 31, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,314
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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top