Searching \ for '[PIC]: problems with delays - origin discovered! :' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/time.htm?key=delay
Search entire site for: 'problems with delays - origin discovered! :'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: problems with delays - origin discovered! :'
2002\08\05@183908 by jumanji

flavicon
face
Thanks alot!!!!

The darn thing works! I couldn't find yet how to disable the WDT (The PIC
datasheet still is 99.5% jib to me)
But I found the CLRWDT instruction, I didn't have a clue where to put it, so
I did it just before the RETURN in the Delay routine, & huray-huray, it
works! (atleast with the .25 version hehe).

Ok, I'll be investigating the WDT functions a bit. Soon the pic asm course I
ordered should arrive & then I hope I get along a bit faster then just
messing around with bits & pieces. In fact, this 'PIClist beginners
kit'-initiative from the grandmasters inhere is really appealing, atleast
it's better then gathering the best/most interesting stuff from here & there
without really knowing what you are doing (like I did hehehe).
Maybe I should just offer my (newbie-)body to them for experimentation as I
think I might be just the ideal target :-D

Thanks again all & goodluck in all you do!

PS: Meanwhile I got an answer from Epemag, seems my stuff is on the way, so
I guess they are OK.


{Original Message removed}

2002\08\05@185239 by Jinx

face picon face
> I couldn't find yet how to disable the WDT

It goes in the CONFIG statement

& _WDT_OFF

eg (all on one line, note double underscore at start)

 __CONFIG _CP_OFF & _WRT_ENABLE_ON & _HS_OSC & _WDT_OFF & _PWRTE_OFF &
_BODEN_OFF & _LVP_OFF & _CPD_OFF & _DEBUG_OFF

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\08\06@031717 by Wouter van Ooijen

picon face
> The darn thing works! I couldn't find yet how to disable the
> WDT

The watchdog is enabled/disabled in the configuration word. Some
programmers let you override the configuration in a menu, maybe yours
does.

Wouter van Ooijen

-- ------------------------------------
http://www.voti.nl
PICmicro chips, programmers, consulting

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2002\08\06@105541 by Derek Cowburn

flavicon
face
Does anyone know the syntax for doing that using PicBasic Pro?  It's
annoying to have to make these settings in my Warp-13 each time.

-Derek

> {Original Message removed}

2002\08\07@131327 by miked

flavicon
face
I found this in some PBP code;
@device pic16F873, hs_osc, wdt_on, pwrt_on, protect_off, bod_on, lvp_off, cpd_off,
wrt_off, debug_off

>
> Does anyone know the syntax for doing that using PicBasic Pro?  It's
> annoying to have to make these settings in my Warp-13 each time.
>
> -Derek

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\08\09@125054 by Dwayne Reid

flavicon
face
At 10:55 AM 8/6/02 -0400, Derek Cowburn wrote:
>Does anyone know the syntax for doing that using PicBasic Pro?  It's
>annoying to have to make these settings in my Warp-13 each time.

Add the line:

@device wdt_on

at the front of your code

should do it - so long as you are using MELABS assembler.  Won't work if
MPLAB is selected as your assembler.

dwayne

--
Dwayne Reid   <spam_OUTdwaynerTakeThisOuTspamplanet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax

Celebrating 18 years of Engineering Innovation (1984 - 2002)
 .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-
    `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam@spam@mitvma.mit.edu


2002\08\09@184254 by Derek Cowburn

flavicon
face
> From: Dwayne Reid [dwaynerspamKILLspamPLANET.EON.NET]
>
> At 10:55 AM 8/6/02 -0400, Derek Cowburn wrote:
> >Does anyone know the syntax for doing that using PicBasic Pro?  It's
> >annoying to have to make these settings in my Warp-13 each time.
>
> Add the line:
>
> @device wdt_on
>
> at the front of your code
>
> should do it - so long as you are using MELABS assembler.
> Won't work if
> MPLAB is selected as your assembler.


Dwayne,
I tend to use the MPLAB assembler.  Should I use the one from ME Labs?

-Derek


{Quote hidden}

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamspam_OUTmitvma.mit.edu


2002\08\09@214850 by Dwayne Reid

flavicon
face
At 06:41 PM 8/9/02 -0400, Derek Cowburn wrote:

>Dwayne,
>I tend to use the MPLAB assembler.  Should I use the one from ME Labs?

Try it and see.  If you get an error message, go into PBP's setup options
(or the MCS setup options - I don't remember which it is) and change to
using the MELabs assembler (PM).  I had a problem with this early on and
was told that MPLAB will not accept multiple config statements whereas PM
does.

What little PBP code I write is done using Mecaniq's Micro Code Studio
(MCS) - it works well and completely hides the details of dealing with the
PBP compiler.  Thus my hazy recollection.

dwayne

--
Dwayne Reid   <@spam@dwaynerKILLspamspamplanet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax

Celebrating 18 years of Engineering Innovation (1984 - 2002)
 .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-
    `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.

--
http://www.piclist.com hint: To leave the PICList
KILLspampiclist-unsubscribe-requestKILLspamspammitvma.mit.edu


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...