Yahoo Groups archive

AVR-Chat

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

Thread

Help with using interrupts and ATtiny13.

Help with using interrupts and ATtiny13.

2005-08-03 by klassasin

I recently obtained a STK500 and two ATtiny13V's.  I've done basic I/O
with them already, but I want to try something a little more advanced.
 I've been researching interrupts, yet I fail to find any particularly
large amount of information on ATtiny13 interrupts.  Specifically, I
want to use 8-bit timer that it comes equipped with.  I've looked
through it's datasheet, yet the section on interrupts is confusing me.
 I am unable to understand how to initialize interrupts (or the
timer).  I also am having trouble understanding how to respond to a
timer overflow interrupt.  Simply put, I need to initialize the timer
interrupt so I can do a certain action every time it overflows.
 Can anybody please help me with sample code to utilize timer
interrupts on tiny13's or with a site that could help me with them?

Thanks for any help,

Kevin

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-04 by Jim Wagner

Hi, Kevin -

Doing what you ask involves two separate things:

(1) Initializing the timer's registers and various
interrupt enables to generate the interrupt event.

(2) An interrupt service routine (ISR) that includes a jump
instruction (called a "vector") at the appropriate location
for the int you need to handle. 

The interrupt vector locations are listed in a table in the
data sheet. How you put the jump in depends on whether you
are using assembly language or C. 

For this, you ought to be able to get a pretty good idea of
what is happening using the Studio simultor, recognizing
that it is, at best, full of lots of "holes".

Best wishes,
Jim

On Wed, 03 Aug 2005 23:11:54 -0000
 "klassasin" <klassasin@bresnan.net> wrote:

> I recently obtained a STK500 and two ATtiny13V's.&nbsp;
> I've done basic I/O
> with them already, but I want to try something a little
> more advanced.
>  I've been researching interrupts, yet I fail to find any
> particularly
> large amount of information on ATtiny13 interrupts.&nbsp;
> Specifically, I
> want to use 8-bit timer that it comes equipped
> with.&nbsp; I've looked
> through it's datasheet, yet the section on interrupts is
> confusing me.
>  I am unable to understand how to initialize interrupts
> (or the
> timer).&nbsp; I also am having trouble understanding how
> to respond to a
> timer overflow interrupt.&nbsp; Simply put, I need to
> initialize the timer
> interrupt so I can do a certain action every time it
> overflows.
>  Can anybody please help me with sample code to utilize
> timer
> interrupts on tiny13's or with a site that could help me
> with them?
> 
> Thanks for any help,
> 
> Kevin
> 
> 
> 
> 
> 
> 
> 
>     
> 
> 
>   
>   
>     SPONSORED LINKS
>   
>           
>                   
>             
>         Atmel avr
>       
>                       
>         Microcontrollers
>       
>                       
>         Intel microprocessors
>       
>               
>                         
>             
>         Pic microcontrollers
>       
>                       
>         8085 microprocessor
>       
>                     
>            
>   
> 
> 
> 
> 
> 
> 
> 
>   
>   
>   YAHOO! GROUPS LINKS
> 
> 
> 
>   &nbsp;Visit your group "AVR-Chat" on the web.&nbsp;
>   &nbsp;To unsubscribe from this group, send an email
> to:&nbsp;AVR-Chat-unsubscribe@yahoogroups.com&nbsp;
>   &nbsp;Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service.
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 

---------------------------------------------------------------
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---------------------------------------------------------------

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-04 by Kevin Laborda

First, I use AVR Assembly. The thing that confuses me is when initiliazing the vector table how do I "skip" the vectors I don't want. Isn't the order important when listing the interrupts. Example code:
.ORG 0000 ; Address is zero
RJMP Start ; The reset-vector on Address 0000
RJMP IService ; 0001: first Int-Vector, INT0 service routine
[...] here other vectors
if I don't want the interrupt at the 000x location do I use reti?
From tn13def.inc:
;**** Interrupt Vectors ****
.equ INT0addr =$001 ;External Interrupt0
.equ PCINT0addr =$002 ;Pin Change Interrupt0
.equ TIM0_OVF0addr =$003 ;Overflow0 Interrupt
.equ EE_RDYaddr =$004 ;EEPROM write complete
.equ ANA_COMPaddr =$005 ;Analog Comparator Interrupt
.equ TIM0_COMPAaddr =$006 ;Timer/Counter0 Compare Match A
.equ TIM0_COMPBaddr =$007 ;Timer/Counter0 Compare Match B
.equ WDTaddr =$008 ;Watchdog Timeout
.equ ADCaddr =$009 ;ADC Conversion Complete Handle
So, after Reset ($000?), I'd have the INT0addr followed by PCINT0addr etc. If I only want reset then the Overflow0 Interrupt would I do
.ORG 0000
RJMP Reset
RETI
RJMP Timer
RETI
RETI
RETI
RETI
RETI
followed by initializing the stack and timer/prescaler in the Reset label code section?
Also would the following work for generic stack initialization (for what I need)?
.def TEMP = r16
[...]
Reset:
ldi TEMP,low(RAMEND) ; Set stackptr to ram end
out SPL,TEMP
ldi TEMP, high(RAMEND)
out SPH, TEMP
[ Timer0 initialization]
sei
or does the ATtiny13 require something else?
Thanks,
Kevin
----- Original Message ----- 
Show quoted textHide quoted text
From: Jim Wagner
Sent: Thursday, August 04, 2005 9:48 AM
Subject: Re: [AVR-Chat] Help with using interrupts and ATtiny13.

Hi, Kevin -

Doing what you ask involves two separate things:

(1) Initializing the timer's registers and various
interrupt enables to generate the interrupt event.

(2) An interrupt service routine (ISR) that includes a jump
instruction (called a "vector") at the appropriate location
for the int you need to handle.

The interrupt vector locations are listed in a table in the
data sheet. How you put the jump in depends on whether you
are using assembly language or C.

For this, you ought to be able to get a pretty good idea of
what is happening using the Studio simultor, recognizing
that it is, at best, full of lots of "holes".

Best wishes,
Jim

On Wed, 03 Aug 2005 23:11:54 -0000
"klassasin" wrote:

> I recently obtained a STK500 and two ATtiny13V's.
> I've done basic I/O
> with them already, but I want to try something a little
> more advanced.
> I've been researching interrupts, yet I fail to find any
> particularly
> large amount of information on ATtiny13 interrupts.
> Specifically, I
> want to use 8-bit timer that it comes equipped
> with. I've looked
> through it's datasheet, yet the section on interrupts is
> confusing me.
> I am unable to understand how to initialize interrupts
> (or the
> timer). I also am having trouble understanding how
> to respond to a
> timer overflow interrupt. Simply put, I need to
> initialize the timer
> interrupt so I can do a certain action every time it
>; overflows.
> Can anybody please help me with sample code to utilize
> timer
> interrupts on tiny13's or with a site that could help me
> with them?
>
> Thanks for any help,
>
> Kevin
>
>
>
>
>
>
>
>
>
>
>
>
> SPONSORED LINKS
>
>
> ;
> ;
> Atmel avr
>
> ;
> Microcontrollers
>
> ;
> Intel microprocessors
>
> ;
> ;
> ;
> Pic microcontrollers
>
> ;
> 8085 microprocessor
>
> ;
> ;
>
>
>
>
>
>
>;
>
>
>
> YAHOO! GROUPS LINKS
>
>
>
> Visit your group "AVR-Chat" on the web.
> To unsubscribe from this group, send an email
> to: AVR-Chat-unsubscribe@yahoogroups.com
> Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service.
>
>
>
>
>
>
>
>
>
>
>
>
>

---------------------------------------------------------------
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---------------------------------------------------------------

Re: Help with using interrupts and ATtiny13.

2005-08-04 by brewski922

Adding onto what Jim said...

What language/compiler are you using?

That ask, I learned a lot from using CodeVisionAVR Demo version. Its 
CodeWizard can do the setup initialization. Then in the ISR (Interrupt 
Service Routine), you always re-load the timer, then do the whatever it 
is that that subroutine needs to do. 

--- In AVR-Chat@yahoogroups.com, "klassasin" <klassasin@b...> wrote:
Show quoted textHide quoted text
> I recently obtained a STK500 and two ATtiny13V's.  I've done basic I/O
> with them already, but I want to try something a little more advanced.
>  I've been researching interrupts, yet I fail to find any particularly
> large amount of information on ATtiny13 interrupts.  Specifically, I
> want to use 8-bit timer that it comes equipped with.  I've looked
> through it's datasheet, yet the section on interrupts is confusing me.
>  I am unable to understand how to initialize interrupts (or the
> timer).  I also am having trouble understanding how to respond to a
> timer overflow interrupt.  Simply put, I need to initialize the timer
> interrupt so I can do a certain action every time it overflows.
>  Can anybody please help me with sample code to utilize timer
> interrupts on tiny13's or with a site that could help me with them?
> 
> Thanks for any help,
> 
> Kevin

Re: [AVR-Chat] Re: Help with using interrupts and ATtiny13.

2005-08-05 by Ralph Hilton

On Fri, 05 Aug 2005 02:10:15 -0000 you wrote:

>I am using AVR Studio 4 -> STK500.  Also, where can I get the
>CodeVision Demo?

http://www.hpinfotech.ro/html/cvavr.htm

--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by Zack Widup

On Thu, 4 Aug 2005, Kevin Laborda wrote:

> First, I use AVR Assembly.  The thing that confuses me is when initiliazing the vector table how do I "skip" the vectors I don't want.  Isn't the order important when listing the interrupts. Example code:
> 
>  .ORG 0000 ; Address is zero
>     RJMP Start ; The reset-vector on Address 0000
>     RJMP IService ; 0001: first Int-Vector, INT0 service routine
> [...] here other vectors 
> 
> if I don't want the interrupt at the 000x location do I use reti? 
> From tn13def.inc:
> 
> ;**** Interrupt Vectors ****  
> .equ INT0addr      =$001 ;External Interrupt0
> .equ PCINT0addr    =$002 ;Pin Change Interrupt0
> .equ TIM0_OVF0addr      =$003 ;Overflow0 Interrupt 
> .equ EE_RDYaddr      =$004 ;EEPROM write complete
> .equ ANA_COMPaddr =$005 ;Analog Comparator Interrupt 
> .equ TIM0_COMPAaddr      =$006 ;Timer/Counter0 Compare Match A  
> .equ TIM0_COMPBaddr    =$007 ;Timer/Counter0 Compare Match B  
> .equ WDTaddr       =$008 ;Watchdog Timeout
> .equ    ADCaddr      =$009 ;ADC Conversion Complete Handle
> 
> So, after Reset ($000?), I'd have the INT0addr followed by PCINT0addr etc.  If I only want reset then the Overflow0 Interrupt would I do
> 
> .ORG 0000
>   RJMP Reset
>   RETI
>   RJMP Timer
>   RETI
>   RETI
>   RETI
>   RETI
>   RETI 
> 
> followed by initializing the stack and timer/prescaler in the Reset label code section?
> 

You can do it that way, but I assume if I am not planning on using a given 
interrupt, it doesn't matter what is in that vector location.  It hasn't 
gotten me into troble yet (fingers crossed!).  What I usually do is:

 .ORG 0000
   RJMP Reset
 .ORG 0003  
   RJMP Timer
 .ORG 0009
   RJMP ADCSVC

That way I only write code for the interrupts I'm using.


> Also would the following work for generic stack initialization (for what I need)?
> 
> .def TEMP = r16
> [...]
> Reset:
> ldi TEMP,low(RAMEND) ; Set stackptr to ram end
> out SPL,TEMP
> ldi  TEMP, high(RAMEND)
> out  SPH, TEMP
> [ Timer0 initialization]
> sei
> 
> or does the ATtiny13 require something else?
> 
> Thanks,
> 
> Kevin

Not sure about the ATtiny13 as I haven't used that one yet, but it should 
work with ATmega8, ATmega16, etc.

Zack

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by Thomas Keller

On Fri, 2005-08-05 at 09:55 -0500, Zack Widup wrote:
> You can do it that way, but I assume if I am not planning on using a
> given interrupt, it doesn't matter what is in that vector location.
> It hasn't gotten me into troble yet (fingers crossed!).  What I
> usually do is:
> .ORG 0000
>    RJMP Reset
> .ORG 0003  
>    RJMP Timer
> .ORG 0009
>    RJMP ADCSVC

[extraneous text deleted for brevity]

Zack:

   While this will work, and deos save a small amount of typing, it
would not fall into the categpry of "recommended coding practices," at
least., not in MY book.  *grin*

   The reason being that while you may not EXPECT certain interrupts to
occur, they can, and sometimes will occur.  By having an explicity RETI
for each possible interrupt vector, you avoid the complications of
unpredictable execution of interrupt handling routines.

  As for the typing, there is a very simple solution:   create a
"skeleton" interrupt vector table in a text file, name it something like
"i_vectors.inc" and simply use your text editor to read it into the
appropriate location in your program source file (or even use
the .include directive).   I personally prefer to explicitly read the
skeleton routeins into my source file, so that the code they contain
appears in my source listings, but that is a matter of personal
preference, and there is little to argue that either approach is
functionally superior.

   If you work with multiple different AVR chips, with differing
interrupt tables, you can just create such a file for each chip, and add
the chip name to the file name (e.g., 8515_i_vectors.inc).

   Another approach is to have an include file for each chip type with
which you workm that includes not only the interrupt tabl;e skeleton,
bnut the register name definitions, and any other "standard" equates and
defeins, macros, etc., that you tend to use in all  programs.  (As most
of the AVR C compilers offer for each chip type).

  FInally, not to put too fine a point on it, but I HIGHLY recommend
massive, verbose commentary in source code.  Indeed, my source code
files are often 60% or more comments, as opposed tothe code content.
There are several reasons for this.  For one thing, you cannot expect to
remmeber what it was you were thinking when you wrote a specific piece
of code, when reviewing it years (or evenm months) later.  Also, if you
are planning to share your code, the more complete and detailed the
commentary, the easier it wil be for others to understand what you ahve
written.  This issue of commentary applies espeically to header/include
files such as I discuss above.  Do not assume that becase a line reads:

.EQU	PWM_CONTROL	0x36

  That everyone will understand that hex 0x36 is the address of the PWM
control register.  Include a comment to that effect:

.EQU	PWM_CONTRAL	0x36		; PWM Control register I/O addy

  Itis more typing, yes, but it makes it absolutely clear what the line
means.  No room for misinterpretation.

  OK...lecture mode off  (sorry, I am a frustrated teahcer/wannabe)

Tom Keller
aka avrFreak

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by Kathy Quinlan

Dennis Clark wrote:
>    I've written for the Tiny12, not the 13 and I too simply .ORG at the 
> address that I'm putting the ISR jump.  After all, you are the one 
> setting the IRQ bits, so you know exactly what is happening.  It is true 
> that "good" practice would be to put reti instructions there, or even a 
> jump to a generic "do nothing" ISR, but the code that I've written 
> hasn't run afoul of "rogue IRQs" yet... (knock on wood)
> 
> DLC

After a MAJOR run in with a project doing really strange things, I now 
redirect ALL my non used Interrupts to a routine that (if I have a spare 
pin) flashes a LED for ever (until next reset) so I know if I am hitting 
a problem.

Regards,

Kat.

AVR Chat chat

2005-08-05 by Thomas Keller

I don't know how many of you are familiar with IRC (Internet Relay
Chat).  I am a heavy IRC user (indeed, 11 years ago I met the woman who
is now my wife on an IRC channel).   Anyhooo:


   I am seriously considering starting an IRC channel devoted to AVR use
and users.  This channel would be on the IRC network known as efNet
(probably...Thereis one alternative I am considering).  I need to
download an eggdrop bot source and modify it to support the channel, and
ind a host for it.  once that is done, channel #avrFreaks will be a
reality.

  I am looking for feedback on whether you folks would participate in
such a project.   Realtime chats offer a much richer environment for
seeking and offering technical assistance than mail lists (not that
maillists don't serve a useful and essential service, they do).  Also,
there is, or can be, a deeper social interaction, which creates a
stronger sense of community, which I think is worthwhile.

   Indeed, I am seriously considering (subject tot he opinions of you,
the participants, of course) seeking support for the IRC avrFreaks
project from Atmel.  Perhaps asking them if they would provide the
hosting for the bot (a bot is a small program that logs into a channel,
and poses as a user.  It is usually "opped" (designated as a channel
operator) so that it has control over what is happenigm on channel.  It
can be programmed to enforce channel ruls, to preotect the channel from
unpleasant take-over attempts, etc., etc., as well as offering online
"Information and Referral" services, such as access to lists of hardware
and software resources, vendors of Atmeal and related components, etc.,
etc.).  As I envision it, this support would consist solely of providing
the miniaml storage resources (I cannot believe that the bot and its
related files would take more than, say, 50 MBytes of storage space) and
the minimal CPU power for the bot program to be excuting, and, of
course, a very small quantity of their Internet bandwidth.  All i nall,
a very small cost to Atmel, for a fairly large return in public
relations.

  In any case, I am seekign comments, suggestions, and yes, even flames,
over this proposal.  Please let me know what you think.  Thanks in
advance.

Tom

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by Zack Widup

On Fri, 5 Aug 2005, Thomas Keller wrote:

> On Fri, 2005-08-05 at 09:55 -0500, Zack Widup wrote:
> > You can do it that way, but I assume if I am not planning on using a
> > given interrupt, it doesn't matter what is in that vector location.
> > It hasn't gotten me into troble yet (fingers crossed!).  What I
> > usually do is:
> > .ORG 0000
> >    RJMP Reset
> > .ORG 0003 
> >    RJMP Timer
> > .ORG 0009
> >    RJMP ADCSVC
> 
> [extraneous text deleted for brevity]
> 
> Zack:
> 
>    While this will work, and deos save a small amount of typing, it
> would not fall into the categpry of "recommended coding practices," at
> least., not in MY book.  *grin*
> 
>    The reason being that while you may not EXPECT certain interrupts to
> occur, they can, and sometimes will occur.  By having an explicity RETI
> for each possible interrupt vector, you avoid the complications of
> unpredictable execution of interrupt handling routines.
> 

Yes, as I mentioned I haven't had an interrupt mishap - YET.  But 
sometimes I do have strange things happen, especially when running the 
chip in the vicinity of hundreds of watts of RF.

I like Kat's idea of the flashing LED.  At least I'd know there was a 
problem!

> 
>   FInally, not to put too fine a point on it, but I HIGHLY recommend
> massive, verbose commentary in source code.  Indeed, my source code
> files are often 60% or more comments, as opposed tothe code content.
> There are several reasons for this.  For one thing, you cannot expect to
> remmeber what it was you were thinking when you wrote a specific piece
> of code, when reviewing it years (or evenm months) later.  Also, if you
> are planning to share your code, the more complete and detailed the
> commentary, the easier it wil be for others to understand what you ahve
> written.  This issue of commentary applies espeically to header/include
> files such as I discuss above.  Do not assume that becase a line reads:
> 

I tend to do that, too.  Not only is my memory not quite what it was when 
I was 25 (I myself will forget what I was doing with some code months or 
years ago), I realize someone else might be reading the code I wrote some 
day and will be trying to figure out what I did.

It seems I didn't have too much problem remembering things back in the 
days when I wrote Z80 code (my first microcontroller projects).  But, as 
they say - as you get older, the first thing to go is your memory and 
the second thing is ... hmm, I forget.

Zack

Re: [AVR-Chat] AVR Chat chat

2005-08-05 by Kathy Quinlan

Thomas Keller wrote:
>   I don't know how many of you are familiar with IRC (Internet Relay
> Chat).  I am a heavy IRC user (indeed, 11 years ago I met the woman who
> is now my wife on an IRC channel).   Anyhooo:
> 
> 
>    I am seriously considering starting an IRC channel devoted to AVR use
> and users.  This channel would be on the IRC network known as efNet
> (probably...Thereis one alternative I am considering).  I need to
> download an eggdrop bot source and modify it to support the channel, and
> ind a host for it.  once that is done, channel #avrFreaks will be a
> reality.

If it is possible I would prefer freenode ;) it is more of a tech IRC 
network and I found in the past I had less people crash my rooms looking 
for sex etc.

> 
>   I am looking for feedback on whether you folks would participate in
> such a project.   Realtime chats offer a much richer environment for
> seeking and offering technical assistance than mail lists (not that
> maillists don't serve a useful and essential service, they do).  Also,
> there is, or can be, a deeper social interaction, which creates a
> stronger sense of community, which I think is worthwhile.

If you signed up for yahoo through the web (ie not using the subscribe 
email address) you can access from the yahoo page for this group a chat 
room :)

> 
>    Indeed, I am seriously considering (subject tot he opinions of you,
> the participants, of course) seeking support for the IRC avrFreaks
> project from Atmel.  Perhaps asking them if they would provide the
> hosting for the bot (a bot is a small program that logs into a channel,
> and poses as a user.  It is usually "opped" (designated as a channel
> operator) so that it has control over what is happenigm on channel.  It
> can be programmed to enforce channel ruls, to preotect the channel from
> unpleasant take-over attempts, etc., etc., as well as offering online
> "Information and Referral" services, such as access to lists of hardware
> and software resources, vendors of Atmeal and related components, etc.,
> etc.).  As I envision it, this support would consist solely of providing
> the miniaml storage resources (I cannot believe that the bot and its
> related files would take more than, say, 50 MBytes of storage space) and
> the minimal CPU power for the bot program to be excuting, and, of
> course, a very small quantity of their Internet bandwidth.  All i nall,
> a very small cost to Atmel, for a fairly large return in public
> relations.

If it goes ahead, I can probably host the bot on my server, I have 
dynamic ADSL atm but am about to switch to static (with 8 ip's (not sure 
why but 8 is the smallest my ISP sublets)

> 
>   In any case, I am seekign comments, suggestions, and yes, even flames,
> over this proposal.  Please let me know what you think.  Thanks in
> advance.
> 
> Tom

Regards,

Kat.

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by Jim Wagner

The scheme suggested below is good, but I would use the
named aliases for the vector addresses. That way, when you
change processors, all that is automatically managed.

Jim


On Fri, 5 Aug 2005 09:55:40 -0500 (CDT)
 Zack Widup <w9sz@prairienet.org> wrote:
> 
> 
> 
> 
> On Thu, 4 Aug 2005, Kevin Laborda wrote:
> 
> > First, I use AVR Assembly.  The thing that
> confuses me is when initiliazing the vector table how do
> I "skip" the vectors I don't want.  Isn't
> the order important when listing the interrupts. Example
> code:
> > 
> >  .ORG 0000 ; Address is zero
> >     RJMP Start ; The
> reset-vector on Address 0000
> >     RJMP IService ; 0001: first
> Int-Vector, INT0 service routine
> > [...] here other vectors 
> > 
> > if I don't want the interrupt at the 000x location
> do I use reti? 
> > From tn13def.inc:
> > 
> > ;**** Interrupt Vectors ****  
> > .equ INT0addr      =$001
> ;External Interrupt0
> > .equ PCINT0addr    =$002 ;Pin Change
> Interrupt0
> > .equ TIM0_OVF0addr     
> =$003 ;Overflow0 Interrupt 
> > .equ EE_RDYaddr      =$004
> ;EEPROM write complete
> > .equ ANA_COMPaddr =$005 ;Analog Comparator Interrupt
> 
> > .equ TIM0_COMPAaddr     
> =$006 ;Timer/Counter0 Compare Match A  
> > .equ TIM0_COMPBaddr    =$007
> ;Timer/Counter0 Compare Match B  
> > .equ WDTaddr      
> =$008 ;Watchdog Timeout
> > .equ   
> ADCaddr      =$009 ;ADC
> Conversion Complete Handle
> > 
> > So, after Reset ($000?), I'd have the INT0addr
> followed by PCINT0addr etc.  If I only want reset
> then the Overflow0 Interrupt would I do
> > 
> > .ORG 0000
> >   RJMP Reset
> >   RETI
> >   RJMP Timer
> >   RETI
> >   RETI
> >   RETI
> >   RETI
> >   RETI 
> > 
> > followed by initializing the stack and
> timer/prescaler in the Reset label code section?
> > 
> 
> You can do it that way, but I assume if I am not planning
> on using a given 
> interrupt, it doesn't matter what is in that vector
> location.  It hasn't 
> gotten me into troble yet (fingers crossed!).  What
> I usually do is:
> 
>  .ORG 0000
>    RJMP Reset
>  .ORG 0003  
>    RJMP Timer
>  .ORG 0009
>    RJMP ADCSVC
> 
> That way I only write code for the interrupts I'm using.
> 
> 
> > Also would the following work for generic stack
> initialization (for what I need)?
> > 
> > .def TEMP = r16
> > [...]
> > Reset:
> > ldi TEMP,low(RAMEND) ; Set stackptr to ram end
> > out SPL,TEMP
> > ldi  TEMP, high(RAMEND)
> > out  SPH, TEMP
> > [ Timer0 initialization]
> > sei
> > 
> > or does the ATtiny13 require something else?
> > 
> > Thanks,
> > 
> > Kevin
> 
> Not sure about the ATtiny13 as I haven't used that one
> yet, but it should 
> work with ATmega8, ATmega16, etc.
> 
> Zack
> 
> 
> 
> 
>     
> 
> 
>   
>   
>     SPONSORED LINKS
>   
>           
>                   
>             
>         Atmel avr
>       
>                       
>         Microcontrollers
>       
>                       
>         Intel microprocessors
>       
>               
>                         
>             
>         Pic microcontrollers
>       
>                       
>         8085 microprocessor
>       
>                     
>            
>   
> 
> 
> 
> 
> 
> 
> 
>   
>   
>   YAHOO! GROUPS LINKS
> 
> 
> 
>    Visit your group "AVR-Chat" on the web. 
>    To unsubscribe from this group, send an email
> to: AVR-Chat-unsubscribe@yahoogroups.com 
>    Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service.
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 

---------------------------------------------------------------
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---------------------------------------------------------------

Re: [AVR-Chat] AVR Chat chat

2005-08-05 by Kevin Laborda

If I can get my linux server running, I could possibly try to host it. Not definitely sure right now though.
Show quoted textHide quoted text
----- Original Message -----
Sent: Friday, August 05, 2005 9:22 AM
Subject: [AVR-Chat] AVR Chat chat

I don't know how many of you are familiar with IRC (Internet Relay
Chat). I am a heavy IRC user (indeed, 11 years ago I met the woman who
is now my wife on an IRC channel). Anyhooo:


I am seriously considering starting an IRC channel devoted to AVR use
and users. This channel would be on the IRC network known as efNet
(probably...Thereis one alternative I am considering). I need to
download an eggdrop bot source and modify it to support the channel, and
ind a host for it. once that is done, channel #avrFreaks will be a
reality.

