added debug code -- all working as expected, so suspect h/w problem/power issue.