Urgent

Started by atul_waghmare14 July 1, 2005
Hello sir,
I m using Atmega8535.....
In that my uc coming out of while(1)Or for(;;)continously.
I want to know what is problem.
If u have any c code for RTC in ATmega 8535 then plz give to me ....
I m loking for it..........
Hope so u will help me out..
thanks --- In avrclub@avrc..., "poitsplace" <lmburt@e...> wrote:
> --- In avrclub@avrc..., "phisatho" <phisatho@o...> wrote:
> > Hi all
> > Well, I am on to the drawing board for my next project.
> > I need advice about serial bus such as SPI, I2C, 3-wire, 1-wire
> etc.
> > for peripheral devices like - Temperature sensor,RTC, External
> EPROM
> > etc.
> > Let us discuss the pros and cons based on - reliability,
component
> > count, code size, simplicity of programming, number of port pins
> > required etc.
>
> If the components have address pins on them, the I2C bus is nice,
> you'd only need 2 lines for all of them. I KNOW that the serial
> EEPROM does, so if either of the other two have an address line
> you're set (I'm assuming the remaing one would automatically be set
> to the first device)


At 02:17 AM 7/1/2005, atul_waghmare14 wrote:
>Hello sir,
>I m using Atmega8535.....
>In that my uc coming out of while(1)Or for(;;)continously.
>I want to know what is problem.
>If u have any c code for RTC in ATmega 8535 then plz give to me ....
>I m loking for it..........
>Hope so u will help me out..
>thanks

Sounds like a watchdog hit, or maybe you didn't initialize, or
overwrote the stack?


Dave VanHorn wrote:
> At 02:17 AM 7/1/2005, atul_waghmare14 wrote:
>
>>Hello sir,
>>I m using Atmega8535.....
>>In that my uc coming out of while(1)Or for(;;)continously.
>>I want to know what is problem.
>>If u have any c code for RTC in ATmega 8535 then plz give to me ....
>>I m loking for it..........
>>Hope so u will help me out..
>>thanks > Sounds like a watchdog hit, or maybe you didn't initialize, or
> overwrote the stack? >
>
> Yahoo! Groups Links >
>
Or unhanded interrupts.....

With so little information it is hard to provide a useful answer.

Regards,

Kat.