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: "Dave VanHorn"
References: <3D8A6BE9.6455BB7@webaccess.net> <3D8A8F7D.865B97EB@webaccess.net>
Subject: Re: Which Microcontroller to use?
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
NNTP-Posting-Date: Thu, 19 Sep 2002 23:44:46 CDT
Organization: Giganews.Com - Premium News Outsourcing
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
Date: Fri, 20 Sep 2002 04:44:46 GMT
> 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.
Sounds about normal to me.
My current app has 21 populated vectors, out of a possible 34 on this
processor (AVR Mega-128)
>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
??? The only way that happens, in my experience, is when I screw up
I do a couple things that help protect me. I dedicate one register to
storing the status register during ints. I dedicate one or more registers
for use in ISRs. I avoid pushing data onto the stack wherever possible.
The worst thing I've hit in the last couple years was a typo where I was
using TEMP instead of ITEMP in an ISR.. Way bad.. But way obvious, and easy
I use breakpoints extensively when developing. What proc/toolset are you
The AVR gives you a nice simulator, a $200 ice which isn't a cadillac, but
it's damn nice for $200. There's a Jtag ice.There's also higher end ICEs at
about $3200-ish from atmel, and I think Signum and a few others make them as
>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
> assembly language.
That's the only way to fly! :)
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup