[Tinyos Core WG] HW initializers in bootsequence
Philip Levis
pal at cs.stanford.edu
Mon Nov 27 17:15:50 PST 2006
On Nov 27, 2006, at 4:49 PM, Martin Leopold wrote:
> Hi All.
> I sent some comments to TEP107 to -devel with regard to how to
> initialize hardware devices. I tried my best to look through the
> TEP for
> clues, but I came up empty - as far as I can tell it only says
> something
> about non hardware components.
>
> So I'm still confused on where to put code for initializing hardware
> devices in the boot sequence. Is this totally platform dependent or
> should there be some consensus?
I thought we talked this through one day in Berkeley.
The idea is that platform-specific initialization occurs in
PlatformInit. This includes things like clock calibration, IO pin
configuration, etc. SoftwareInit is for general components. Since
they can't start anything, generally the functionality there is
pretty minimal.
Phil
More information about the Tinyos-2.0wg
mailing list