I am looking for feedback on whether you folks would participate in
such a project. Realtime chats offer a much richer environment for
seeking and offering technical assistance than mail lists (not that
maillists don't serve a useful and essential service, they do). Also,
there is, or can be, a deeper social interaction, which creates a
stronger sense of community, which I think is worthwhile.

Indeed, I am seriously considering (subject tot he opinions of you,
the participants, of course) seeking support for the IRC avrFreaks
project from Atmel. Perhaps asking them if they would provide the
hosting for the bot (a bot is a small program that logs into a channel,
and poses as a user. It is usually "opped" (designated as a channel
operator) so that it has control over what is happenigm on channel. It
can be programmed to enforce channel ruls, to preotect the channel from
unpleasant take-over attempts, etc., etc., as well as offering online
"Information and Referral" services, such as access to lists of hardware
and software resources, vendors of Atmeal and related components, etc.,
etc.). As I envision it, this support would consist solely of providing
the miniaml storage resources (I cannot believe that the bot and its
related files would take more than, say, 50 MBytes of storage space) and
the minimal CPU power for the bot program to be excuting, and, of
course, a very small quantity of their Internet bandwidth. All i nall,
a very small cost to Atmel, for a fairly large return in public
relations.

In any case, I am seekign comments, suggestions, and yes, even flames,
over this proposal. Please let me know what you think. Thanks in
advance.

Tom


Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by Dennis Clark

I've written for the Tiny12, not the 13 and I too simply .ORG at the 
address that I'm putting the ISR jump.  After all, you are the one 
setting the IRQ bits, so you know exactly what is happening.  It is true 
that "good" practice would be to put reti instructions there, or even a 
jump to a generic "do nothing" ISR, but the code that I've written 
hasn't run afoul of "rogue IRQs" yet... (knock on wood)

DLC

Zack Widup wrote:
> On Thu, 4 Aug 2005, Kevin Laborda wrote:
> 
> 
>>First, I use AVR Assembly.  The thing that confuses me is when initiliazing the vector table how do I "skip" the vectors I don't want.  Isn't the order important when listing the interrupts. Example code:
>>
>> .ORG 0000 ; Address is zero
>>    RJMP Start ; The reset-vector on Address 0000
>>    RJMP IService ; 0001: first Int-Vector, INT0 service routine
>>[...] here other vectors 
>>
>>if I don't want the interrupt at the 000x location do I use reti? 
>>From tn13def.inc:
>>
>>;**** Interrupt Vectors ****  
>>.equ INT0addr      =$001 ;External Interrupt0
>>.equ PCINT0addr    =$002 ;Pin Change Interrupt0
>>.equ TIM0_OVF0addr      =$003 ;Overflow0 Interrupt 
>>.equ EE_RDYaddr      =$004 ;EEPROM write complete
>>.equ ANA_COMPaddr =$005 ;Analog Comparator Interrupt 
>>.equ TIM0_COMPAaddr      =$006 ;Timer/Counter0 Compare Match A  
>>.equ TIM0_COMPBaddr    =$007 ;Timer/Counter0 Compare Match B  
>>.equ WDTaddr       =$008 ;Watchdog Timeout
>>.equ    ADCaddr      =$009 ;ADC Conversion Complete Handle
>>
>>So, after Reset ($000?), I'd have the INT0addr followed by PCINT0addr etc.  If I only want reset then the Overflow0 Interrupt would I do
>>
>>.ORG 0000
>>  RJMP Reset
>>  RETI
>>  RJMP Timer
>>  RETI
>>  RETI
>>  RETI
>>  RETI
>>  RETI 
>>
>>followed by initializing the stack and timer/prescaler in the Reset label code section?
>>
> 
> 
> You can do it that way, but I assume if I am not planning on using a given 
> interrupt, it doesn't matter what is in that vector location.  It hasn't 
> gotten me into troble yet (fingers crossed!).  What I usually do is:
> 
>  .ORG 0000
>    RJMP Reset
>  .ORG 0003  
>    RJMP Timer
>  .ORG 0009
>    RJMP ADCSVC
> 
> That way I only write code for the interrupts I'm using.
> 
> 
> 
>>Also would the following work for generic stack initialization (for what I need)?
>>
>>.def TEMP = r16
>>[...]
>>Reset:
>>ldi TEMP,low(RAMEND) ; Set stackptr to ram end
>>out SPL,TEMP
>>ldi  TEMP, high(RAMEND)
>>out  SPH, TEMP
>>[ Timer0 initialization]
>>sei
>>
>>or does the ATtiny13 require something else?
>>
>>Thanks,
>>
>>Kevin
> 
> 
> Not sure about the ATtiny13 as I haven't used that one yet, but it should 
> work with ATmega8, ATmega16, etc.
> 
> Zack
> 

-- 
---------------------------------------
Dennis Clark    TTT Enterprises
---------------------------------------

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by Kathy Quinlan

Jim Wagner wrote:
> The scheme suggested below is good, but I would use the
> named aliases for the vector addresses. That way, when you
> change processors, all that is automatically managed.
> 
> Jim

WARNING

ALL is not AUTOMATICALLY managed, Atmel in their infinite wisdom has 
named parts with 2 serial ports Uart1 and Uart2 while single serial port 
devices are just Uart, and some even have Usart instead, as always, RTFM 
, as it is VERY confusing and can cause problems :(

Regards,

Kat.

Re: [AVR-Chat] AVR Chat chat

2005-08-05 by Ralph Hilton

On Fri, 05 Aug 2005 10:22:02 -0500 you wrote:

>  I don't know how many of you are familiar with IRC (Internet Relay
>Chat).  I am a heavy IRC user (indeed, 11 years ago I met the woman who
>is now my wife on an IRC channel).   Anyhooo:
>
>
>   I am seriously considering starting an IRC channel devoted to AVR use
>and users.  This channel would be on the IRC network known as efNet
>(probably...Thereis one alternative I am considering).  I need to
>download an eggdrop bot source and modify it to support the channel, and
>ind a host for it.  once that is done, channel #avrFreaks will be a
>reality.

Dalnet offers a chanserv facility which saves having your own bot running.

http://docs.dal.net/docs/chanserv.html


--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Re: [AVR-Chat] AVR Chat chat

2005-08-05 by John Samperi

At 01:22 AM 6/08/2005, you wrote:
>I am a heavy IRC user (indeed, 11 years ago I met the woman who
>is now my wife on an IRC channel).

You see, you end up paying for you sins! :-)



Regards

John Samperi

******************************************************
                         Ampertronics Pty. Ltd.
   11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
          Tel. (02) 9674-6495       Fax (02) 9674-8745
                Email: samperi@ampertronics.com.au
                  Website  http://www.ampertronics.com.au
* Electronic Design   * Custom Products   * Contract Assembly
******************************************************

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by John Samperi

At 01:11 AM 6/08/2005, you wrote:
>create a
>"skeleton" interrupt vector table in a text file, name it something like
>"i_vectors.inc"

I thought I was the only clever person around! :-)
I have tables for each type of processor I use and then
.include it . I simply copy it from the PDF so that I
don't mess up as some larger processor use JMP instead of
RJMP.

The same thing for the interrupt service routines. I then
copy the skeleton file into the project folder and modify
it accordingly.

Regards

John Samperi

******************************************************
                         Ampertronics Pty. Ltd.
   11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
          Tel. (02) 9674-6495       Fax (02) 9674-8745
                Email: samperi@ampertronics.com.au
                  Website  http://www.ampertronics.com.au
* Electronic Design   * Custom Products   * Contract Assembly
******************************************************

Re: [AVR-Chat] AVR Chat chat

2005-08-05 by David Kelly

On Fri, Aug 05, 2005 at 09:57:05AM -0600, Kevin Laborda wrote:
> <NOTICE TO ALL USERS, Please cut out non needed text, as we are
> receiving complaints, Regards Kat (List Mom)>

Top-posting replies breeds bad habits such as failure-to-trim.

And while we are at it, do not reply to a message in one thread to
create another. "AVR Chat chat" was forked in the middle of "Help
with using interrupts..." Create a new message, no matter how much work
it is to type the list email address, no matter how easy it is to Reply
and change Subject line.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

new AVR IRC channel

2005-08-05 by alan_probandt

If a new AVR internet channel comes to be, please include some 
description file that would explain the process to the new users.  I 
can more or less handle an AVR, but Use-Net and IRC News Groups have 
completely excaped me.

Re: [AVR-Chat] new AVR IRC channel

2005-08-05 by Ralph Hilton

On Fri, 05 Aug 2005 20:42:02 -0000 you wrote:

>  If a new AVR internet channel comes to be, please include some 
>description file that would explain the process to the new users.  I 
>can more or less handle an AVR, but Use-Net and IRC News Groups have 
>completely excaped me.

The first thing needed is an IRC client. There is a good one at 
http://www.mirc.co.uk/

That web site has files which give an intro to IRC. For users its very simple with only a few
commands needed. Channel ops need a few more commands to keep the place clear of spam etc.

I set up a test channel on Dalnet called #avrtest to play on if anyone wants to try things out.
--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Re: [AVR-Chat] AVR Chat chat

2005-08-05 by Thomas Keller

On Fri, 2005-08-05 at 18:38 +0200, Ralph Hilton wrote:
> On Fri, 05 Aug 2005 10:22:02 -0500 you wrote:
> 
> >  I don't know how many of you are familiar with IRC (Internet Relay
> >  I need to download an eggdrop bot source and modify it to support >
> > the channel, and find a host for it.  once that is done, > > > >
> channel#avrFreaks will be a reality
> Dalnet offers a chanserv facility which saves having your own bot
> running.

  Yes, I know, and DalNet was the alternative I am considering.  The
downside to the ChanServ on Dalnet is that it doesn't offer the other
services, not related to channel security.

Tom

Re: [AVR-Chat] Help with using interrupts and ATtiny13.

2005-08-05 by Thomas Keller

