Hello friends
I worked with codevision version 1.38.8c long times. In that software every time
that I want to reset watchdog timer I wrote:
# asm(“WDR=0”);
Now I start for working with codevision version 2.04.4a in this version that
line produce Error. What can I do? How can I reset watchdog timer?
Best regards.
ALi
# asm(“WDR=0”);
Started by ●August 20, 2010
Reply by ●August 21, 20102010-08-21
________________________________
From: rahmatoolah abedini
To: a...
Sent: Fri, August 20, 2010 1:31:00 AM
Subject: [AVR club] # asm(“WDR=0”);
WDR is Asm Instruction, write only :
#asm("Wdr")
Imad
Hello friends
I worked with codevision version 1.38.8c long times. In that software every time
that I want to reset watchdog timer I wrote:
# asm(“WDR=0”);
Now I start for working with codevision version 2.04.4a in this version that
line produce Error. What can I do? How can I reset watchdog timer?
Best regards.
ALi
Hi,
From: rahmatoolah abedini
To: a...
Sent: Fri, August 20, 2010 1:31:00 AM
Subject: [AVR club] # asm(“WDR=0”);
WDR is Asm Instruction, write only :
#asm("Wdr")
Imad
Hello friends
I worked with codevision version 1.38.8c long times. In that software every time
that I want to reset watchdog timer I wrote:
# asm(“WDR=0”);
Now I start for working with codevision version 2.04.4a in this version that
line produce Error. What can I do? How can I reset watchdog timer?
Best regards.
ALi
Hi,
Reply by ●August 24, 20102010-08-24
Salaam Ali,
I suggest free WINAVR or AVRGCC compiler.
You can define the following in the header file and use WDR(); instead.
#ifdef CODEVISION
#define WDR() #asm("wdr")
#elif defined (AVRGCC)
#define WDR() __asm__ __volatile__ ("wdr")
#endif
best regards
A.R. Khorasani
www.dadehabzar.ir
On Fri, Aug 20, 2010 at 2:01 PM, rahmatoolah abedini
wrote:
> Hello friends
> I worked with codevision version 1.38.8c long times. In that software every
> time
> that I want to reset watchdog timer I wrote:
> # asm(WDR=0);
> Now I start for working with codevision version 2.04.4a in this version
> that
> line produce Error. What can I do? How can I reset watchdog timer?
> Best regards.
> ALi
>
>
>
>
>
I suggest free WINAVR or AVRGCC compiler.
You can define the following in the header file and use WDR(); instead.
#ifdef CODEVISION
#define WDR() #asm("wdr")
#elif defined (AVRGCC)
#define WDR() __asm__ __volatile__ ("wdr")
#endif
best regards
A.R. Khorasani
www.dadehabzar.ir
On Fri, Aug 20, 2010 at 2:01 PM, rahmatoolah abedini
wrote:
> Hello friends
> I worked with codevision version 1.38.8c long times. In that software every
> time
> that I want to reset watchdog timer I wrote:
> # asm(WDR=0);
> Now I start for working with codevision version 2.04.4a in this version
> that
> line produce Error. What can I do? How can I reset watchdog timer?
> Best regards.
> ALi
>
>
>
>
>