EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

why I am uanble to debug ATTiny24 in avrstudio ver4.12

Started by anji_somarouthu February 8, 2008
I am trying to debug a 'C' program written for ATTiny24 in AVRstudio
ver 4.12, It is simulating my code suspiciously. i.e., not giving
results as i expected by my code.

the Code is written for incrementing timer1(16-bit timer) in normal
mode. I have done required settings but it is not incrementing.

my code is as follows: TCCR1B = 0x01; to run the timer1.

plz help me...............
anji_somarouthu wrote:
>
> I am trying to debug a 'C' program written for ATTiny24 in AVRstudio
> ver 4.12, It is simulating my code suspiciously. i.e., not giving
> results as i expected by my code.
>
> the Code is written for incrementing timer1(16-bit timer) in normal
> mode. I have done required settings but it is not incrementing.
>
> my code is as follows: TCCR1B = 0x01; to run the timer1.
>
> plz help me.......... .....
>
Check the Help file in AVRStudio. The timers and counters don't
simulate properly in many of the ATtiny devices. That is probably your
problem. I hadx that problem with the ATtiny25 and PWM program I was
trying to build.
> >
> Check the Help file in AVRStudio. The timers and counters don't
> simulate properly in many of the ATtiny devices. That is probably
your
> problem. I hadx that problem with the ATtiny25 and PWM program I
was
> trying to build.
>
thank U. steamphreaque

in which file we will get help regarding this attiny problem
anji_somarouthu wrote:
> > >
> > Check the Help file in AVRStudio. The timers and counters don't
> > simulate properly in many of the ATtiny devices. That is probably
> your
> > problem. I hadx that problem with the ATtiny25 and PWM program I
> was
> > trying to build.
> >
> thank U. steamphreaque
>
> in which file we will get help regarding this attiny proble
>
Check under "Known Problems"

avrFreak

The 2024 Embedded Online Conference