Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] strange display

2006-11-07 by Moataz Hussein

I do not re program, just power cycling.
nothing in the ram


Moataz



--- Cat C <catalin_cluj@hotmail.com> wrote:

> Do you reload the flash (program) between tries?
> 
> I mean: after it goes bad, do you reload it, and
> then it works good for a 
> while?
> 
> Or, just power-cycling it makes it sometimes OK,
> sometimes bad.
> 
> Does the program store anything in RAM?
> 
> Cat
> 
> ----Original Message Follows----
> From: Moataz Hussein <husseinmoataz@yahoo.com>
> Reply-To: AVR-Chat@yahoogroups.com
> To: AVR-Chat@yahoogroups.com
> Subject: Re: [AVR-Chat] strange display
> Date: Tue, 7 Nov 2006 00:42:24 -0800 (PST)
> 
> 
> Thanks for the suggestions,
> 
> I mentioned that sometims it is working fine;
> starting
> at 99 and counting down at 1 sec intervals, updating
> display correctly. This indicates that
> initialization
> is ok, lookup table, addressing is ok!
> 
> BUT SOMETIMES it gets this strange output on the
> seven
> segment which is changing at 1 sec intervals. this
> strange output is repeated every 10 sec, which
> appears
> that the problem is in the reading data from lookup
> table.
> 
> If it starts giving correct output it continues this
> way, also if it starts giving strange output it
> continues.
> 
> My question is:
> 1- Why is it sometimes working ok and stable and
> sometimes not? if it is getting correct output code
> why sometimes it is corrupted?
> 
> 2- If a reset is done at the reset pin will it do a
> complete reset? because what happens is that when it
> gives strange output a reset brings it back to the
> first corrupted displyed output not the 99 as it
> should be.
> 
> I tried different chip and the same happened.
> 
> Moataz
> 
> 
> 
> 
> --- David VanHorn <microbrix@gmail.com> wrote:
> 
>  > Verify that when you load Z, it's actually
> pointing
>  > to twice the address of
>  > the table base, plus the proper offset?
>  >
>  > Verify that you are picking up the data after the
>  > LPM instruction and not
>  > erasing it accidentally.
>  >
>  > Check that you don't have an ISR that is killing
> the
>  > data.
>  >
>  >
>  > [Non-text portions of this message have been
>  > removed]
>  >
>  >
> 
> 
> 
> 
> 
>
____________________________________________________________________________________
> Sponsored Link
> 
> Degrees online in as fast as 1 Yr - MBA, Bachelor's,
> Master's, Associate
> Click now to apply http://yahoo.degrees.info
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
>
_________________________________________________________________
> Find a local pizza place, music store, museum and
> moreĀ…then map the best 
> route! Check out Live Local today! 
> http://local.live.com/?mkt=en-ca/
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 




 
____________________________________________________________________________________
Sponsored Link

Get a free Motorola Razr! Today Only! 
Choose Cingular, Sprint, Verizon, Alltel, or T-Mobile. 
http://www.letstalk.com/inlink.htm?to=592913

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.