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: Chuck Simmons
Organization: You jest.
X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.0.33 i586)
Subject: Re: Which Microcontroller to use?
Date: Fri, 20 Sep 2002 03:01:38 GMT
NNTP-Posting-Date: Thu, 19 Sep 2002 20:01:38 PDT
Dave VanHorn wrote:
> > There is something seriously backwards here. The reason for using high
> > level languages is to handle complex functions easily. Optimizing C
> > compilers are in fashion and for excellent reasons. Assembly language is
> > used for speed in simple functions or in cases where nothing else is
> > available. Complex functions are painful to write in assembly language
> > and hard to debug.
> > Chuck
> I wouldn't want to handle geographic coordinate calculations, or large
> string functions, but I've found assembler to be a quite satisfactory tool,
> and since I know exactly what's happening at any given moment, relatively
> painless to debug.
It is an incredible luxery in realtime MCU code to know "exactly what's
happening at any given moment." I would almost kill for that happiness.
Unfortunately, I have to handle up to 11 completely asynchronous
interrupts with some being time critical and others not. Bugs are all
the nightmare sort where somebody stepped on somebody elses data in some
archane way and you can't see how it happened because its a buried MCU
not to mention the fact that breakpoints make no sense in such a
situation. The situation is that the machine state at any given moment
is unknown. That's realtime. It's very tricky to debug. Oh! It's all in
... The times have been,
That, when the brains were out,
the man would die. ... Macbeth
Chuck Simmons firstname.lastname@example.org
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup