uracoli-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [uracoli-devel] Problems with Dresden RCB128RFA1 + RBB


From: Eduardo Aldaz Carroll
Subject: Re: [uracoli-devel] Problems with Dresden RCB128RFA1 + RBB
Date: Tue, 24 May 2011 11:12:38 +0200

Hi Axel

The example works perfectly with winavr-20100110, even without compiling from 
source and using the original examples, well spotted!
So the issue was that I was using winavr-20090313... maybe worth adding a note 
that that uracoli needs the latest version here?:
http://uracoli.nongnu.org/avrtools.html

It might be that it is indicated in the web somewhere, but I didn't spot it.

Thanks again for sorting it out !
Eduardo

-----Original Message-----
From: Axel Wachtler [mailto:address@hidden 
Sent: 23 May 2011 22:59
To: Eduardo Aldaz Carroll
Subject: Re: [uracoli-devel] Problems with Dresden RCB128RFA1 + RBB

Hi Eduardo, 

the SPI based transceivers have TRAC_SUCCESS and friends defined in there 
uracoli header files. Since for the RFA1, the transceiver is part of the 
MCU and therefore all registers and constants are defined in 

avr/include/avr/iom128rfa1.h:#define TRAC_SUCCESS                    0
avr/include/avr/iom128rfa1.h:#define TRAC_SUCCESS_DATA_PENDING       1
avr/include/avr/iom128rfa1.h:#define TRAC_SUCCESS_WAIT_FOR_ACK       2
avr/include/avr/iom128rfa1.h:#define TRAC_CHANNEL_ACCESS_FAILURE     3
avr/include/avr/iom128rfa1.h:#define TRAC_NO_ACK                     5
avr/include/avr/iom128rfa1.h:#define TRAC_INVALID                    7

I just compiled everything on WinXP having avr-gcc 4.3.3. coming 
from Erics WinAVR 20100110. I remember that earlier versions of the 
avr-libc did not come with the constants in the header, maybe you 
use an outdated version of WinAVR/avr-libc.

Regards, Axel




Am Montag, 23. Mai 2011 17:57:16 schrieb Eduardo Aldaz Carroll:
> For example TRAC_SUCCESS_DATA_PENDING is defined in at86rf212.h ,
> at86rf230b.h , at86rf231.h but not in atmega_rfa1.h  ...  could this be the
> issue?
>
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: 23 May 2011 16:53
> To: Eduardo Aldaz Carroll
> Subject: Re: RE: [uracoli-devel] Problems with Dresden RCB128RFA1 + RBB
>
> Hi Eduardo,
>
> muse231 is the board from Daniel, having humidity and accelleration
> sensor.
>
> Which version of WinAvr/avr-libc do you use ? TRAC_STATUS comes with
> avr-libc, are there eventually two WinAVRs installed, so that there is
> some path clash ? Tonight I can check it on my windows box
> (I'm a natural born Linux user ;-) CU Axel
>
> -------- Original-Nachricht --------
>
> > Datum: Mon, 23 May 2011 15:27:22 +0200
> > Von: "Eduardo Aldaz Carroll" <address@hidden>
> > An: "\'Axel Wachtler\'" <address@hidden>
> > Betreff: RE: [uracoli-devel] Problems with Dresden RCB128RFA1 + RBB
> >
> > Hi Axel
> >
> > I get this error, I think missing a path to an include somewhere?. What
> > is muse231, is that your weather station board?
> > Thanks
> > Eduardo
> >
> > F:\BOR\SailShape&Pressure\Firmware\uracoli-src-cvs20110522>make -C src
> > rbb128rfa
> > 1 muse231
> > make: Entering directory
> > `F:/BOR/SailShape&Pressure/Firmware/uracoli-src-cvs2011
> > 0522/src'
> > make BOARD=rbb128rfa1 MCU=atmega128rfa1 F_CPU=8000000UL obj ../lib
> > __libradio__
> > __libioutil__ __libwibohost__
> > make[1]: Entering directory
> > `F:/BOR/SailShape&Pressure/Firmware/uracoli-src-cvs2
> > 0110522/src'
> > make[1]: `obj' is up to date.
> > make[1]: `../lib' is up to date.
> > avr-gcc  -fno-inline -c -Wall -Wundef -Os -g -mmcu=atmega128rfa1
> > -Drbb128rfa1 -D
> > F_CPU=8000000UL -I../inc -I. -o obj/rbb128rfa1_radio_rfa.o -c
> > libradio/radio_rfa
> > .c
> > libradio/radio_rfa.c: In function '__vector_63':
> > libradio/radio_rfa.c:123: error: 'TRAC_SUCCESS' undeclared (first use in
> > this fu
> > nction)
> > libradio/radio_rfa.c:123: error: (Each undeclared identifier is reported
> > only on
> > ce
> > libradio/radio_rfa.c:123: error: for each function it appears in.)
> > libradio/radio_rfa.c:124: error: 'TRAC_SUCCESS_DATA_PENDING' undeclared
> > (first u
> > se in this function)
> > libradio/radio_rfa.c:125: error: 'TRAC_SUCCESS_WAIT_FOR_ACK' undeclared
> > (first u
> > se in this function)
> > libradio/radio_rfa.c:129: error: 'TRAC_CHANNEL_ACCESS_FAILURE' undeclared
> > (first
> >  use in this function)
> > libradio/radio_rfa.c:133: error: 'TRAC_NO_ACK' undeclared (first use in
> > this
> > fun
> > ction)
> > make[1]: *** [obj/rbb128rfa1_radio_rfa.o] Error 1
> > make[1]: Leaving directory
> > `F:/BOR/SailShape&Pressure/Firmware/uracoli-src-cvs20
> > 110522/src'
> > make: *** [rbb128rfa1] Error 2
> > make: Leaving directory
> > `F:/BOR/SailShape&Pressure/Firmware/uracoli-src-cvs20110
> > 522/src'
> >
> >
> > Thanks
> > Eduardo
> >
> > -----Original Message-----
> > From: Axel Wachtler [mailto:address@hidden
> > Sent: 22 May 2011 16:03
> > To: address@hidden
> > Cc: Eduardo Aldaz Carroll
> > Subject: Re: [uracoli-devel] Problems with Dresden RCB128RFA1 + RBB
> >
> > Hi Eduardo, returned just from holyday and found immediately my
> > rbb-light + RCB128RFA1 V6.3.1, compiled the head from scratch,
> > installed wuart_rbb128rfa1.hex and also xmpl_radio_range_rbb128rfa1.hex.
> > Both did run without any issues, the peer test station was Daniels
> > muse231,
> > so if it does not run at your site, maybe there is a hardware issue in
> > your setup.
> >
> > Best to check the serial connection is to run xmpl_hif_rbb128rfa1.hex
> > Here I saw that I could not enter letters into the terminal, this I
> > have to track down, but displaying strings from a test transmitter
> > running xmpl_radio_linbuf or xmpl_radio_range did work.
> >
> > Enjoy the sunday, Axel
> >
> > Am Freitag, 20. Mai 2011 12:51:52 schrieb Joerg Wunsch:
> > > As Eduardo Aldaz Carroll wrote:
> > > > Which is example in the xmpl/ directory is the wireless uart? I
> > > > would like to give it a try...
> > >
> > > Src/App/wuart.c
> >
> > --
> > ------------------------------------------------------------------
> > Axel Wachtler
> > Mail:        address@hidden
> > Fingerprint: FA2C 4FB1 AC18 5FA3 F4F1 1114 3F38 E0DF 8C3A DC95
> > Public Key:  http://www.keyserver.net
> > ------------------------------------------------------------------
> > Wer abnimmt, hat mehr vom Telefon.



-- 
------------------------------------------------------------------
Axel Wachtler
Mail:        address@hidden
Fingerprint: FA2C 4FB1 AC18 5FA3 F4F1 1114 3F38 E0DF 8C3A DC95
Public Key:  http://www.keyserver.net
------------------------------------------------------------------
Wer abnimmt, hat mehr vom Telefon.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]