atom feed33 messages in net.java.dev.spots.devRe: Re[6]: radio update
FromSent OnAttachments
Ron GoldmanMar 2, 2009 5:06 pm 
Eric ArseneauMar 2, 2009 6:09 pm 
Pete St. PierreMar 2, 2009 6:35 pm 
Eric ArseneauMar 2, 2009 8:00 pm 
John DanielsMar 2, 2009 11:43 pm 
Pete St. PierreMar 3, 2009 8:41 am 
Ron GoldmanMar 4, 2009 3:14 am 
John DanielsMar 4, 2009 7:12 am 
Markus BestehornMar 4, 2009 7:57 am 
Randy SmithMar 4, 2009 8:20 am 
John DanielsMar 4, 2009 8:51 am 
Arshan PoursohiMar 4, 2009 8:51 am 
Randy SmithMar 4, 2009 8:51 am 
John DanielsMar 4, 2009 9:16 am 
John DanielsMar 4, 2009 9:24 am 
Eric ArseneauMar 4, 2009 9:28 am 
Eric ArseneauMar 4, 2009 9:31 am 
Markus BestehornMar 4, 2009 10:03 am 
Robert TaylorMar 4, 2009 10:50 am 
John DanielsMar 4, 2009 11:24 am 
Ron GoldmanMar 4, 2009 11:27 am 
John DanielsMar 4, 2009 11:30 am 
John DanielsMar 4, 2009 11:37 am 
Eric ArseneauMar 4, 2009 11:38 am 
Eric ArseneauMar 4, 2009 11:39 am 
Dave ClealMar 4, 2009 12:22 pm 
Eric ArseneauMar 4, 2009 12:43 pm 
Randy SmithMar 4, 2009 3:43 pm 
John DanielsMar 4, 2009 10:54 pm 
John DanielsMar 5, 2009 8:16 am 
Markus BestehornMar 5, 2009 10:43 am 
Markus BestehornMar 6, 2009 9:19 am.jpg
Markus BestehornMar 11, 2009 6:26 am 
Subject:Re: Re[6]: radio update
From:Eric Arseneau (Eric@sun.com)
Date:Mar 4, 2009 12:43:27 pm
List:net.java.dev.spots.dev

On Mar 4, 2009, at 12:23 PM, Dave Cleal wrote:

One question I have, does USB enumeration only happen when we plug in the SPOT? Or does it also happen when the SPOT wakes from deep sleep, ie turn spot off and back on via the "bob" button? If only on physical plugging in of the SPOT, we may need to add the capability to force enumeration to occur, not sure this will be possible.

USB enumeration happens each time the ARM9 boots. Bear in mind that clicking the attention button (as opposed to holding it in) does not cause the ARM9 to reboot. If you hold it in the power controller normally turns off power to the ARM9; next time you click it power is restored and the ARM9 boots.

So this should be able to give me the behavior I was hoping for.

I know this keeps coming up, but how is this different than deep sleep? I apologize for bringing it up yet again. Deep sleep "keeps" software running, vs reset does a cold boot?

Eric,

The ARM processor is turned off in both cases, but in deep sleep, the RAM is still powered. Thus the RAM contents are preserved and the SPOT can carry on where it left off.

This goes against what I thought Del has told me in the past. That RAM is always powered?

When the powercontroller is queried on boot, it reports if coming back from deep sleep or cold boot situation.

The fact that enumaration occurs on ARM9 boot makes me confident that I will get what I need out of the bob button connection.

Because the ARM processor package, the radio chip and the sensor board are all turned off during deep sleep, their state must be copied into RAM before deep sleep starts and then restored after it ends. This is what the tearDown and setUp methods of the various system drivers do.