I found out why I was getting this error. It turns out that the hardware
timer that is used for microtimer happens to be the timer that is used
with the ZigBee radio on the MicaZ motes. Therefore to overcome this
error the microtimer code needs to be altered to use Timer3 instead of
Timer1. I just thought I would let people know as other people may have
encountered this error.

Thanks again for your help!
Regards,
Travis

-----Original Message-----
From: Philip Levis [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 5 July 2006 11:29 AM
To: Bessell, Travis
Cc: [email protected]
Subject: Re: [Tinyos-help] Error Message

On Jul 4, 2006, at 6:20 PM, Bessell, Travis wrote:

> Hello All,
>
> I am getting this error message and I have no idea why. I was 
> wondering if anyone else has had this error and if so could let me 
> know what I have done wrong.
>
> MicroTimerM.nc:127: redefiniton of '__vector_12'
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/micaz/HPLTimer1M.nc: 
> 170: previous declaration of '__vector_12'
>
> Thanks in advance for any help you can give me.
> Regards,

You've defined an interrupt handler twice (__vector_12 is an interrupt
handler). Both HPLTimer1M and MicroTimerM have defined the handler, and
so there are two functions with the same name.

Phil

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to