Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] *HAHAHA*

2007-01-18 by Micro Brix

On 1/18/07, Jim Wagner <jim_d_wagner@applelinks.net> wrote:
>
> That is why I have adopted the practice of installing a
> full vector table, with all the standard labels and filling
> the unused ones with RETI or jump to an error handler.


The only way to fly!  :)
I've always done this, or a close variant.

In some apps, I've used a jump to a "halt and DONT catch fire" routine,
where the app controlled things that could easily get nasty if left on too
long. This routine safeties the outputs, and then sits in a loop.

My templates all have ISRs that turn off that particular int.  I start my
apps with this, and then change the ones I want to use into real ISRs, and
if I get squeezed for code space then I might change the turnoffs to simpler
versions, or to RETIs.

I dont' believe in EVER writing without a fully implemented vector table
though.


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.