[Tinyos-help] repeating tests,no free memory
David Moss
dmm at rincon.com
Wed Oct 4 10:02:07 PDT 2006
I'm not sure what's going on here with the micaz schematics or how it's
implemented in software. I know on the mica2 schematics, the flash is
controlled by USART1 and the CC1000 is controlled by the SPI_xyz lines:
http://www.tinyos.net/hardware/design/ORCAD_FILES/MICA2/6310-0306-01ACLEAN.p
df
I assume the micaz is the same way - using PortB's SPI lines to control the
radio and PortD's USART1 to control the flash. If that's the case, then
they are two different ports and there shouldn't be a conflict with using
the flash and the radio at the same time.
Unless, of course, there's some low level component that enjoys starting
conflicts between the two. Which - this is TinyOS 1.x remember - could be a
plausible excuse.
-----Original Message-----
From: Michael Schippling [mailto:schip at santafe.edu]
Sent: Wednesday, October 04, 2006 9:52 AM
To: David Moss
Cc: 'Munaretto, Daniel'; tinyos-help at Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] repeating tests,no free memory
Isn't SPI implemented with USART1?
Or was I out behind the barn when they passed out?
MS
David Moss wrote:
> I think you're right - the flash is controlled by the UART not the SPI.
So
> I'm not sure why it crashes on the micaz sometimes. I have gotten packets
> to come in over the radio and write to flash, and data from flash to go
over
> the radio just fine on micaz's. Sounds like there's some other software
> issue going on here.
>
>
> -----Original Message-----
> From: Munaretto, Daniel [mailto:munaretto at docomolab-euro.com]
> Sent: Wednesday, October 04, 2006 3:14 AM
> To: David Moss
> Cc: tinyos-help at Millennium.Berkeley.EDU
> Subject: RE: [Tinyos-help] repeating tests,no free memory
>
>
> Hi David,
> i would like to ask you a question: do you know if the way FlashBridge
> gets access to the flash, is controlled by SPI interface or UART1
interface
> (ATmega128)?
> because normally the external flash is controlled by UART1 interface of
the
> ATmega128 processor (in this case there are not bus conflicts between
flash
> and radio) and the radio in micaZ is controlled by SPI interface.
>
> thanks for your help,
> cheers
> Daniele
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list