On Sat, 2005-08-06 at 00:08 +0800, Kathy Quinlan wrote:
> Jim Wagner wrote:
> > The scheme suggested below is good, but I would use the
> > named aliases for the vector addresses. That way, when you
> > change processors, all that is automatically managed.
> ALL is not AUTOMATICALLY managed, Atmel in their infinite wisdom has 
> named parts with 2 serial ports Uart1 and Uart2 while single serial
> port devices are just Uart, and some even have Usart instead, as
> always, RTFM , as it is VERY confusing and can cause problems :(

  Yes, always RTFM.

  As for the difference between labelling as UART and USART, keep in
mind that a USART is *NOTY* the same thing as a UART.

  A "UART" is a Universal Asynchronus Receiver Transmitter, whereas a
USART is a Universal Synchronus/Asychronus Receiver Transmitter.
Different (tholught similar) functions.  A USART can do anything a UART
can do, bnut NOT vice-versa!

Tom

Re: [AVR-Chat] AVR Chat chat

2005-08-05 by Michael Haisley

Tom, have you looked at freenode? there is already a large tech
userbase (almost all tech), ip masking, and a good electronics group
(#electronics, #pic)

-
Mike
Show quoted textHide quoted text
On 8/5/05, Thomas Keller <tkeller1@neb.rr.com> wrote:
>  On Fri, 2005-08-05 at 18:38 +0200, Ralph Hilton wrote:
>  > On Fri, 05 Aug 2005 10:22:02 -0500 you wrote:
>  > 
>  > >  I don't know how many of you are familiar with IRC (Internet Relay
>  > >  I need to download an eggdrop bot source and modify it to support >
>  > > the channel, and find a host for it.  once that is done, > > > >
>  > channel#avrFreaks will be a reality
>  > Dalnet offers a chanserv facility which saves having your own bot
>  > running.
>  
>    Yes, I know, and DalNet was the alternative I am considering.  The
>  downside to the ChanServ on Dalnet is that it doesn't offer the other
>  services, not related to channel security.
>  
>  Tom
>  
>  
>  
>  
>  ________________________________
>  YAHOO! GROUPS LINKS 
>  
>  
>  Visit your group "AVR-Chat" on the web.
>   
>  To unsubscribe from this group, send an email to:
>  AVR-Chat-unsubscribe@yahoogroups.com
>   
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
>  
>  ________________________________
>

Re: [AVR-Chat] new AVR IRC channel

2005-08-05 by Thomas Keller

On Fri, 2005-08-05 at 15:56 -0700, Dennis Clark wrote:
> alan_probandt wrote:
> >   If a new AVR internet channel comes to be, please include some 
> > description file that would explain the process to the new users.  I
> can more or less handle an AVR, but Use-Net and IRC News Groups have 
> > completely excaped me.
> Hopefully it won't come to be.  I've found IRC software to be cranky
> and primitive - Very "1980's" IMO.  I rather prefer this format
> myself.

  A simple solution:  don't participate.  I am offering a parallel
service, not an alternative to this mailing list.  I find that direct,
realtime interaction is sometimes more satisfying than email exhanges.
It is toward that experience that my project is aimed.  No interest in
"competing" with this, or any other forum.

tom

Re: [AVR-Chat] new AVR IRC channel

2005-08-05 by Dennis Clark

alan_probandt wrote:
>   If a new AVR internet channel comes to be, please include some 
> description file that would explain the process to the new users.  I 
> can more or less handle an AVR, but Use-Net and IRC News Groups have 
> completely excaped me.

Hopefully it won't come to be.  I've found IRC software to be cranky and 
primitive - Very "1980's" IMO.  I rather prefer this format myself.

DLC
-- 
---------------------------------------
Dennis Clark    TTT Enterprises
---------------------------------------

Re: [AVR-Chat] new AVR IRC channel

2005-08-05 by Dennis Clark

Thomas Keller wrote:
> On Fri, 2005-08-05 at 15:56 -0700, Dennis Clark wrote:
> 
>>alan_probandt wrote:
>>
>>>  If a new AVR internet channel comes to be, please include some 
>>>description file that would explain the process to the new users.  I
>>
>>can more or less handle an AVR, but Use-Net and IRC News Groups have 
>>
>>>completely excaped me.
>>
>>Hopefully it won't come to be.  I've found IRC software to be cranky
>>and primitive - Very "1980's" IMO.  I rather prefer this format
>>myself.
> 
> 
>   A simple solution:  don't participate.  I am offering a parallel
> service, not an alternative to this mailing list.  I find that direct,
> realtime interaction is sometimes more satisfying than email exhanges.
> It is toward that experience that my project is aimed.  No interest in
> "competing" with this, or any other forum.
> 
> tom

Fair enough.

DLC
-- 
---------------------------------------
Dennis Clark    TTT Enterprises
---------------------------------------

Re: new AVR IRC channel

2005-08-05 by klassasin

> I understand what you are saying, but the major down side to this is
that the 
> rest of the community fail to benefit from the running log that is
produced by 
> email.  A lot of problems for a lot of people are solved by watching
the 
> transactions of another person having the same issue.

If a IRC channel is started then someone could have an eggdrop bot who
logs all of the typed text.  Then have the bot put the log on the web.
 It wouldn't be too hard actually.

Re: [AVR-Chat] new AVR IRC channel

2005-08-06 by Don Ingram

>   A simple solution:  don't participate.  I am offering a parallel
> service, not an alternative to this mailing list.  I find that direct,
> realtime interaction is sometimes more satisfying than email exhanges.
> It is toward that experience that my project is aimed.  No interest in
> "competing" with this, or any other forum.

I understand what you are saying, but the major down side to this is that the 
rest of the community fail to benefit from the running log that is produced by 
email.  A lot of problems for a lot of people are solved by watching the 
transactions of another person having the same issue.

Cheers

Don

Re: new AVR IRC channel

2005-08-06 by fjch100

Hi,
I just download the micro$oft chat 2.5 and it bring a connection 
with dalnet. I try to connect but it don't let me !!!

what is the conficuration, or what I need to do to try this IRC ???




--- In AVR-Chat@yahoogroups.com, Ralph Hilton <ralph@r...> wrote:
> On Fri, 05 Aug 2005 20:42:02 -0000 you wrote:
> 
> >  If a new AVR internet channel comes to be, please include some 
> >description file that would explain the process to the new 
users.  I 
> >can more or less handle an AVR, but Use-Net and IRC News Groups 
have 
> >completely excaped me.
> 
> The first thing needed is an IRC client. There is a good one at 
> http://www.mirc.co.uk/
> 
> That web site has files which give an intro to IRC. For users its 
very simple with only a few
> commands needed. Channel ops need a few more commands to keep the 
place clear of spam etc.
> 
> I set up a test channel on Dalnet called #avrtest to play on if 
anyone wants to try things out.
Show quoted textHide quoted text
> --
> Ralph Hilton
> http://www.ralphhilton.org
> C-Meter: http://www.cmeter.org
> FZAOINT http://www.fzaoint.net

Re: [AVR-Chat] Re: new AVR IRC channel

2005-08-06 by Ralph Hilton

On Sat, 06 Aug 2005 14:37:09 -0000 you wrote:

>Hi,
>I just download the micro$oft chat 2.5 and it bring a connection 
>with dalnet. I try to connect but it don't let me !!!
>
>what is the conficuration, or what I need to do to try this IRC ???

Try dragons.ca.us.dal.net as the server

If that doesn't let you on then there is a full list of servers at
http://www.dal.net/servers/index.php3


--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Re: [AVR-Chat] new AVR IRC channel

2005-08-06 by Thomas Keller

On Sat, 2005-08-06 at 11:03 +1000, Don Ingram wrote:
> 
> >   A simple solution:  don't participate.  I am offering a parallel
> > service, not an alternative to this mailing list.  I find that
> direct, realtime interaction is sometimes more satisfying than email
> exhanges. It is toward that experience that my project is aimed.  No
> interest in "competing" with this, or any other forum.
> 
> I understand what you are saying, but the major down side to this is
> that the rest of the community fail to benefit from the running log
> that is produced by email.  A lot of problems for a lot of people are
> solved by watching the transactions of another person having the same
> issue.

  Granted, and point taken.

  Never the less, there are advantages to a realtiome chat environment
which are inarguable, and worth having available.  one would hope that
ifg a solution is developed during such conversations, it might be
mentioned on the mailing list, byt at least one participant (most
probably the person for whom a problem is resolved).

  As I say, there are also social benefits that simply do not accrue to
a mailing list environment.  It is much easier to become "friends" via
chat than via email.

  I am somewhat surprised at the amount of negative response (though I
did ask for it).  I wonder if perhaps an informal "vote" isn't in order?

Tom

Re: [AVR-Chat] new AVR IRC channel

2005-08-06 by Mike Darling

On 8/6/05 12:44 PM, "Thomas Keller" <tkeller1@neb.rr.com> wrote:

>   I am somewhat surprised at the amount of negative response (though I
> did ask for it).  I wonder if perhaps an informal "vote" isn't in order?

It's been a while for me, but as I remember it's not a big deal to set up an
IRC channel. Get it running, see if people use it. IF it's popular, it will
survive, and then it can be made into a 'pretty' service with all the bells
& whistles. I wouldn't go all out until it proved to be useful to the group.

-mike

Re: [AVR-Chat] new AVR IRC channel

2005-08-07 by Don Jackson

Thomas Keller wrote:

>   I am somewhat surprised at the amount of negative response (though I
> did ask for it).  I wonder if perhaps an informal "vote" isn't in order?
> 
> Tom
>

You asked for a vote: I vote NO.  I don't have time to monitor an IRC
channel, but I do have (make) time to read this reflector and I greatly
benefit from some of the postings.  As human nature goes, I'm afraid
that topics discussed and problems solved via chat will not be
documented here on the reflector.

I have not problem with you starting a chat, but just hope it does not
detract from this forum.

Don

Re: [AVR-Chat] new AVR IRC channel

2005-08-07 by Don Ingram

>   Granted, and point taken.
> 
>   Never the less, there are advantages to a realtiome chat environment
> which are inarguable, and worth having available.  one would hope that
> ifg a solution is developed during such conversations, it might be
> mentioned on the mailing list, byt at least one participant (most
> probably the person for whom a problem is resolved).
> 
>   As I say, there are also social benefits that simply do not accrue to
> a mailing list environment.  It is much easier to become "friends" via
> chat than via email.
> 
>   I am somewhat surprised at the amount of negative response (though I
> did ask for it).  I wonder if perhaps an informal "vote" isn't in order?
> 
> Tom
> 

Tom,

Think of it being friendly & constructive more so than simply negative as that 
is the intent.

I accept your point that a rolling conversation on IM is likely to build 
friendships. That is great. But I am also aware of how much good information has 
slipped thru the cracks over the years by simple issues such as poorly targeted 
subject lines on emails.

Lists such as this are a valuable resource & form a beneficial archive of 
knowledge. When done correctly, emails distil a conversation to it's essentials, 
people have time to contemplate a reply & edit if necessary.  Merely copying 
chat to the list will produce reams of banter which conceals the valuable data 
contained therein. Not to mention peoples tendency to speak in mangled 
shorthand, which is at best just bloody irritating, but then I'm becoming a 
grumpy old fart that is starting to sound chillingly similar to my parents ;-)

At the end of the day you are free to do whatever you like. The point that I and 
others are making is to be aware of the resultant costs as well as the perceived 
benefits.

Cheers

Don

RE: [AVR-Chat] new AVR IRC channel

2005-08-07 by Doug Locke

You too, is this then a general condition, or other than snuffing it early is there a way to avoid such a fate!
On a serious note, the chat idea would not be something that I would have enough time for, the email format is also excellent for referemce.
Doug
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On Behalf Of Don Ingram
Sent: 07 August 2005 05:38
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] new AVR IRC channel

- - - - - - - - - -snip - - - - -
but then I'm becoming a
grumpy old fart that is starting to sound chillingly similar to my parents ;-)
Don

- - - - - - - - - - snip - - - - - - -

Re: [AVR-Chat] new AVR IRC channel

2005-08-07 by Thomas Keller

On Sun, 2005-08-07 at 14:37 +1000, Don Ingram wrote:
> >   I am somewhat surprised at the amount of negative response (though
> > I did ask for it).  I wonder if perhaps an informal "vote" isn't in
> > order?

> Think of it being friendly & constructive more so than simply negative
> as that is the intent.

  Of course.  I meant "negative" in terms of the imolementation, not the
intent of the commentary.  *grin*

> I accept your point that a rolling conversation on IM is likely to
> build friendships. That is great. But I am also aware of how much good
> information has slipped thru the cracks over the years by simple
> issues such as poorly targeted subject lines on emails.

   Or emails where the good information is buried in hundreds of lines
of extraneous text that no one has bothered to edit out.

> Lists such as this are a valuable resource & form a beneficial archive
> of knowledge. When done correctly, emails distil a conversation to
> it's essentials, people have time to contemplate a reply & edit if
> necessary. 

   Agreed, for highly detailed information in poarticular, the mailing
list is a superior source/resource.

>  Merely copying chat to the list will produce reams of banter which
> conceals the valuable data contained therein.

   Oh,Great Ghu!   I wasn't suggesting that chat logs be posted to the
mailing list!  What a horrid idea!  No, no, I meant that the ideas
gleaned couldbe shared on the list, not the actual conversations.  That
would be a terrible waste of bandwidth and people's patience.

> At the end of the day you are free to do whatever you like. The point
> that I and others are making is to be aware of the resultant costs as
> well as the perceived benefits.

  Of course.  That is the nature of the Internet.  My reason for asking,
however, was to see if it is worht persuing, since if the majority of
folks here and on similar lists won't be participating, it is pretty
much a waste of my time.   

  I participate on a chat channel on eFnet named #nop, which is
dedicated to discussion of embedded controllers of all kinds.  The ideas
and information that come from that are truly amazing.  There can be a
synergy when a few fertile minds start bantering on technical issues
that is beyond belief.  As a result of that time you so very rightly
point out that people often take when responding to emails, that synergy
seldom occurs on email lists, in my experience (and I have been working
on and with email lists for abut 25-30 years now).

  It was just a thought.  Apparently not very many people are
interested.  Sad.

Tom

Re: [AVR-Chat] new AVR IRC channel

2005-08-07 by Johnathan Corgan

> It was just a thought.  Apparently not very many people are
> interested.  Sad.

Don't debate it.  Just do it.  Asking people's opinions will only create 
noise.

If you really want to know if people want an IRC channel, make one, let 
people know about it, and see who shows up.  Or doesn't.

People will like it, or not.  People will take advantage of it, or not. 
  If it's useful to enough people, it will "stick."  If not, it will 
eventually die.

-Johnathan

Re: [AVR-Chat] new AVR IRC channel

2005-08-07 by Ralph Hilton

On Sun, 07 Aug 2005 10:08:43 -0700 you wrote:

>> It was just a thought.  Apparently not very many people are
>> interested.  Sad.
>
>Don't debate it.  Just do it.  Asking people's opinions will only create 
>noise.
>
>If you really want to know if people want an IRC channel, make one, let 
>people know about it, and see who shows up.  Or doesn't.
>
>People will like it, or not.  People will take advantage of it, or not. 
>  If it's useful to enough people, it will "stick."  If not, it will 
>eventually die.

ok, I put up #avrfreaks on Dalnet. If Thomas wants to manage it then I'll turn it over to him as it
was his suggestion in the first place.

I'll stay on the channel for a while tonight (European) . It'll need a few people with some
understanding of IRC to man ops. Volunteers are welcome to join the channel and say hi.
--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Re: new AVR IRC channel

2005-08-13 by Stefan Wimmer

--- In AVR-Chat@yahoogroups.com, Thomas Keller <tkeller1@n...> wrote:
> 
>   Never the less, there are advantages to a realtiome chat environment
> which are inarguable, and worth having available.  one would hope that
> ifg a solution is developed during such conversations, it might be
> mentioned on the mailing list, byt at least one participant (most
> probably the person for whom a problem is resolved).


...and there are disadvantages:
IIRC nobody already mentioned the different time zones many of the 
participants of the mailing list live in. At times when I am able to 
connect to the IRC channel, probably no one of you would be near a 
computer...

Greetings from Germany,
Stefan

Re: [AVR-Chat] Re: new AVR IRC channel

2005-08-14 by Thomas Keller

On Sat, 2005-08-13 at 20:38 +0000, Stefan Wimmer wrote:
> ...and there are disadvantages:
> IIRC nobody already mentioned the different time zones many of the 
> participants of the mailing list live in. At times when I am able to 
> connect to the IRC channel, probably no one of you would be near a 
> computer...

  AH, yes.  It isn't perfect,so let;s just not bother with it at all.
great idea.


   I chat with people in german on IRC quite dfrquently, as a matter of
fact.

tom (getting disgusted, and sorry he ever even suggested anything)

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.