I'll second this, no problems with just UART1 and radio. I'd still like to have some arbitration between the UART1 and Flash components (this could remedy the problem you're observing, too). I've made a Bluetooth module which communicates through UART1, and if I try to use the flash simultaneously, there's definitely a conflict. I haven't had enough time to figure out how this could be sorted. Without that, UART1 won't work with flash.
Harri -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Moss Sent: Wednesday, October 04, 2006 8:02 PM To: 'Michael Schippling' Cc: tinyos-help@Millennium.Berkeley.EDU Subject: RE: [Tinyos-help] repeating tests,no free memory 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-01ACLE AN.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:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 9:52 AM To: David Moss Cc: 'Munaretto, Daniel'; tinyos-help@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:[EMAIL PROTECTED] > Sent: Wednesday, October 04, 2006 3:14 AM > To: David Moss > Cc: tinyos-help@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@Millennium.Berkeley.EDU > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel p _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel p _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help