RE: [Tinyos-help] repeating tests,no free memory

2006-10-05 Thread Siirtola Harri
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

RE: [Tinyos-help] repeating tests,no free memory

2006-10-04 Thread Munaretto, Daniel
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

RE: [Tinyos-help] repeating tests,no free memory

2006-10-04 Thread David Moss
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

Re: [Tinyos-help] repeating tests,no free memory

2006-10-04 Thread Michael Schippling
@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

RE: [Tinyos-help] repeating tests,no free memory

2006-10-04 Thread David Moss
'; 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

RE: [Tinyos-help] repeating tests,no free memory

2006-09-20 Thread Munaretto, Daniel
, right? Daniele -Original Message- From: Philip Levis [mailto:[EMAIL PROTECTED] Sent: Wed 9/20/2006 2:54 AM To: David Moss Cc: Munaretto, Daniel; tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] repeating tests,no free memory

RE: [Tinyos-help] repeating tests,no free memory

2006-09-20 Thread David Moss
Message- From: Munaretto, Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 1:38 AM To: Philip Levis; David Moss Cc: tinyos-help@Millennium.Berkeley.EDU Subject: RE: [Tinyos-help] repeating tests,no free memory Well, i'm thinking about..when i tested the FlashBridge interface, i

RE: [Tinyos-help] repeating tests,no free memory

2006-09-19 Thread Munaretto, Daniel
] Sent: Friday, September 15, 2006 9:02 AM To: David Moss; tinyos-help@Millennium.Berkeley.EDU Subject: RE: [Tinyos-help] repeating tests,no free memory Dear all, i tried to use TinyAlloc interface but the results are really

RE: [Tinyos-help] repeating tests,no free memory

2006-09-19 Thread David Moss
it, and the flash has to request access before using it, etc. -David -Original Message- From: Munaretto, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 8:52 AM To: David Moss; tinyos-help@Millennium.Berkeley.EDU Subject: RE: [Tinyos-help] repeating tests,no free memory

Re: [Tinyos-help] repeating tests,no free memory

2006-09-19 Thread Philip Levis
On Sep 19, 2006, at 3:17 PM, David Moss wrote: Are you accessing the Flash memory while using the radio? I believe I ran into some serious issues doing this with the MicaZ. The problem, I believe, is in the bus arbitration - because both the flash and the radio use the same SPI bus lines,

RE: [Tinyos-help] repeating tests,no free memory

2006-09-18 Thread Munaretto, Daniel
Cc: Subject: RE: [Tinyos-help] repeating tests,no free memory How much RAM is your program consuming at compile time? The MicaZ is notorious for running out of RAM just when you need it because it only has 4kB. If your global memory usage

RE: [Tinyos-help] repeating tests,no free memory

2006-09-18 Thread David Moss
- From: Munaretto, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 8:52 AM To: David Moss; tinyos-help@Millennium.Berkeley.EDU Subject: RE: [Tinyos-help] repeating tests,no free memory I'm using not so much RAM, at compile time is around 1700 bytes (it depends

RE: [Tinyos-help] repeating tests,no free memory

2006-09-15 Thread Munaretto, Daniel
- From: David Moss [mailto:[EMAIL PROTECTED] Sent: Mon 9/11/2006 7:56 PM To: Munaretto, Daniel; tinyos-help@Millennium.Berkeley.EDU Cc: Subject: RE: [Tinyos-help] repeating tests,no free memory Daniele, This was one thing I

[Tinyos-help] repeating tests,no free memory

2006-09-11 Thread Munaretto, Daniel
Dear all, i discover a really strange behavior in my application. I repeat more times my code, and after some experiments the motes break down. So there is a memory problem. But i'm sure i free all the memory i allocate during the code. I'm using only a buffer and i re-use it all the

Re: [Tinyos-help] repeating tests,no free memory

2006-09-11 Thread Michael Schippling
You need to return the same pointer that you get in receive(TOS_MsgPtr m), the system will recycle it. There isn't any way for you to free it yourself. Perhaps you can run your program under TOSSIM or something so your can trace memory usage to see if you've really got a leak. Otherwise you could

RE: [Tinyos-help] repeating tests,no free memory

2006-09-11 Thread David Moss
, 2006 1:51 AM To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] repeating tests,no free memory Dear all, i discover a really strange behavior in my application. I repeat more times my code, and after some experiments the motes break down. So there is a memory problem. But i'm

RE: [Tinyos-help] repeating tests,no free memory

2006-09-11 Thread David Moss
: Monday, September 11, 2006 10:56 AM To: 'Munaretto, Daniel'; tinyos-help@Millennium.Berkeley.EDU Subject: RE: [Tinyos-help] repeating tests,no free memory Daniele, This was one thing I noticed about the code I looked at but failed to warn against, because I didn't know any better until I read up