The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: Keith R. Williams
Subject: Re: Max232 and 8051 drivin' me crazy - Solution found!
Date: Tue, 31 Dec 2002 15:21:35 -0500
References: <email@example.com> <firstname.lastname@example.org>
X-Newsreader: MicroPlanet Gravity v2.60
In article ,
> On Tue, 31 Dec 2002 00:00:26 -0500, Keith R. Williams
> >In any case, you shouldn't have main line code starting
> >at 0000h.
> He can always relocate it if/when he need to. But I agree
> with you, I would always start with a jump to prog.start.
I wouldn't even put test routines (as this was) down at 0000h.
Spurious interrupts could be a real PITA to track down. I
*always* put a handler for each interrupt, even it it is only a
jump to 0000h or a spin loop. I pretty much use one template for
main line programs (pretty much just the POR and interrupt
vectors). Unless I list macros/extrns/constants my "main
program" is rarely more than a few pages, and much of that is
boilerplate/documentation. When I want to test something I just
gleep a copy of a working "main program" and modify it. This
keeps me from making the same misteaks every week. ;-)
> >> Please accept my aplogies for wasting everyones time, although everyone's
> >> input wasn't a waste as I learnt many valuable things.
> >That's what the group is about. I learned a lot just be reading
> >other's posts. Then there's the entertainment value. ;-)
> Hey! These sorts of questions are NEVER a waste of time,
> ask away to your hearts content, that's what these
> newsgroups are here for - well that and to allow us to bitch
> at one-another when we're bored with all this electronics
> crap :)
It's not the "electronics crap" that bores me. I wish I got to
do more of it these days. Oh well, my mortgage company likes what
I do. ;-)
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup