]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
tmimsp family: flash is now working
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 4 Oct 2012 23:22:18 +0000 (17:22 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Thu, 4 Oct 2012 23:22:18 +0000 (17:22 -0600)
commit46696d41fef125e00b09b24a378f106d1347526f
tree3eda5123c53c975c0ce8fa700ed17d25013a6bf5
parent9426414d76592859fdde4e7d92fb15bf172b7834
tmimsp family: flash is now working

The AT25DF family, on power up or reset (not reset of the board, but the
AT25DF part itself) has by default write protection active for its
sectors.  This code change in MotePlatformC for both parts in the family
globally unprotects all sectors.  At this point, the AT25DF family are
functionally equivalent to the ST/Numonyx/whomever M25P family, so the
latter's driver works for the former.
tos/platforms/tmimsp/common/MotePlatformC.nc
tos/platforms/tmimsp/common/hardware.h
tos/platforms/tmimsp/tmirws/MotePlatformC.nc