dump pin states using bsd file